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 JAA01577; Wed, 26 Mar 2003 09:33:49 +0100 (MET) 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 JAA01413 for ; Wed, 26 Mar 2003 09:33:48 +0100 (MET) Received: from mwinf0502.wanadoo.fr (smtp2.wanadoo.fr [193.252.22.26]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h2Q8Xlf26125 for ; Wed, 26 Mar 2003 09:33:47 +0100 (MET) Received: from iliana (AStrasbourg-206-1-20-128.abo.wanadoo.fr [81.49.169.128]) by mwinf0502.wanadoo.fr (Postfix) with ESMTP id 1B03EE800458; Wed, 26 Mar 2003 09:33:47 +0100 (CET) Received: from luther by iliana with local (Exim 3.36 #1 (Debian)) id 18y6Ly-0000mL-00; Wed, 26 Mar 2003 09:33:46 +0100 Date: Wed, 26 Mar 2003 09:33:45 +0100 To: Alessandro Baretta Cc: Shivkumar Chandrasekaran , Ocaml Subject: Re: [Caml-list] camlimages vs. labltk Message-ID: <20030326083345.GA2985@iliana> References: <3E81640C.40009@baretta.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E81640C.40009@baretta.com> User-Agent: Mutt/1.5.4i From: Sven Luther X-Spam: no; 0.00; sven:01 luther:01 dpt-info:01 u-strasbg:01 caml-list:01 camlimages:01 labltk:01 alessandro:01 baretta:01 shivkumar:01 co-exist:01 cluttering:01 findlib:01 dynlink:01 clashes:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Wed, Mar 26, 2003 at 09:25:48AM +0100, Alessandro Baretta wrote: > > Shivkumar Chandrasekaran wrote: > > I observed that both camlimages and labltk have a module > named "Image". > > Any idea how I can get both to co-exist? Thanks. > > > This is a problem that comes up every so often: module > namespace cluttering. Some time ago I had pointed a name > clash between the Meta module in findlib and in the dynlink > library. Namespace clashes are bound to come up now and then > until the caml team introduces a namespace construct in the > language. There is already the -pack option, and the right thing to solve this problem would be to build all libraries to make usage of it (if possible). So you would have a CamlImage.Image module and a Labltk.Image module, which work pretty well. Now, library writters just need to modify their build system to take advantage of it, starting by the INRIA released libraries, especially the ones provided by the ocaml tarball directly like labltk. 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