pygtk-2.4.0 fails to configure when checking the python libs because it searches them into /usr/local/lib/python2.3/ instead of /usr/lib/python2.3 . The error is: checking whether /usr/local/lib/python2.3/site-packages version >= 2.3... configure: error: too old Reproducible: Always Steps to Reproduce: 1. emerge sync 2. emerge -v pygtk 3.
*** Bug 66549 has been marked as a duplicate of this bug. ***
just creating a symlink to /usr/lib/python2.3 into /usr/local/lib/ doesn't solve the problem
If you have exported $PYTHON environment variable, please unset it.
I've unset it but the problem still remains. I've tried also: PYTHON=/usr/lib/python2.3/site-packages;emerge -v pygtk PYTHON='' emerge -v pygtk but those commands don't solve the problem
After unsetting PYTHON, do you get the same error message? Please attach log of the emerge.
Created attachment 41297 [details] emerge -v pygtk log This is the emerge log... Emerge info says: # emerge info Portage 2.0.51_rc7 (gcc34-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.9-rc1-nitro4 i686) ================================================================= System uname: 2.6.9-rc1-nitro4 i686 Intel(R) Pentium(R) 4 CPU 1600MHz Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -mtune=pentium4 -O2 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -fomit-frame-pointer -fweb" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -mtune=pentium4 -O2 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -fomit-frame-pointer -fweb" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.inode.at/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aalib alsa apache2 apm arts artswrappersuid avi bitmap-fonts c cdparanoia cdr crypt cups directfb divx4linux doc dv dvb dvd dvdread encode faad fbcon flac foomaticdb freetype gdbm gif gimp gimpprint glut gpm gtk gtk2 imagemagick imlib innodb irda isdn java javascript joystickjpeg kde libcaca libg++ libwww mad matroska mikmod mmx mmx2 mng motif mpeg mysql ncurses nls nocd nptl ntlm odbc oggvorbis openal opengl oss pam pdflib perl pic png ppds python qemu-fast qt quicktime readline rtc sdl silverxp slang spell sqlite sse sse2 ssl tcpd tetex tiff transcodetruetype usb x86 xine xml2 xmms xosd xprint xv xvid zlib linguas_it"
Then..?
that is because you have another python installed in /usr/local/bin/python. closing because of local problem.
$ ls /usr/local/bin/ getdelta.sh ??? Where's that python binary? Have I to reemerge python?
then... I found the problem with /usr/local, sorry... but the bug still remains: checking whether /usr/lib/python2.3/site-packages version >= 2.3... configure: error: too old It check a directory! Maybe that's a problem...
excuse me, that's because I had to unset $PYTHON ... All solved, many thanks!!