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
Re: [Caml-list] Building O'Caml projects properly.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-10-01 (12:58)
From: Markus Mottl <markus@m...>
Subject: Re: [Caml-list] Building O'Caml projects properly.
On Mon, 01 Oct 2001, Jeremy Fincher wrote:
> When I do a simple "gmake", it compiles all the files, and the directory
> becomes filled with ".cmo" and ".cmx" files and so on.  After doing
> a "make libinstall" and answering 'y' to the question it asks about
> installation, the only things that remain in the directory are the
> .ml files and the Makefile itself.  Somehow, given that Makefile,
> it's removing all the files it installs.

I have never seen this happen and I really can't imagine how this could
work. Could you please send me your Makefile? Maybe you have accidently
added a dependency on the "clean"-target or similar.

> I added py_string to the LIBS line in that Makefile, but it complained about
> not being able to find "py_string.cma".

I had thought that "py_string" is a library (.cma-file). Maybe you have
only a .cmo-file there. You can either add "OCAMLLDFLAGS = py_string.cmo"
to your Makefile or make a real library out of "py_string". The last
alternative should definitely be preferred over the first one.

Markus Mottl

Markus Mottl                                   
Austrian Research Institute
for Artificial Intelligence        
Bug reports:  FAQ:
To unsubscribe, mail  Archives: