Sorry I can't help here, had a look on google and couldn't find anything useful. Maybe someone with a bit more experience could help more.

Regards.

Andy Smith wrote:

On Wed, Sep 17, 2003 at 02:54:07PM +1000, blade- wrote:


Hi,

I found this on the forum for you since you cant get there. Its how to manually re-install python.

# cd
# tar xzf /usr/portage/distfiles/Python-2.2.1.tgz
# cd Python-2.2.1

# ./configure --with-fpectl --infodir=/usr/share/info/ --mandir=/usr/share/man
# make
# make install prefix=/usr
# rm /usr/bin/python 2>/dev/null
# ln -s /usr/bin/python2 /usr/bin/python


This guy had a simular problem and he said this fixed it.



Thanks. Now we are getting somewhere.


It was the "select" module that portage was complaining about, and
when I compile python from source and install it I see this:

gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I. 
-I/home/andy/tmp/Python-2.2.2/./Include -I/u
sr/local/include -I/home/andy/tmp/Python-2.2.2/Include -I/home/andy/tmp/Python-2.2.2 
-c /home/andy/t
mp/Python-2.2.2/Modules/selectmodule.c -o build/temp.linux-i686-2.2/selectmodule.o
gcc -shared build/temp.linux-i686-2.2/selectmodule.o -L/usr/local/lib -o 
build/lib.linux-i686-2.2/se
lect.so
WARNING: removing "select" since importing it failed

Needless to say, python still does not have a select module after
this python is installed.  Now I need to figure out why it can't
compile this and I may be part of the way towards fixing this.

--
[EMAIL PROTECTED] mailing list





--
[EMAIL PROTECTED] mailing list



Reply via email to