[Pythonmac-SIG] distutils and stdarg.h
Ronald Oussoren
ronaldoussoren at mac.com
Thu Feb 9 08:33:16 CET 2012
On 8 Feb, 2012, at 21:14, Chris Barker wrote:
> HI folks,
>
> I'm trying to build the Enthought Tool Suite "Enable" package
>
> (http://code.enthought.com/projects/index.php)
>
> against the python.org 32 bit Intel/PPC build of python 2.7
>
> I'm getting a bunch of errors like:
>
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error:
> stdarg.h: No such file or directory
>
> That file does exist, but it uses:
>
> #include_next <stdarg.h>
>
> So apparently there isn't a stdarg.h later on in the include path.
>
> There are a LOT of versions of stdarg.h on my system, so it's less
> than obvious which one should get picked up. Also, shouldn't distuitls
> set the include dirs to get this anyway? Even if I find one that
> works, I'd hate to hard-code that in there.
>
> any thoughts?
What compiler version do you use? One thing you could try is to drop support for ppc, for example by adding ["-arch", "i386"] to extra_compiler_args in the definition of the Extension in setup.py. Recent Xcode releases do not include a compiler that supports the powerpc architecture.
Ronald
>
> -Chris
>
>
>
> --
>
> Christopher Barker, Ph.D.
> Oceanographer
>
> Emergency Response Division
> NOAA/NOS/OR&R (206) 526-6959 voice
> 7600 Sand Point Way NE (206) 526-6329 fax
> Seattle, WA 98115 (206) 526-6317 main reception
>
> Chris.Barker at noaa.gov
> _______________________________________________
> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
> unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4788 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20120209/ef900f06/attachment.bin>
More information about the Pythonmac-SIG
mailing list