From: Martin DeMello <martindemello@gmail.com>
To: OCaml List <caml-list@yquem.inria.fr>
Subject: [Caml-list] include path problem: -I +site-lib/lib not working
Date: Tue, 10 Apr 2012 20:52:19 -0700 [thread overview]
Message-ID: <CAFrFfuE3OM8wep8vfjSXTBeJzuJaV=sx5a57C3RE-bZBePtnwg@mail.gmail.com> (raw)
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
next reply other threads:[~2012-04-11 3:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-11 3:52 Martin DeMello [this message]
2012-04-11 7:41 ` Adrien
2012-04-16 6:04 ` Martin DeMello
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAFrFfuE3OM8wep8vfjSXTBeJzuJaV=sx5a57C3RE-bZBePtnwg@mail.gmail.com' \
--to=martindemello@gmail.com \
--cc=caml-list@yquem.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox