[GRASS-dev] Re: ctypes problem with Vect_open_old

Glynn Clements glynn at gclements.plus.com
Thu Feb 3 19:13:32 EST 2011


Martin Landa wrote:

> > If this is happening when the ctypes wrappers and vector libraries are
> > built at the same time, then we have a problem with our build system.
> > If it's caused by mixing ctypes wrappers and vector libraries from
> > different builds (e.g. PYTHONPATH pointing to a different version),
> > then you need to prevent that.
> 
> unfortunately not sure how to fix it. What solution would you suggest?

I'd suggest determining which of the two cases above is actually
occurring.

Add some print statements to the Python script to determine what
PYTHONPATH is set to, whether off_t is an alias for __off_t or
__off64_t, etc.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list