Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* [Caml-list] include path problem: -I +site-lib/lib not working
@ 2012-04-11  3:52 Martin DeMello
  2012-04-11  7:41 ` Adrien
  0 siblings, 1 reply; 3+ messages in thread
From: Martin DeMello @ 2012-04-11  3:52 UTC (permalink / raw)
  To: OCaml List

I'm trying to get Opa compiled, and following the patch here:
http://lists.owasp.org/pipermail/opa/2012-March/000955.html

However, it doesn't appear to work unless I include the complete path
to cryptolib; +site-lib/cryptolib fails.

# this dies
$ /home/martin/opt/godi/bin/ocamlopt.opt -I +qmltop -I ../libtools -I
../libsecurity -I ../libqmlcompil -I ../libnet -I ../libbsl -I
../libbase -I ../database -I +cryptokit -I ../appruntime -I
+site-lib/cryptokit  -I /lib/opa/static  -c cryptoMLRuntime.ml
File "plugins/crypto/bslCrypto.ml", line 27, characters 2-28:
Error: Unbound module Cryptokit

# this works
$ /home/martin/opt/godi/bin/ocamlopt.opt -I +qmltop -I ../libtools -I
../libsecurity -I ../libqmlcompil -I ../libnet -I ../libbsl -I
../libbase -I ../database -I +cryptokit -I ../appruntime -I
/home/martin/opt/godi/lib/ocaml/site-lib/cryptokit  -I /lib/opa/static
 -c cryptoMLRuntime.ml

Is something wrong with my installation? It's a pretty standard godi install.

martin

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-16  6:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-11  3:52 [Caml-list] include path problem: -I +site-lib/lib not working Martin DeMello
2012-04-11  7:41 ` Adrien
2012-04-16  6:04   ` Martin DeMello

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox