pkg-config errors

Rick Sivernell res005ru
Mon Dec 12 09:12:37 PST 2005


./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 # 


I have the following:
RSivernell:~ # pkg-config /usr/local/lib64/pkgconfig/gtk+-2.0.pc --print-errors
RSivernell:~ # pkg-config /usr/local/lib/pkgconfig/gtk+-2.0.pc --print-errors
RSivernell:~ # 

RSivernell:~ # more /usr/local/lib64/pkgconfig/gtk+-2.0.pc
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
target=x11

gtk_binary_version=2.4.0
gtk_host=x86_64-unknown-linux-gnu

Name: GTK+
Description: GIMP Tool Kit (${target} target)
Version: 2.8.8
Requires: gdk-${target}-2.0 atk cairo
Libs: -L${libdir} -lgtk-${target}-2.0
Cflags: -I${includedir}/gtk-2.0
RSivernell:~ # 

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.

any help would be appreciated.
-- 
Rick Sivernell
Dallas, Texas  75287
972 306-2296
res005ru at verizon.net
Registered Linux User



More information about the Linux-users mailing list