Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] lablgtk-2.2.0 --with-gl
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-05-27 (04:41)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] lablgtk-2.2.0 --with-gl
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

So in my opinion, everything I said was in fact
quite relevant to this list.

John Skaller,
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: