LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-17-2005, 12:41 PM   #1
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
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
 
Old 07-17-2005, 12:44 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
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
 
Old 07-17-2005, 12:55 PM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
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
 
Old 07-17-2005, 12:55 PM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
or should i do that as root?

* same results

Last edited by dive; 07-17-2005 at 12:56 PM.
 
Old 07-17-2005, 12:56 PM   #5
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
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
 
Old 07-17-2005, 01:00 PM   #6
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
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
 
Old 07-17-2005, 01:05 PM   #7
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem installing GTK wisdom Linux - Software 6 06-15-2005 04:48 AM
problem installing gtk 2.6.7 deus_machinarum Linux - Software 3 05-17-2005 02:48 PM
problem installing GTK+-1.2.9 gobi_dgm Linux - Newbie 1 02-08-2005 06:10 AM
problem installing GTK einnor Mandriva 2 01-26-2005 07:16 AM
installing GTK 2 problem santasballz Linux - Software 3 02-18-2004 08:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration