Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66548 - pygtk-2.4.0 fails to configure when checking python2.3
Summary: pygtk-2.4.0 fails to configure when checking python2.3
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 66549 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-06 10:21 UTC by Emanuele Tamponi
Modified: 2004-10-11 06:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge -v pygtk log (prova,6.06 KB, application/octet-stream)
2004-10-07 10:44 UTC, Emanuele Tamponi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emanuele Tamponi 2004-10-06 10:21:50 UTC
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.
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-10-06 10:25:01 UTC
*** Bug 66549 has been marked as a duplicate of this bug. ***
Comment 2 Emanuele Tamponi 2004-10-06 10:28:24 UTC
just creating a symlink to /usr/lib/python2.3 into /usr/local/lib/ doesn't solve the problem
Comment 3 Lukasz Strzygowski (RETIRED) gentoo-dev 2004-10-06 13:28:49 UTC
If you have exported $PYTHON environment variable, please unset it.
Comment 4 Emanuele Tamponi 2004-10-06 14:07:57 UTC
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
Comment 5 Lukasz Strzygowski (RETIRED) gentoo-dev 2004-10-06 15:29:39 UTC
After unsetting PYTHON, do you get the same error message? Please attach log of the emerge.
Comment 6 Emanuele Tamponi 2004-10-07 10:44:57 UTC
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"
Comment 7 Emanuele Tamponi 2004-10-10 08:57:07 UTC
Then..?
Comment 8 Alastair Tse (RETIRED) gentoo-dev 2004-10-11 01:08:57 UTC
that is because you have another python installed in /usr/local/bin/python. closing because of local problem.
Comment 9 Emanuele Tamponi 2004-10-11 04:54:46 UTC
$ ls /usr/local/bin/
getdelta.sh

??? Where's that python binary? Have I to reemerge python?
Comment 10 Emanuele Tamponi 2004-10-11 05:55:26 UTC
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...
Comment 11 Emanuele Tamponi 2004-10-11 06:03:13 UTC
excuse me, that's because I had to unset $PYTHON ...

All solved, many thanks!!