Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 08-27-2006, 09:32 AM   #1
LQ Newbie
Registered: Aug 2006
Posts: 10

Rep: Reputation: 0
Question Problem installing pygtk-2.9.0

I want to install this package on my fedora core 5 system.
It is a tar package. I untarred it.
Then now when I run the ./configure script, I get the following error.

checking pkg-config is at least version 0.9.0... yes
checking for PYGOBJECT... configure: error: Package requirements (pygobject-2.0 >= 2.10.0) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively you may set the PYGOBJECT_CFLAGS and PYGOBJECT_LIBS environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
more details.

I had configured the pygobject from the source and its version was 2.10.0.
I'm new to linux and don't know how to set these variables.
Plz help.

Last edited by tomhanks; 08-27-2006 at 09:35 AM.
Old 09-04-2006, 11:06 PM   #2
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
To set environment variables you use the "export" command - so for example since you installed pygobject from source it was likely installed in /usr/local, but PKG_CONFIG_PATH is only finding the ones in /usr. To set it properly, run the following in a terminal right before ./configure for pygtk:
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
Old 09-05-2006, 02:58 AM   #3
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
How about just doing "yum install pygtk2".


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
pygtk error when installing solfege jrdioko Linux - Software 2 08-03-2006 12:06 AM
installing pygtk Starch Linux - Newbie 3 07-18-2005 04:08 PM
problem with PyGTK on_the_grid Programming 3 03-17-2005 03:57 AM
installing pygtk... cant find gtk true_atlantis Linux - Software 8 01-15-2004 01:37 PM
installing pygtk-1.99.9 errors Scruff Linux - Software 0 09-01-2003 09:54 AM > Forums > Linux Forums > Linux - Desktop

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

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