From: "Andrew I. Schein" <andrew@andrewschein.com>
To: caml-list@yquem.inria.fr
Subject: mkcamlp4 question
Date: Tue, 1 Apr 2008 22:23:15 -0400 [thread overview]
Message-ID: <c6377c1e0804011923k160a275ckcdf5bfcea0307f78@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1038 bytes --]
Does anyone have a working example of mkcamlp4 in use for ocaml 3.10.2? I
am having the following problem in attempting to turn 3.10 pa_bounds (
http://code.google.com/p/paboundsfor310/) into a standalone preprocessor.
ais@ubuntu:pa_bounds$ make exe
mkcamlp4 pa_bounds.cmo -o myp4
/opt/godi/lib/ocaml/std-lib/extract_crc -I
/opt/godi/lib/ocaml/std-lib/camlp4 -I . > /tmp/crc_4f3f26.ml
ocamlc -I /opt/godi/lib/ocaml/std-lib/camlp4 Camlp4.cma /tmp/crc_4f3f26.ml
-I . pa_bounds.cmo -o myp4 Camlp4Bin.cmo -linkall
Cannot find file Camlp4.cma
rm -f /tmp/crc_4f3f26.ml /tmp/crc_4f3f26.cmi /tmp/crc_4f3f26.cmo
Fatal error: exception Failure("Exit: 2")
make: *** [exe] Error 2
A search with "find" shows there is no Camlp4.cma in any subdirectory of the
ocaml installation, though there is a Camlp4.cmi. Note that I did not put
the Camlp4.cma on the command line; this decision is made by mkcamlp4.
This error occurs both with GODI-installed OCaml in addition to standalone.
Thanks,
Andy
--
Andrew I. Schein
web: www.andrewschein.com
[-- Attachment #2: Type: text/html, Size: 1265 bytes --]
next reply other threads:[~2008-04-02 2:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-02 2:23 Andrew I. Schein [this message]
2008-04-02 7:08 ` [Caml-list] " Richard Jones
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=c6377c1e0804011923k160a275ckcdf5bfcea0307f78@mail.gmail.com \
--to=andrew@andrewschein.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