darn, forgot to send to the list again -- I hate these defaults!


---------- Forwarded message ----------
From: Chris Barker <chris.bar...@noaa.gov>
Date: Thu, Feb 9, 2012 at 9:58 AM
Subject: Re: [Pythonmac-SIG] distutils and stdarg.h
To: Ronald Oussoren <ronaldousso...@mac.com>


On Wed, Feb 8, 2012 at 11:33 PM, Ronald Oussoren <ronaldousso...@mac.com> wrote:
>> 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>

> What compiler version do you use?

It's using g++ 4.2.1

> 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.

I'll give that try, but ...

>  Recent Xcode releases do not include a compiler that supports the powerpc 
> architecture.

I've made a point of not upgrading XCode for that reason -- and I'm
not having trouble compiling PPC versions other extensions.

I'm pretty sure I've done both C and C++ ones, too.

I'm thinking that some of the standard stuff that distutils adds has
been overridden by this build -- it's a big, complicated setup, using
numpy, distutils, etc. I'm having trouble following it all (or
simplifying it -- I don't need the whole package anyway). Entought is
no longer testing on this distribution of Python, nor PPC at all, I
believe, so they could have inadvertently broken it easily enough.

thanks,
  -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


-- 

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

Reply via email to