Re: [Pythonmac-SIG] distutils and stdarg.h

2012-02-08 Thread Ronald Oussoren

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 
> 
> 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.bar...@noaa.gov
> ___
> Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
> unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG



smime.p7s
Description: S/MIME cryptographic signature
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG


[Pythonmac-SIG] distutils and stdarg.h

2012-02-08 Thread Chris Barker
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 

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?

-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.bar...@noaa.gov
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG