pkg-config errors
Kurt Wall
kwallinator
Thu Dec 15 08:42:47 PST 2005
On Monday 12 December 2005 09:08 am, Rick Sivernell wrote:
> ./configure guru's
>
> I have spent a week trying to build the latest xfce4.2.2 desktop. Most are
> ok but the plugins and terminal and panel have the below error in config.
> Running Suse Pro 9.2 with AMD64
>
>
> checking for SmcSaveYourselfDone in -lSM... yes
> checking for pkg-config... /usr/local/bin/pkg-config
> checking for pkg-config >= 0.9.0... 0.19
> checking for gtk+-2.0 >= 2.2.0... not found
> *** The required package gtk+-2.0 was not found on your system.
> *** Please install gtk+-2.0 (atleast version 2.2.0) or adjust
> *** the PKG_CONFIG_PATH environment variable if you
> *** installed the package in a nonstandard prefix so that
> *** pkg-config is able to find it.
> RSivernell:/opt/downloads/xfce4/xfce-4.2.3.2/src/libxfcegui4-4.2.3 #
[...]
> Is this the proper way to add:
> RSivernell:~ # pkg-config /usr/local/lib64/pkgconfig/gtk+-2.0.pc
>
> This one is the worst offender, other packages have other libs that can not
> be found.
You can do this a couple of ways. Add /usr/local/lib64/pkgconfig to
PKG_CONFIG_PATH in the environment before the ./configure invocation.
Thus:
$ PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig ./configure
If all of the packages configure can't find are in this directory,
you're probably done.
Kurt
--
The Arkansas legislature passed a law that states that the Arkansas
River can rise no higher than to the Main Street bridge in Little
Rock.
More information about the Linux-users
mailing list