Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
01-29-2007, 09:15 PM
|
#1
|
|
Member
Registered: Jun 2006
Distribution: Slackware 11
Posts: 92
Rep:
|
pkg-config can't find installed package
Hi. I am trying to install geany. When I do ./configure,I get the following message
Code:
which: no svn in (/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin)
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... configure: error: Package requirements (gtk+-2.0 >= 2.6.0) were not met:
No package 'gtk+-2.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables PACKAGE_CFLAGS
and PACKAGE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
The thing is,I have gtk+ 2.8.x installed. I'm not sure why it can't find it.
|
|
|
|
01-29-2007, 09:35 PM
|
#2
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,614
|
It compiles fine for me. Where do you have that gtk+-2.8.x installed ? Did you compile it yourself ?
I have 'gtk+2-2.8.20-i486-1.tgz' that came with slackware, and it configures and compiles just fine using that.
Also, are you using the svn or release version of geany ? (I used release)
EDIT: I didn't even know about geany until now. Glad you brought it up, seems to be a very nice IDE ... just what I was looking for 
Last edited by H_TeXMeX_H; 01-29-2007 at 09:47 PM.
|
|
|
|
01-29-2007, 09:57 PM
|
#3
|
|
Member
Registered: Jun 2006
Distribution: Slackware 11
Posts: 92
Original Poster
Rep:
|
Hi. I also have the gtk+ 2.0 slack version. It's in /etc/gtk-2.0. I'm trying to compile geany from source since the most recent slack package I could find was .7. I really want to use geany because it seems so light which is what I need since I run on a 300mhz celly.
|
|
|
|
01-29-2007, 10:16 PM
|
#4
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,614
|
I would reinstall that package ('gtk+2-2.8.20-i486-1.tgz') just to make sure.
If that doesn't work then try what it suggests and set 'PKG_CONFIG_PATH' to wherever gtk is installed.
Code:
export PKG_CONFIG_PATH=gtk-path-goes-here
Last edited by H_TeXMeX_H; 01-29-2007 at 10:21 PM.
|
|
|
|
01-29-2007, 11:18 PM
|
#5
|
|
Member
Registered: Jun 2006
Distribution: Slackware 11
Posts: 92
Original Poster
Rep:
|
Hi. I tried both of those options,and the same thing still happens. I have gtk+2 installed to /etc/gtk-2.0. I did
Code:
export PKG_CONFIG_PATH=/etc/gtk-2.0
then ./configure.
|
|
|
|
01-29-2007, 11:30 PM
|
#6
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,614
|
Are you sure that's where it is installed ?
That would be a very odd place for it to be installed, a place it doesn't belong. (some files from the package exist in /etc, but that's not where it is installed)
It's installed in /usr
To check if the package is installed look in your /var/log/packages for it. Also check that the file /usr/lib/gtk+-2.0.pc exists.
|
|
|
|
01-30-2007, 06:58 PM
|
#7
|
|
Member
Registered: Jun 2006
Distribution: Slackware 11
Posts: 92
Original Poster
Rep:
|
Hi. I do have that file in /usr/lib. Where exactly should I be pointing pkg-config.
|
|
|
|
01-30-2007, 07:00 PM
|
#8
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,614
|
I think to /usr
Did you reinstall 'gtk+2-2.8.20-i486-1.tgz' ?
|
|
|
|
01-30-2007, 07:49 PM
|
#9
|
|
Member
Registered: Jun 2006
Distribution: Slackware 11
Posts: 92
Original Poster
Rep:
|
Hi. I did reinstall the package. Right now I am doing
Code:
export PKG_CONFIG_PATH=/usr
And then running ./configure. It still comes up with the same message. I also noticed that at the end of the error it say something about being able to turn the call off for pkg-config,but I'm not sure if that would fix it. Also,at the end of the info for the package it says
Code:
FILE LIST:
./
etc/
etc/gtk-2.0/
EDIT:I made some progress. If I change the variable to /usr/lib/pkgconfig. I get
Code:
checking for PACKAGE... configure: error: Package requirements (gtk+-2.0 >= 2.6.0) were not met:
Package xrender was not found in the pkg-config search path.
Perhaps you should add the directory containing `xrender.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xrender', required by 'cairo', not found
I'm not sure if that's better or not. Everything I could find about xrender seemed to be outdated.
Last edited by JAKK; 01-30-2007 at 08:40 PM.
|
|
|
|
01-30-2007, 09:06 PM
|
#10
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,614
|
Is there a file called xrender.pc in '/usr/lib/pkgconfig' ? (there should be ... there is for me)
Also, do you have all these installed:
Quote:
|
For compiling Geany yourself, you will need the GTK (>= 2.6.0) libraries and header files. You will also need the Pango, Glib and ATK libraries and header files.
|
EDIT: If it really doesn't work I could upload a binary of it if you want me to.
Last edited by H_TeXMeX_H; 01-30-2007 at 09:10 PM.
|
|
|
|
01-30-2007, 10:10 PM
|
#11
|
|
Member
Registered: Jun 2006
Distribution: Slackware 11
Posts: 92
Original Poster
Rep:
|
Hi. I do not have the xrender file. However,I'm not sure what to do since all searches showed that xrender was old and had some vulnerabilities. I could not find any xrender package for slackware. I checked,and I do have all other packages.
|
|
|
|
01-31-2007, 08:53 PM
|
#12
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,614
|
xrender might be a part of x11 ? Anyone know which package it is a part of ? I don't have time to look right now. Reinstall all the packages in the x directory on the DVD/CD, it should be in one of them ... or check them one by one.
|
|
|
|
01-31-2007, 10:55 PM
|
#13
|
|
Member
Registered: Jun 2006
Distribution: Slackware 11
Posts: 92
Original Poster
Rep:
|
Hi. I had to install x11-devel to get it to work. Thanks for your help.
|
|
|
|
01-31-2007, 11:08 PM
|
#14
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,614
|
Great ... no problem 
|
|
|
|
02-02-2007, 02:37 PM
|
#15
|
|
Senior Member
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,358
Rep: 
|
Quote:
|
Anyone know which package it is a part of ?
|
If you want to know what package an installed file belongs to you can just
Code:
grep -r filename /var/log/packages
Slackware: The joy of simplicity:-)
Brian
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:06 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|