Failed to build these modules:_ctypes

PS pablo.stapff at gmail.com
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
make

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/
temp.linux-i686-2.6/home/ps/soft/Python-2.6.2/Modules/_ctypes/
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/
soft/Python-2.6.2/Modules/_ctypes/libffi/src/prep_cif.obuild/
temp.linux-i686-2.6/home/ps/soft/Python-2.6.2/Modules/_ctypes/libffi/
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/_ctypes.so
*** WARNING: renaming "_ctypes" since importing it failed: build/
lib.linux-i686-2.6/_ctypes.so: undefined symbol: ffi_prep_cif_machdep

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


Failed to build these modules:
_ctypes

running build_scripts

any idea?????

Thanks in advance
Pablo



More information about the Python-list mailing list