[GRASS-dev] G65/7 ctypes compilation problem on Enterprise Linux
Markus Neteler
neteler at osgeo.org
Thu Aug 19 02:52:59 EDT 2010
On Thu, Aug 19, 2010 at 3:35 AM, Glynn Clements
<glynn at gclements.plus.com> wrote:
>
> Helena Mitasova wrote:
>
>> this is the same problem here - the problem is with python2.4 that is used as default
>> and that does not include ctypes so you need to make symlink in grass to make sure
>> it looks for python2.6 (which I have also installed) or there may be some other solution -
>> You cannot remove python2.4 because it is used for system management.
>> I did not have time to get it fully resolved yet.
>
> ctypes can be added as a third-party module in Python 2.3 and 2.4 (it
> doesn't work on versions prior to 2.3, and it's part of the standard
> library in 2.5 onwards).
>
> http://pypi.python.org/pypi/ctypes/1.0.2
>
> Note: it requires libffi.
Indeed, it was as easy as this:
root> easy_install ctypes
Now it compiles also with Python2.4.
> However, installing Python >= 2.5 is likely to be easier, and will
> also help if there are other compatibility issues (I don't know how
> much testing gets done with 2.4 nowadays).
Well, I hesitate to break the existing installation on our cluster.
Markus
More information about the grass-dev
mailing list