Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Problems compiling chameleon.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] Problems compiling chameleon.
Hi,

On Tue, Oct 08, 2002 at 08:32:32AM +0000, Thaddeus L. Olczyk wrote:

> So I change this to /cygdrive/e/ObjectiveCaml/lib. Now make depends
> fails to find "pa_extend.cmo" in the command:
>  ocamldep -pp camlp4r *.ml* > .depend

Perhaps a problem of installation. The file pa_extend.cmo should be in
the library directory of ocaml, sub-directory camlp4. Is it there? If
yes, try the command "camlp4 -where": it should display how camlp4
sees its library directory.

But it may be also a problem with Cygwin, because it is often
difficult to know if you have to use /cygdrive/e and right slashes or
E:\ and backslashes or a mix of right and back slashes or double
backslashes because of OCaml strings, and so on.

A way to change the Camlp4 library directory, without having to
recompile it is to define the environment variable CAMLP4LIB. Perhaps
redefining it with a "good value" (try several), it works better?

-- 
Daniel de RAUGLAUDRE
daniel.de_rauglaudre@inria.fr
http://cristal.inria.fr/~ddr/
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners