Failed to build these modules:_ctypes

PS pablo.stapff at
Fri Apr 24 15:27:09 CEST 2009

Hello all

I can't install neither python 2.6.1 nor 2.6.2 because an error during
compilation of _ctypes module, I don't need the module but I don't
know how to instruct to skip it.

The plattform is Suse 11.0

The steps I performed are the following:

./configure  --prefix $HOME/app/Python-2.6.2

The last command from make with its error is the following

gcc -pthread -shared build/temp.linux-i686-2.6/home/ps/soft/
Python-2.6.2/Modules/_ctypes/_ctypes.o build/temp.linux-i686-2.6/home/
ps/soft/Python-2.6.2/Modules/_ctypes/callbacks.o build/temp.linux-
i686-2.6/home/ps/soft/Python-2.6.2/Modules/_ctypes/callproc.o build/
stgdict.o build/temp.linux-i686-2.6/home/ps/soft/Python-2.6.2/Modules/
_ctypes/cfield.o build/temp.linux-i686-2.6/home/ps/soft/Python-2.6.2/
Modules/_ctypes/malloc_closure.o build/temp.linux-i686-2.6/home/ps/
src/x86/ffi.o build/temp.linux-i686-2.6/home/ps/soft/Python-2.6.2/
Modules/_ctypes/libffi/src/x86/sysv.o -L/home/ps/app/Python-2.6.2/lib -
L/usr/local/lib -o build/lib.linux-i686-2.6/
*** WARNING: renaming "_ctypes" since importing it failed: build/
lib.linux-i686-2.6/ undefined symbol: ffi_prep_cif_machdep

Failed to find the necessary bits to build these modules:
bsddb185           dl                 imageop
To find the necessary bits, look in in detect_modules() for
the module's name.

Failed to build these modules:

running build_scripts

any idea?????

Thanks in advance

More information about the Python-list mailing list