Results 1 to 5 of 5
Hi,
When I try to configure and install Linux packages from the source tar ball
I get the following error most of the time. Why is that
checking for pkg-config... ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-28-2012 #1
Configuring and Installing From Source
Hi,
When I try to configure and install Linux packages from the source tar ball
I get the following error most of the time. Why is that
Thankschecking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PYGTK... no
configure: error: Package requirements (pygtk-2.0 >= 2.6) were not met:
No package 'pygtk-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 PYGTK_CFLAGS
and PYGTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.Last edited by amithad; 08-28-2012 at 08:49 AM.
- 08-29-2012 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,160
Basically that means you are missing a required dependency, the Python GTK package, or your system has the wrong version installed. What distribution+version of Linux are you running? And what desktop (Gnome, KDE, etc)? You can see if you have it installed. If your system is a 64bit one, then look for the file /usr/lib64/pkgconfig/pygtk-2.0.pc, or /usr/lib/pkgconfig/pygtk-2.0.pc for 32-bit or mixed-mode systems.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 08-30-2012 #3
Dear Rubberman
I'm using CentOS 5.5 32 bit i386 version.
When I search the pkgconfig folder I cant find pygtk-2.0.pc in it.
[amitha@localhost pkgconfig]$ ls
devmapper-event.pc gnome-python-desktop-2.0.pc gweather.pc
devmapper.pc gnome-python-extras-2.0.pc libmetacity-private.pc
fontutil.pc gnome-screensaver.pc libnfsidmap.pc
gnome-mime-data-2.0.pc gswitchit.pc librpcsecgss.pc
gnome-python-2.0.pc gtk-engines-2.pc shared-mime-info.pc
[amitha@localhost pkgconfig]$
- 08-30-2012 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,160
Try the command "yum install pygtk2-devel" if you are running a Red Hat distribution (RHEL or Fedora). If running a Debian or Ubuntu system (Mint, et al) then use the apt-get command, or the synaptic package manager.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 09-03-2012 #5




