caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Daniel Molina <lalluviamola@gmail.com>
To: caml-list@yquem.inria.fr
Subject: Re: Re: automake and ocaml
Date: Tue, 22 Sep 2009 17:45:08 +0200	[thread overview]
Message-ID: <1253634308.5944.17.camel@ByeLimpus> (raw)

>Also OCaml 3.10.0 is a quite old version that is maybe still containing
>some bugs with ocamlbuild (it was the first version of ocamlbuild). Can
>you try with a more recent version (3.10.2 or 3.11.1).

Ok, I have installed the 3.11.1

>You can get the tree with 
>darcs get http://darcs.ocamlcore.org/repos/ocamlify
>darcs get http://darcs.ocamlcore.org/repos/ocaml-autobuild

Nice!


>Can you check you have build and install ocamlify 
>http://darcs.ocamlcore.org/cgi-bin/darcsweb.cgi?r=ocamlify;a=summary
>(I will try to get rid of this small dependency in the final release)

I can build it

$ make
ocamlbuild -classic-display ocamlify.otarget
/usr/local/bin/ocamldep -modules src/ocamlify.ml >
src/ocamlify.ml.depends
/usr/local/bin/ocamlc -c -I src -o src/ocamlify.cmo src/ocamlify.ml
/usr/local/bin/ocamlopt -c -I src -o src/ocamlify.cmx src/ocamlify.ml
/usr/local/bin/ocamlc src/ocamlify.cmo -o src/ocamlify.byte
/usr/local/bin/ocamlc -a src/ocamlify.cmo -o src/ocamlify.cma
/usr/local/bin/ocamlopt -a src/ocamlify.cmx -o src/ocamlify.cmxa
$

but I do not know how to install it (if 'make' command has not done it
automatically). Maybe must I copy _build/ to some place? I have been
looking for documentation but I did not find it.

And I tried to build ocaml-autobuild again with ocaml-3.11.1, but I
obtain a different error:

$ make
ocamlbuild -classic-display ocaml-autobuild.otarget
/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
+ /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, characters 0-1:
Error: Cannot find file /usr/local/lib/ocaml/ocamlbuild/ocamlbuild.cmx
Command exited with code 2.
make: *** [all] Error 10


This is the content of my /usr/local/lib/ocaml/ocamlbuild

ocamlbuild.cmo
ocamlbuild_executor.cmi
ocamlbuild_executor.cmo
ocamlbuild_executor.cmx
ocamlbuild_executor.o
ocamlbuildlib.a
ocamlbuildlib.cma
ocamlbuildlib.cmxa
ocamlbuild_pack.cmi
ocamlbuild_plugin.cmi
ocamlbuild_unix_plugin.cmi
ocamlbuild_unix_plugin.cmo
ocamlbuild_unix_plugin.cmx
ocamlbuild_unix_plugin.o


Thanks for the help.



             reply	other threads:[~2009-09-22 15:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-22 15:45 Daniel Molina [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-09-22  1:25 Daniel Molina

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=1253634308.5944.17.camel@ByeLimpus \
    --to=lalluviamola@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;
as well as URLs for NNTP newsgroup(s).