From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA31250; Mon, 1 Oct 2001 14:58:04 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA31253 for ; Mon, 1 Oct 2001 14:58:03 +0200 (MET DST) Received: from chopin.ai.univie.ac.at (chopin.ai.univie.ac.at [131.130.174.170]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f91Cw2r19410 for ; Mon, 1 Oct 2001 14:58:02 +0200 (MET DST) Received: (from markus@localhost) by chopin.ai.univie.ac.at (8.9.3/8.9.3/Debian 8.9.3-21) id OAA15013; Mon, 1 Oct 2001 14:57:54 +0200 Date: Mon, 1 Oct 2001 14:57:54 +0200 From: Markus Mottl To: Jeremy Fincher Cc: caml-list@pauillac.inria.fr Subject: Re: [Caml-list] Building O'Caml projects properly. Message-ID: <20011001145753.A14832@chopin.ai.univie.ac.at> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from tweedgeezer@hotmail.com on Mon, Oct 01, 2001 at 07:46:15 -0400 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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. Regards, 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