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 NAA24746; Mon, 4 Mar 2002 13:21:18 +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 NAA24742 for ; Mon, 4 Mar 2002 13:21:17 +0100 (MET) Received: from favie.faith.gr.jp (favie.faith.gr.jp [61.127.175.250]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g24CLFv22017 for ; Mon, 4 Mar 2002 13:21:16 +0100 (MET) Received: from localhost (dhcp7.faith.gr.jp [192.168.1.17]) by favie.faith.gr.jp (8.9.3/8.9.3) with ESMTP id VAA15698; Mon, 4 Mar 2002 21:20:50 +0900 To: mattias.waldau@abc.se Cc: caml-list@inria.fr Subject: Re: [Caml-list] The DLL-hell of O'Caml In-Reply-To: <014901c1c1bf$ebb29c30$0700a8c0@gateway> References: <0D00592F-2D72-11D6-BA3A-000502DB38F5@wetware.com> <014901c1c1bf$ebb29c30$0700a8c0@gateway> X-Mailer: Mew version 1.94.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20020304212038O.garrigue@kurims.kyoto-u.ac.jp> Date: Mon, 04 Mar 2002 21:20:38 +0900 From: Jacques Garrigue X-Dispatcher: imput version 20000228(IM140) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, > On my linux-machine I use the CDK with ocaml-3.03ALPHA. Then you should upgrade. As shown by its name, this is an alpha release, whose compatibility with future releases is not guaranteed. If I remember correctly, it names DLLs differently from 3.04, and you should scrape it away before installing 3.04, lest you get into lots of trouble. > This is the installation history: > 1. Needs Ocaml 3.03 -> updated CDK using CVS (there are no tarballs > but I have a broadband-connection). > 2. Ocamlnet missing -> downloaded ocamlnet-0.92 > 3. Failed to install ocamlnet, since the PCRE in the CDK seems to > be to old. > 4. Installed a new PCRE. > 5. Tried to install ocamlnet again, however failed with > "unbound type constructor Mimestring.s_param" > > Probably something else is too old...I got bored... > ...never got back to try to install WDialog.... I sympathize... > I know 3 solutions to the problem: > 1. CDK > 2. Gerd invented findlib to solve the above problem. > 3. Adding good packages to the standard distribution, > so that mostly packages doesn't depend on other > packages, but on packages in the standard > distribution. (But very few if any new packages > are added to the distribution.) Personally, I think that the combination of (1) and (2) could help a lot. Make the powerful findlib a standard. Then it would probably end up one day in the standard distribution... I would add also the role of the O'Caml link database, which is particularly nice as authors can update themselve their information. Adding packages to the standard distribution could easily make it huge. It is already not so small. Note also the tendancy to have n libraries for the same goal, which just reflects how people are interested just as much in how it is done as what is done. (I know, I should start by using findlib for my libraries. But like everybody else, I'm lazy...) It will still be difficult to get things as smooth as in Perl: strong typing is good at detecting problem early, so early that it won't let you compile some code because of a single function you don't need anyway. Here is a more theoretical problem: how to determine the cause of a compilation error, whether this is some change in the language, or in a library, and which library. Cheers, Jacques Garrigue ------------------- 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