Re: install problem on macosx 10.4



On Tue, May 09, 2006 at 10:19:31AM -0600, Mike Caveman Lehmann wrote:
> I'm doing a from-source installation on Mac OS X 10.4, and am in a bit
> of a pickle.  Following the install guide, I first installed
> atk-1.10.3, cairo-1.0.2, pango-1.10.4, and glib-2.8.6, among other
> things.  Most of these appear to have installed in /usr/local/lib.
> 
> When I ran configure in gtk, I got this error message:
> 
> <snip>
> checking for pkg-config... /sw/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for BASE_DEPENDENCIES... Requested 'glib-2.0 >= 2.8.5' but
> version of GLib is 2.6.6
> configure: error: Package requirements (glib-2.0 >= 2.8.5    atk >=
> 1.0.1    pango >= 1.9.0    cairo >= 0.9.2) were not met.
> </snip>

You have another installation of GLib there, particularly
version 2.6.6, which is found first.

So find it -- it should not be hard as pkg-config can do
that for you:

    pkg-config --variable=prefix glib-2.0

will print its installation prefix -- and get rid of it.

I do not know how the other GLib got there, you may need to
repeat this process with other libraries.  Generally, do not
install more than version of a library simultaneously unless
you need it and know what you are doing.

> I thought this odd, so the first thing I did was to go through teh
> configure script, looking for search path entries that included
> /usr/lib but not /usr/local/lib, and added the latter.  No dice.
> 
> I then looked in /usr/local/lib, and saw that while the tarball was
> labelled 2.8.6, the lib was labelled 2.0.0.8.6, so I made a symbolic
> link of that to libglib.2.8.6.dylib.  This also failed to make all of
> my dreams come tue.

But of course undo this first...

Yeti


--
Anonyms eat their boogers.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]