[Numpy-discussion] Trouble building numpy on different version of OSX.

Chris Barker - NOAA Federal chris.barker@noaa....
Thu Feb 14 20:30:50 CST 2013


Steve,

Thanks for the report of what worked-- I may well need to do this soon.


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

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


You'd think that was Xcode-select would be for, but what can you do?

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 <steve@spvi.com> wrote:

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 <
chris.barker@noaa.gov> wrote:


On Thu, Feb 14, 2013 at 7:57 AM, Derek Homeier

<derek@astro.physik.uni-goettingen.de> 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 <steve@spvi.com> 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

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20130214/57918b2b/attachment.html 


More information about the NumPy-Discussion mailing list