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
[Caml-list] camlimages vs. labltk
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-03-26 (18:49)
From: Shivkumar Chandrasekaran <shiv@e...>
Subject: Re: [Caml-list] camlimages vs. labltk
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,


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

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