On 3 September 2014 03:14, Anil Madhavapeddy <a...@recoil.org> wrote: > On 3 Sep 2014, at 06:53, Kenneth Westerback <kwesterb...@gmail.com> wrote: >> >> Got OCaml and OCaml-camlp4 built and installed. Some confusion about >> 'pkg_add -u' not working for OCaml or opam so I deleted the packages >> and re-installed. Also installed OCaml-graphics since it was there so >> I assumed it was necessary even if I hadn't asked for it specifically. >> >> Did 'opam install <list of stuff>'. *Only* two did not work -- >> ocp-indent and async_graphics. Both complain that conduit is not >> available: >> >> $ opam install async_graphics >> >> The dependency ssl of package conduit.0.5.1 is not available for your >> compiler or your OS. >> 'opam install async_graphics' failed. >> $ cd - >> /usr/ports/packages/amd64/all >> $ opam install ocp-indent >> >> The dependency ssl of package conduit.0.5.1 is not available for your >> compiler or your OS. >> 'opam install ocp-indent' failed. > > Can you try "opam install ssl", and if that fails, > "opam install async_graphics --debug"?
"opam install ssl" followed by "opam install async_graphics" worked. And looking at 'opam list' on my other, as-yet-un-upgraded, box I see that ssl was present there. However, "opam install ocp-indent" failed. Albeit for apparently different reasons since it did not complain about conduit this time: ^[[31m[ERROR]^[[m Due to some errors while processing ocp-build.1.99.8-beta, the following actions will NOT proceed:^M - install ocp-indent.1.4.2^M ^M ^[[31m=====^[[m ^[[01mERROR^[[m ^[[01mwhile installing ocp-build.1.99.8-beta^[[m ^[[31m=====^[[m^M ^[[31m#^[[m ^[[31mopam-version^[[m 1.1.2^M ^[[31m#^[[m ^[[31mos^[[m openbsd^M ^[[31m#^[[m ^[[31mcommand^[[m gmake^M ^[[31m#^[[m ^[[31mpath^[[m /home/krw/.opam/system/build/ocp-build.1.99.8-beta^M ^[[31m#^[[m ^[[31mcompiler^[[m system (4.02.0)^M ^[[31m#^[[m ^[[31mexit-code^[[m 2^M ^[[31m#^[[m ^[[31menv-file^[[m /home/krw/.opam/system/build/ocp-build.1.99.8-beta/ocp-build-19693-ffb3fd.env^M ^[[31m#^[[m ^[[31mstdout-file^[[m /home/krw/.opam/system/build/ocp-build.1.99.8-beta/ocp-build-19693-ffb3fd.out^M ^[[31m#^[[m ^[[31mstderr-file^[[m /home/krw/.opam/system/build/ocp-build.1.99.8-beta/ocp-build-19693-ffb3fd.err^M ^[[31m### stdout ###^M ^[[m^[[31m# ^[[m...[truncated]^M ^[[31m# ^[[mConfiguration for the "graph" library:^M ^[[31m# ^[[m options for compiling .... -I/usr/X11R6/include^M ^[[31m# ^[[m options for linking ...... -L/usr/X11R6/lib -lX11^M ^[[31m# ^[[m^M ^[[31m# ^[[m** OCaml configuration completed successfully **^M ^[[31m# ^[[m^M ^[[31m# ^[[mocamlc -o ocp-build.run -custom -make-runtime win32_c.c primitives.ml unix.cma -cclib -lunix -I ocamlrun-4.02/byterun -cclib -lbyterun402^M ^[[31m# ^[[mMakefile:4: recipe for target 'ocp-build' failed^M ^[[31m# ^[[mgmake[1]: Leaving directory '/home/krw/.opam/system/build/ocp-build.1.99.8-beta/boot'^M ^[[31m# ^[[mMakefile:34: recipe for target 'boot/ocp-build' failed^M ^[[31m### stderr ###^M ^[[m^[[31m# ^[[mconfig.status: WARNING: '../src/ocp-build-bundle.ocp.in' seems to ignore the --datarootdir setting^M ^[[31m# ^[[mmake: don't know how to make w^M ^[[31m# ^[[mStop in /home/krw/.opam/system/build/ocp-build.1.99.8-beta/boot/ocamlrun-4.02/byterun^M ^[[31m# ^[[m/usr/bin/ld: cannot find -lbyterun402^M ^[[31m# ^[[mcollect2: ld returned 1 exit status^M ^[[31m# ^[[mFile "primitives.ml", line 1:^M ^[[31m# ^[[mError: Error while building custom runtime system^M ^[[31m# ^[[mgmake[1]: *** [ocp-build] Error 2^M ^[[31m# ^[[mgmake: *** [boot/ocp-build] Error 2^M ^M The full output from "opam install ocp-indent --debug" is at ~krw/ocpindent.debug on cvs. .... Ken > > I suspect this may be due to the internal package solver in 1.1.1, > but I'll have a port of OPAM 1.2.0 to put into the tree quite > shortly (with an improved solver). We could really use a port of > aspcud (an external solver that is picked up and used if present), > but it's a pain to port due to requiring a newer bison than we > have. > > -anil