2.2.1 build fails on linux

Whitney Williams whitney at pk3i.com
Tue May 21 14:24:28 EDT 2002


I cannot build a working 2.2.1 installation, and wondered if anyone else had
encountered this problem (and found  a workaround)...

whitney at freaky:~/src/Python-2.2.1$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.4/specs
Configured with:
../gcc-3.0.4/configure --with--gnu-as --with-gnu-ld --enable-threads
Thread model: posix
gcc version 3.0.4

creating build/temp.linux-i686-2.2
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/home/whitney/src/
Python-2.2.1/./Include -I/usr/local/include -IInclude/ -c
/home/whitney/src/Python-2.2.1/Modules/structmodule.c -o
build/temp.linux-i686-2.2/structmodule.o
creating build/lib.linux-i686-2.2
gcc -shared build/temp.linux-i686-2.2/structmodule.o -L/usr/local/lib -o
build/lib.linux-i686-2.2/struct.so
WARNING: removing "struct" since importing it failed

<... all modules failing from here on...>


I see this has been happening with somwe Solaris installations.

I have always been to successfully build python in the past.

Any ideas?





More information about the Python-list mailing list