I don't have experience with NetBSD, but you might try using godi to
install ocaml and libraries. It has cryptokit in it, and usually things
install without problems with godi.

http://godi.camlcity.org/godi/index.html

On Mon, Apr 16, 2012 at 7:27 PM, Richard Neswold <[email protected]>wrote:

> Hello,
>
> I'm trying to build cryptokit on my system, but I'm running into a problem.
>
> I have OCaml 3.12.1 installed from PKGSRC on NetBSD 5.1.2. I was able to
> install several other OCaml libraries successfully (ssl, calendar, zlib)
> but cryptokit won't. It configures itself correctly and builds the library,
> but then it appears to want to build a new toplevel and fails:
>
> ocamlfind ocamlc -g -custom -I src -linkpkg -package unix -package num
> src/cryptokit.cma test/test.cmo -o test/test.byte
> ld: cannot find -lcamlrun -lcurses
> File "_none_", line 1, characters 0-1:
> Error: Error while building custom runtime system
> Command exited with code 2.
>
>
> I haven't installed the OCaml curses library and I don't know why the
> cryptokit would need it.
>
> I think this is a misconfiguration of OCaml on NetBSD and somehow the two
> missing libraries are being specified when they shouldn't. Unfortunately,
> I'm not familiar with setting up OCaml on a system so I was trusting the
> package maintainer. Is there something I can look at to see why these
> libraries are being requested?
>
> Thanks for any help you can provide!
>
> --
> Rich
>
> --
> You received this message because you are subscribed to the Google Groups
> "ocaml-developer" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/ocaml-developer?hl=en
> For other OCaml forums, see http://caml.inria.fr/resources/forums.en.html

-- 
You received this message because you are subscribed to the Google Groups 
"ocaml-developer" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ocaml-developer?hl=en
For other OCaml forums, see http://caml.inria.fr/resources/forums.en.html

Reply via email to