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 OAA12061; Fri, 28 Feb 2003 14:27:23 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA12162 for ; Fri, 28 Feb 2003 14:27:22 +0100 (MET) Received: from mel-rto6.wanadoo.fr (smtp-out-6.wanadoo.fr [193.252.19.25]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h1SDRMH10748 for ; Fri, 28 Feb 2003 14:27:22 +0100 (MET) Received: from mel-rta7.wanadoo.fr (193.252.19.61) by mel-rto6.wanadoo.fr (6.7.015) id 3E0C343F02840498; Fri, 28 Feb 2003 14:27:14 +0100 Received: from iliana (81.51.50.38) by mel-rta7.wanadoo.fr (6.7.015) id 3E5335B10056C337; Fri, 28 Feb 2003 14:27:13 +0100 Received: from luther by iliana with local (Exim 3.36 #1 (Debian)) id 18okXg-00015H-00; Fri, 28 Feb 2003 14:27:12 +0100 Date: Fri, 28 Feb 2003 14:27:07 +0100 To: Jean-Christophe Filliatre , Jacques Garrigue , roberto@dicosmo.org, caml-list@inria.fr Subject: Re: [Caml-list] Alternative proposal: COAN Message-ID: <20030228132707.GA4132@iliana> References: <02103BF1-4835-11D7-B97A-000A95773ED2@rouaix.org> <15963.19322.759255.37091@gargle.gargle.HOWL> <20030228182016D.garrigue@kurims.kyoto-u.ac.jp> <15967.22026.112548.207645@lri.lri.fr> <20030228130807.GB16866@fichte.ai.univie.ac.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030228130807.GB16866@fichte.ai.univie.ac.at> User-Agent: Mutt/1.5.3i From: Sven Luther Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Fri, Feb 28, 2003 at 02:08:07PM +0100, Markus Mottl wrote: > On Fri, 28 Feb 2003, Jean-Christophe Filliatre wrote: > > As far as I'm concerned, I (try to) carefully package my libraries and > > applications so that they compile with "./configure && make" and > > install with "make install". (Libraries are installed in ocaml > > standard library place, which is determined automatically by the > > configure script; presence of a native code compiler is also detected > > automatically; etc.) > > This is definitely a reasonable way to do it: "./configure && make && > make install" is more or less the standard way of configuring, building > and installing software from source on Unix-systems, even if there are > plenty of developers who don't adhere to this quasi-standard. Yes, ... I know i am repeating myself, but please consider adding the following points also : o support the DESTDIR prefix to your install directory. distribution need to install into different directories than the ones the package will unpack into. o support separate compilation for bytecode and nativecode. I build bytecode versions of my packages on my i386 box alongside the native versions. The bytecode package is arch: all, and will be installeable on every arch, including slower arches like m68k, where building huge ocaml bytecode executables is a waste of time if it can be done quicker on my box. This are the two parts most people don't ever think about, and for which i need to patch the makefiles myself every time. I could double or triple the amount of stuff i package if this was easier handled. Friendly, Sven luther ------------------- 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