English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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                                             markus@oefai.at
Austrian Research Institute
for Artificial Intelligence                  http://www.oefai.at/~markus
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr