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 PAA26078; Tue, 30 Apr 2002 15:24:23 +0200 (MET DST) 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 PAA26067 for ; Tue, 30 Apr 2002 15:24:22 +0200 (MET DST) Received: from mg.ihep.su (mg.ihep.su [194.190.161.38]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g3UDOK509387; Tue, 30 Apr 2002 15:24:21 +0200 (MET DST) Received: by mg.ihep.su (Postfix, from userid 65436) id 1C4B0B5350; Tue, 30 Apr 2002 17:24:16 +0400 (MSD) Received: from ontil.ihep.su (ontil.ihep.su [194.190.161.63]) by mg.ihep.su (Postfix) with ESMTP id 26269B5067; Tue, 30 Apr 2002 17:24:14 +0400 (MSD) Received: from localhost (vsl@localhost) by ontil.ihep.su (8.11.6/8.11.6) with ESMTP id g3UDScf28246; Tue, 30 Apr 2002 17:28:38 +0400 Date: Tue, 30 Apr 2002 17:28:38 +0400 (MSD) From: Vitaly Lugovsky To: Xavier Leroy Cc: Subject: [Caml-list] OCaml packaging problems In-Reply-To: <20020430111657.A18782@pauillac.inria.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi! I'm having a big troubles packaging OCaml and 3rd party libraries (like lablGL, lablgtk) in RPM. All the evil is in the ld.conf file - foreign libraries should add lines in it at the installation. The much better approach to the multi-package configurations is introduced, e.g. in xinetd, new crontabs, and so on - all external packages writes their configuration files or even just a symlinks to the special directory. So, it'll be better to have a special directory like ld.conf.dir/ with symlinks to the actual dynamic library paths, which will be updated safely when new packages are installed/removed. But, we've no directory access functions in the Pervasives library, and Unix library is not accessible from the runtime - we can't rewrite dll.ml to use this approach. May be, it'll be nice to provide some basic directory access functionality from Pervasives? ------------------- 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