LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-22-2005, 05:55 AM   #1
Seiken
Member
 
Registered: Sep 2004
Location: Canada
Distribution: Slackware 14
Posts: 248

Rep: Reputation: 30
gnome-python ./configure error


Compiling all the dependencies for gdesklets, and all worked fine except for gnome-python. During the ./configure phase, I come across this error:
Code:
checking for pygtk-2.0 >= 2.0.0... Package pygtk-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `pygtk-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pygtk-2.0' found

configure: error: Library requirements (pygtk-2.0 >= 2.0.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.
pygtk-2.0 is installed (I checked /var/log/packages), so I'm guessing I need to update this PKG_CONFIG_PATH environment variable? if I "echo $PKG_CONFIG_PATH", nothing comes up. Do I just use export, or should I be editing a config file somewhere? if there is no config file, how do I permanantly set the variable (because doesn't export just do it for the current session?)
 
Old 03-22-2005, 06:04 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
it's looking for a file in a pkgconfig directory called pygtk-2.0.pc. you can use pkgconfig directly to see if you think you can see it. i forget exactly where these files get stored, but a "locate *.pc" should point you to somewhere like "/usr/lib/pkgconfig/" that'll be where the pygtk-2.0.pc is ideally meant to be. howver it might be in /usr/local/lib/pkgconfig/ for example, which i'd guess is more likely if you've installed pygtk from source...
 
Old 03-22-2005, 10:05 AM   #3
Seiken
Member
 
Registered: Sep 2004
Location: Canada
Distribution: Slackware 14
Posts: 248

Original Poster
Rep: Reputation: 30
that solved it thanks.

now my only problem is when I run gdesklets, I get "You need a recent version of PyGTK to run this program." ... but I just installed the latest version (2.6.1) of PyGTK (and even copied the .pc file to /usr/lib/pkgconfig).
 
Old 03-22-2005, 04:20 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well use pkgconfig to see what version is actually being returned.
 
Old 03-22-2005, 04:57 PM   #5
Seiken
Member
 
Registered: Sep 2004
Location: Canada
Distribution: Slackware 14
Posts: 248

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by acid_kewpie
well use pkgconfig to see what version is actually being returned.
Haha, I just spent about 10 minutes trying to learn how to use pkg-config... anyway, it's returning 2.6.1.
 
Old 03-22-2005, 05:05 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
hm, this is getting a little messy now really... personally i would open up the configure script and look at the actual test that is being performed. this way you can see the REAL error message by recreating the test outside of the script.
 
Old 03-22-2005, 05:08 PM   #7
Seiken
Member
 
Registered: Sep 2004
Location: Canada
Distribution: Slackware 14
Posts: 248

Original Poster
Rep: Reputation: 30
I'm afraid that's over my head at this point.
 
Old 03-22-2005, 05:37 PM   #8
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
did you run " #ldconfig " after installing PyGTK ?

egag
 
Old 03-22-2005, 05:48 PM   #9
Seiken
Member
 
Registered: Sep 2004
Location: Canada
Distribution: Slackware 14
Posts: 248

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by egag
did you run " #ldconfig " after installing PyGTK ?

egag
No, I didn't. I just ran it now (through ssh), but I won't be able to test gdesklets until I get home (3 hours from now!) After running it, and now looking it up on Google to read what it does, it sounds like this might do the trick. Here's hoping... and thank you
 
Old 03-23-2005, 06:32 AM   #10
Seiken
Member
 
Registered: Sep 2004
Location: Canada
Distribution: Slackware 14
Posts: 248

Original Poster
Rep: Reputation: 30
so I still get the error after running #ldconfig.
 
Old 03-23-2005, 06:53 AM   #11
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Did you look at this how-to :
http://www.linuxquestions.org/questi...icle&artid=205

(Instructions are for slack 9 but it won't hurt to read them)
 
Old 03-23-2005, 05:21 PM   #12
Seiken
Member
 
Registered: Sep 2004
Location: Canada
Distribution: Slackware 14
Posts: 248

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by keefaz
Did you look at this how-to :
http://www.linuxquestions.org/questi...icle&artid=205

(Instructions are for slack 9 but it won't hurt to read them)
I'll read them tonight. Thanks.
 
  


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
how to configure python for idle (Tk) master Linux - Software 5 01-14-2011 11:34 AM
pkg-config error with emerge -aD gnome-python on Gentoo 2.6.9-gentoo-r6 ghrellin Linux - Software 2 12-22-2004 06:37 PM
how to configure apache in Suse 9.1 t run cgi programmes written in python drako123 Linux - Software 0 08-21-2004 07:27 AM
WineX, python-gnome, and python-gtk DrD Fedora 0 08-03-2004 12:11 PM
Problems with Python 2-3.3 during ./configure mindfestival Linux - Newbie 1 03-30-2004 06:44 AM

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

All times are GMT -5. The time now is 02:46 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