Re: Failed dependencies on Gnome 2.0.1



On Mon, Sep 09, 2002 at 04:12:24AM -0500, Steven P.Ulrick wrote:
> Hello, everyone :)
> I am attempting to install Gnome 2.0.1 from the source code and I am getting
> this error when I "./configure" gtk+-2.0.6:
> 
> <snip>
> checking for pkg-config... /usr/bin/pkg-config
> checking for glib-2.0 >= 2.0.6 atk >= 1.0.1 pango >= 1.0.1... Requested
> 'glib-2.0 >= 2.0.6' but version of GLib is 2.0.1
> 
> configure: error: Library requirements (glib-2.0 >= 2.0.6 atk >= 1.0.1 pango >=
> 1.0.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if
> your libraries are in a nonstandard prefix so pkg-config can find them.
> <snip>
> 
> I'm sure you've heard this story before :), but "glib-2.0.6" was the first
> package I configured, made and installed.  When I attempted to do the next
> package, "gtk+-2.0.6", I got the above error message.  I then configured, made
> and installed "atk-1.0.3" and "pango-1.0.4", and reattempted configuring
> "gtk+-2.0.6", with the same results.  The problem is, all of the packages
> necessary have just been installed on my system.  Oh yeah, and they were all
> installed with the default path of "/usr/local"

Sounds like pkg-config is not also installed in /usr/local/ and so it is
looking elsewhere for the .pc files. Try exporting

	PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

and then reconfiguring gtk+.

Cheers,
Malcolm



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