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 TAA21203; Wed, 26 Mar 2003 19:49:54 +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 TAA18746 for ; Wed, 26 Mar 2003 19:49:52 +0100 (MET) Received: from xanadu.ece.ucsb.edu (xanadu.ece.ucsb.edu [128.111.56.51]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h2QInpX25535 for ; Wed, 26 Mar 2003 19:49:51 +0100 (MET) Received: from ece.ucsb.edu (gimli.ece.ucsb.edu [128.111.56.252]) by xanadu.ece.ucsb.edu (8.11.6+Sun/8.11.6) with ESMTP id h2QInnS09416 for ; Wed, 26 Mar 2003 10:49:50 -0800 (PST) Date: Wed, 26 Mar 2003 10:49:13 -0800 Subject: Re: [Caml-list] camlimages vs. labltk Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) From: Shivkumar Chandrasekaran To: caml-list@inria.fr Content-Transfer-Encoding: 7bit In-Reply-To: <20030326083345.GA2985@iliana> Message-Id: X-Mailer: Apple Mail (2.551) X-Spam: no; 0.00; shivkumar:01 shiv:01 caml-list:01 camlimages:01 labltk:01 work-around:01 usr:01 ocamlc:01 -pack:01 --shiv--:01 sven:01 luther:01 alessandro:01 baretta:01 co-exist:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Is there a simple work-around for now that I could do. Something like: cd /usr/local/lib/ocaml/camlimages ocamlc -pack camlimages.cmo *.cmo ???? I am guessing this will not cut it. Thanks, --shiv-- On Wednesday, March 26, 2003, at 12:33 AM, Sven Luther wrote: > 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 > --shiv-- ------------------- 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