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 GAA26682; Thu, 27 May 2004 06:41:28 +0200 (MET DST) 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 GAA26717 for ; Thu, 27 May 2004 06:41:27 +0200 (MET DST) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i4R4fOEV018307 for ; Thu, 27 May 2004 06:41:25 +0200 Received: from [192.168.1.200] (ppp114-11.lns1.syd3.internode.on.net [150.101.114.11]) by smtp3.adl2.internode.on.net (8.12.9/8.12.9) with ESMTP id i4R4f0k2026663; Thu, 27 May 2004 14:11:01 +0930 (CST) Subject: Re: [Caml-list] lablgtk-2.2.0 --with-gl From: skaller Reply-To: skaller@users.sourceforge.net To: Olivier Andrieu Cc: fmonnier@linux-nantes.fr.eu.org, caml-list In-Reply-To: <20040526.180127.45808708.andrieu@ijm.jussieu.fr> References: <200405260121.45337.blue_prawn@linux-nantes.fr.eu.org> <1085585963.32106.33.camel@pelican.wigram> <20040526.180127.45808708.andrieu@ijm.jussieu.fr> Content-Type: text/plain Message-Id: <1085632859.32106.101.camel@pelican.wigram> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 27 May 2004 14:40:59 +1000 Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce with ID 40B57174.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 lablgtk-:01 sourceforge:01 2004:99 andrieu:01 2004:99 monnier:01 2.0.:01 gtkglarea:01 gtkglarea:01 usr:01 usr:01 caml-list:01 interfere:01 'findlib':01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Thu, 2004-05-27 at 02:01, Olivier Andrieu wrote: > skaller [27 May 2004]: > > On Wed, 2004-05-26 at 22:53, Florent Monnier wrote: > > > > > Perhaps you should add the directory containing `gtkgl-2.0.pc' > > > to the PKG_CONFIG_PATH environment variable > > Most likely, only an old version (pre 2.0) of gtkglarea is > installed. Florent, make sure you have a recent, correctly installed > version of gtkglarea. > > > PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig > > > > By default it searches $0/../lib/pkgconfig, > > so if you install it in /usr/local it doesn't bother > > to search /usr/lib/pkgconfig .. OTOH if you have > > that environment variable set the /usr/bin version > > will search /usr/local which it should never do. > > > > This is one of a huge list of serious faults in > > pkg-config. I'd say 'design faults' but it doesn't > > look like anyone actually bothered to do any design. > > This nonsense is pretty much off-topic for caml-list. I DIRECTLY answered a question about building Ocaml by suggesting a value for PKG_CONFIG_PATH which may solve Florent's problem. The value I gave is the one on my system. I then gave some explanation of how pkg-config works to explain why that value, and how to deal with it if it doesn't solve the problem. It may even *interfere* with correct building. Finally I mentioned that this program is a heap of garbage which I think is quite relavent to the currently hot topic of package/build management for Ocaml software which needs to know about C libraries too: hopefully we can learn from badly constructed programs how to do it better. 'findlib' for example does a related job for Ocaml, and GODI is also managing package related meta-information. So in my opinion, everything I said was in fact quite relevant to this list. -- John Skaller, mailto:skaller@users.sf.net voice: 061-2-9660-0850, snail: PO BOX 401 Glebe NSW 2037 Australia Checkout the Felix programming language http://felix.sf.net ------------------- 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