Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is LWT misconfigured in OPAM 1.2.x #177

Closed
rneswold opened this issue Jul 29, 2015 · 7 comments
Closed

Is LWT misconfigured in OPAM 1.2.x #177

rneswold opened this issue Jul 29, 2015 · 7 comments

Comments

@rneswold
Copy link
Contributor

I have OPAM 1.2.0 installed. When I try to install lwt, I get:

$ opam install lwt
Your request can't be satisfied:
  - lwt.2.4.5 is in conflict with ssl.0.5.0

No solution found, exiting

opam info lwt shows version 2.5.0 is available (along with many other versions) but when I try to install it, I get:

$ opam install lwt.2.5.0
Your request can't be satisfied:
  - No package matches lwt.

No solution found, exiting

I get the same error if I try to install version 2.4.8. This seems like the OPAM config for lwt may have a bug. Can anyone else install the latest lwt using OPAM 1.2.x?

@rneswold rneswold changed the title What version of OPAM is the LWT project supporting? Is LWT misconfigured in OPAM 1.2.x Jul 29, 2015
@vbmithr
Copy link
Member

vbmithr commented Jul 29, 2015

On 29/07/2015 17:15, Rich Neswold wrote:

I get the same error if I try to install version 2.4.8. This seems like
the OPAM config for |lwt| may have a bug. Can anyone else install the
latest |lwt| using OPAM 1.2.x?

Be sure to have the cmdline tool "aspcud" installed on your machine.
OPAM does not work without it and its internal solver will return absurd
solution like this.

@rneswold
Copy link
Contributor Author

Be sure to have the cmdline tool "aspcud" installed on your machine.

I didn't dig down in the OPAM web pages enough to realize I needed to supply an external solver. Thanks for the pointer; I'll give it a try.

@amirmc
Copy link

amirmc commented Jul 29, 2015

Can you share any information on what system you're using? I ask because for Mac users, installing opam via homebrew will also install aspcud.

@rneswold
Copy link
Contributor Author

I'm using NetBSD 6.1.4, which uses PkgSrc. There isn't a package for aspcud available, so I'd have to build it myself (along with cmake, clasp, gringo, and a few others.) Instead, I'm using the CUDF Solver Farm, which works great!

@gasche
Copy link
Contributor

gasche commented Jul 29, 2015

I recently pestered OPAM upstream (in the person of Louis Gesbert) into adding some more documentation on what external solvers are for and how to use them: Before you get started: "external solvers". Any feedback on what additional things it should say, or another place it should be to be more helpful, would be appreciated.

@rneswold
Copy link
Contributor Author

I recently pestered OPAM upstream (in the person of Louis Gesbert) into adding some more documentation on what external solvers are for and how to use them: Before you get started: "external solvers".

That helps, thanks. The Specifying Solver Preferences page also helped me find the Solver Farm solution, which saved me the effort of building/installing/maintaining a solver on my system.

@hcarty
Copy link
Contributor

hcarty commented Jul 29, 2015

@gasche It would be nice to have links to the upstream solver sites and either instructions on how to tell opam to use a particular external solver (command line --solver vs $OPAMEXTERNALSOLVER in the environment). A brief note on why aspcud is recommended over the other would be helpful too as the other two options look much simpler to build from source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants