Find the answer to your Linux question:
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.
  1. #1
    Linux Newbie amithad's Avatar
    Join Date
    Sep 2006
    Location
    Sri Lanka
    Posts
    160

    Question 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


    checking 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.
    Thanks
    Last edited by amithad; 08-28-2012 at 08:49 AM.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,598
    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!

  3. #3
    Linux Newbie amithad's Avatar
    Join Date
    Sep 2006
    Location
    Sri Lanka
    Posts
    160
    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]$

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,598
    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!

  5. #5
    Linux Newbie amithad's Avatar
    Join Date
    Sep 2006
    Location
    Sri Lanka
    Posts
    160

    Thumbs up

    Quote Originally Posted by Rubberman View Post
    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.
    Thanks Rubberman !

    It really worked for me . Apart from the yum install pygtk2-devel command I had to install intltool also

    Many thanks !!!

    Amitha

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •