Failed to build these modules:_ctypes

P

PS

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
 
T

Thomas Heller

PS said:
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.

You only get a warning, right? So a subsequent 'make install' should work.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,962
Messages
2,570,134
Members
46,692
Latest member
JenniferTi

Latest Threads

Top