Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2002-10-08 (13:50)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] Problems compiling chameleon.

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?

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: