[issue7679] Warning building 2.7 on OS X 10.6 libintl.h "Present But Cannot Be Compiled"

Nicholas Riley report at bugs.python.org
Mon Mar 14 02:21:41 CET 2011


Nicholas Riley <com-python-bugs at sabi.net> added the comment:

You should be able to invoke the compiler like this:

gcc -nostdinc -I/usr/include -F/System/Library/Frameworks ...

which will remove /usr/local/include (and /Library/Frameworks).  This also removes the compiler-specific include dir, so to be fully general you could postprocess $CC -v output to just filter /usr/local/include - it looks like the Clang driver is GCC-compatible as far as -v output goes.

And in general, I guess this is really an Apple bug...

----------
nosy: +nriley

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7679>
_______________________________________


More information about the Python-bugs-list mailing list