Help ctypes on arm linux not compile

Thomas Heller theller at ctypes.org
Tue Oct 30 04:55:48 EDT 2007


Samuel M. Smith schrieb:
> I have built python 1.5.1 from source for an embedded ARM9 debian  
> linux Sarge distribution but
> ctypes doesn't build.  Anybody have any idea what the problem is? Do  
> I have to have the libffi package
> installed.
> See my errors below.

ctypes won't work with Python 1.5 because it uses new style classes, introduced in Python 2.2.
It uses other, newer features additionally, so it requires Python 2.3 at least.

Then, the included libffi package doesn't support ARM, you need a newer libffi
version.

I think that the current Python 2.5 sources, from SVN, should work.

Thomas




More information about the Python-list mailing list