[gentoo-user] Python 2.3.3 modules don't build

2004-01-31 Thread Michele Alzetta
The long and short of all the problems I've been having lately seems to be this: 
python 2.3.3 gets built, but it's modules don't get built correctly, which is why 
python doesn't work and portage and  etc. etc. 

I tried using mcpu=athlon-xp and -O2 instead of -O3 but the problem doesn't change.
I wander if it is the fault of the new glibc ?

These are the error messages I get in build:

unning build
running build_ext
building 'struct' extension
creating build
creating build/temp.linux-i686-2.3
gcc -pthread -DNDEBUG -march=athlon-xp -O2 -pipe -fomit-frame-pointer -fPIC 
-fno-strict-aliasing -I. -I/var/tmp/portage/python-2.3.3/work/Python-2.3.3/./Include 
-I/var/tmp/portage/python-2.3.3/work/Python-2.3.3/Include 
-I/var/tmp/portage/python-2.3.3/work/Python-2.3.3 -c 
/var/tmp/portage/python-2.3.3/work/Python-2.3.3/Modules/structmodule.c -o 
build/temp.linux-i686-2.3/structmodule.o
creating build/lib.linux-i686-2.3
gcc -pthread -shared build/temp.linux-i686-2.3/structmodule.o -L/usr/local/lib -o 
build/lib.linux-i686-2.3/struct.so
*** WARNING: importing extension struct failed with exceptions.AttributeError: 
'module' object has no attribute 'load_dynamic'

A quick google reveals a similar problem with python 2.3.3 on a totally different 
architecture:

http://mail.python.org/pipermail/python-bugs-list/2003-October/020521.html

Has anyone managed to build python 2.3.3 with athlon-xp and the new glibc ?

--  
Michele Alzetta

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Python 2.3.3 modules don't build

2004-01-31 Thread Jean Magnan de Bornier
Le 01/31/04 Michele Alzetta [EMAIL PROTECTED] a écrit notamment:


[...]



 Has anyone managed to build python 2.3.3 with athlon-xp and the new glibc ?

[...]

Well I did an emerge world yesterday and I seem to remember (it was on
my office laptop) that at the end of the python compilation there was a 
message saying I had to run /usr/sbin/python-updater. 
Did you do it?
hth,
-- 
Jean Magnan de Bornier
3 Cours Victor Hugo, 13980 Alleins   France
Tel: 04 90 59 33 94Port: 06 09 17 35 87
mèl: jm.bornier*at*free.fr

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Python 2.3.3 modules don't build

2004-01-31 Thread Michele Alzetta
Il Sat, 31 Jan 2004 15:18:42 +0100
Jean Magnan de Bornier [EMAIL PROTECTED] scrisse:


 message saying I had to run /usr/sbin/python-updater. 
 Did you do it?

Yes, has nothing to do with the problem, unfortunately.
 
--  
Michele Alzetta

--
[EMAIL PROTECTED] mailing list