caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Joshua D. Guttman" <guttman@WPI.EDU>
To: caml-list@inria.fr
Cc: guttman@WPI.EDU (Joshua D. Guttman)
Subject: [Caml-list] build query:  ocamlbuild.cmx
Date: Fri, 08 Feb 2013 16:54:51 -0500	[thread overview]
Message-ID: <87liaycvys.fsf@wpi.edu> (raw)

I recently installed ocaml version 4.00.1, after which I
wanted to install cryptokit.  However, the cryptokit install
fails with 

+ /usr/local/bin/ocamlopt -I /usr/local/lib/ocaml/ocamlbuild unix.cmxa /usr/local/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /usr/local/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
File "myocamlbuild.ml", line 1:
Error: Cannot find file /usr/local/lib/ocaml/ocamlbuild/ocamlbuild.cmx

And indeed, /usr/local/lib/ocaml/ocamlbuild/ contains

Directory /usr/local/lib/ocaml/ocamlbuild/
ocamlbuild.cmo		 ocamlbuildlib.a	ocamlbuild_unix_plugin.cmi
ocamlbuild_executor.cmi  ocamlbuildlib.cma	ocamlbuild_unix_plugin.cmo
ocamlbuild_executor.cmo  ocamlbuildlib.cmxa	ocamlbuild_unix_plugin.cmx
ocamlbuild_executor.cmx  ocamlbuild_pack.cmi	ocamlbuild_unix_plugin.o
ocamlbuild_executor.o	 ocamlbuild_plugin.cmi

but no ocamlbuild.cmx.  During the ocaml installation, there
was a comment about not installing ocamlbuild.cmx and
ocamlbuild.o, and the file _build/not_installed contains:  

ocamlbuild.native
ocamlbuild.cmx
ocamlbuild.o

I'm sure that there must be a simple way to force these to
be generated and installed, but I don't see it.

Thanks so much -- 

        Joshua 
-- 
	Joshua D. Guttman
	WPI, Computer Science 

                 reply	other threads:[~2013-02-08 21:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87liaycvys.fsf@wpi.edu \
    --to=guttman@wpi.edu \
    --cc=caml-list@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;
as well as URLs for NNTP newsgroup(s).