i opened an issue on :
http://code.google.com/p/ctypesgen/issues/detail?id=7
i hope what i wrote is correct, tell me if i need to change something.
i'll also try to send a mail to the pythonmac mailing list.
Il giorno 03/giu/2010, alle ore 07.05, Glynn Clements ha scritto:
>
> 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 <[email protected]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev