LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   GTK problem installing Alltray (https://www.linuxquestions.org/questions/slackware-14/gtk-problem-installing-alltray-344012/)

dive 07-17-2005 12:41 PM

GTK problem installing Alltray
 
./configure exits with message:

No package 'gtk+-2.0' found

configure: error: Library requirements (gtk+-2.0 >= 2.2.0 gdk-2.0 gdk-pixbuf-xlib-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

So i check the slack cd (10.1) and reinstall GTK2+ but it installs in /etc/gtk-2.0 not /etc/gtk+-2.0 if this is what the configure is looking for (?)

Tried cp /etc/gtk-2.0 /etc/gtk+-2.0 but still no go
Tried ./configure PKG_CONFIG_PATH = /etc/gtk-2.0 (if its whats meant above?)
Checked slack website current packages and installed latest but same problem

keefaz 07-17-2005 12:44 PM

What is your output with :
Code:

pkg-config --modversion gtk+-2.0
pkg-config --modversion gdk-2.0
pkg-config --modversion gdk-pixbuf-xlib-2.0


dive 07-17-2005 12:55 PM

bash-3.00$ pkg-config --modversion gtk+-2.0
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found


Package gdk-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gdk-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gdk-2.0' found


Package gdk-pixbuf-xlib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gdk-pixbuf-xlib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gdk-pixbuf-xlib-2.0' found

dive 07-17-2005 12:55 PM

or should i do that as root?

* same results

keefaz 07-17-2005 12:56 PM

What is the output of :
ls -l /usr/lib/pkgconfig/gtk+-2.0.pc

Maybe try :
export PKG_CONFIG_PATH=/usr/lib/pkgconfig

No need to be root

dive 07-17-2005 01:00 PM

1)
-rw-r--r-- 1 root root 330 2005-06-21 03:28 /usr/lib/pkgconfig/gtk+-2.0.pc

2) after export i now get:

root@TheVoid:~# pkg-config --modversion gdk-pixbuf-xlib-2.0
2.6.8
root@TheVoid:~# pkg-config --modversion gdk-2.0
2.6.8
root@TheVoid:~# pkg-config --modversion gtk+-2.0
2.6.8

will test but looks like its fixed thx for help

I will get the hang of this eventually :)

egag 07-17-2005 01:05 PM

if you do a lot of compiling, you might put/add the line :

---------
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig
---------

in your ~/.profile file.

egag


All times are GMT -5. The time now is 02:14 PM.