OK,,, I happen to have an old:
/Developer-3,2,5 directory on my 10.8 system, and I found the "xcode-select' command. I tried
sudo xcode-select --switch /Developer-3.2.5
but that had no apparent effect.
Next I put a link in
/Developer -> /Developer-3.2.5
since that seemed to be the path numpy was trying to use.
Aha! I got the right include path now. So there was an SDK effect somehow. I wonder if the 2.7.3 build on python.org used XCode 4 with a newer SDK? Anyway... still no luck though since I was getting complaints about stdarg.h not being found, even though I could see it was there. I noticed that
/usr/bin/gcc was really a link to llvm-gcc-4.2 and maybe that was a problem, so I changed my PATH environment variable to have
/Developer-3.2.5/usr/bin before /usr/bin and voila! It works. Thanks for the hints! Now just have to remember all this atrocious stuff whenever I need to rebuild it. ;-)
thanks,
-steve
On Feb 14, 2013, at 11:40 AM, Steve Spicklemire
Ahhh... I didn't realize that important bit. Thanks... I'll try to see if I can use xcode3 on 10.8.
thanks, -steve
On Feb 14, 2013, at 10:58 AM, Chris Barker - NOAA Federal
wrote: On Thu, Feb 14, 2013 at 7:57 AM, Derek Homeier
wrote: Where did you get the python3.2 from? Building the 1.7.0 release works for me under 10.8 and Xcode 4.6 both with the system-provided /usr/bin/python2.7
That makes sense, as Apple probably built it with XCode 4.6 in the first place.
and with fink-installed versions of python2.7 and python3.2,
Again, the whole point of fink is to build everything natively.
On Thu, Feb 14, 2013 at 8:00 AM, Steve Spicklemire
wrote: The python3.2 was from python.org, 3.2.3 universal 32/64.
that was built with XCode 3.* -- originally on 10.6 The point of distutils (one of them anyway) is to build extensions with the same compiler, flags, etc as pyton itself -- that means XCode 3, 10.6 SDK in this case.
I haven't gone to 10.8 yet -- partly for this reason! I know it's a pain, at best, to build stuff on 10.8 (and XCode4 ) that runs on older systems, but not sure if/how it can be done if you really need to.
I'd try the pythonmac list -- soem smart folks there (and the people that maintain the python.org builds)
-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@noaa.gov _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion