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

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to