[GRASS-dev] grass7 on mac OSX

Glynn Clements glynn at gclements.plus.com
Thu Jun 3 01:05:49 EDT 2010


Massimo Di Stefano wrote:

> i applied the patch and tried to rebuild (after make distclean)
>   File "/Users/Shared/source/grass_trunk/lib/python/ctypes/ctypesgencore/parser/pplexer.py", line 60, in __new__
>     value = value[1:-1].decode('string_escape')
> ValueError: invalid \x escape

This looks like an issue with Apple's "C" headers being incompatible
with anything other than Apple's version of gcc.

I think that it's going to need someone with a Mac to investigate the
issues and make the necessary changes to ctypesgen to either support
Apple's "enhanced" C dialect, or to provide the necessary switches to
disable the enhancements (if such switches exist).

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


More information about the grass-dev mailing list