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

Derek Homeier derek@astro.physik.uni-goettingen...
Thu Feb 14 09:57:12 CST 2013

On 14.02.2013, at 3:55PM, Steve Spicklemire <steve@spvi.com> wrote:

> I got Xcode 4,6 from the App Store. I don't think it's the SDK since the python 2.7 version builds fine. It's just the 3.2 version that doesn't have the -I/Library/Frameworks/Python.Framework/Versions/3.2/include/python3.2m in the compile options line. When I run setup for 2.7 I see the right include. I'm just not sure where setup is building those options, and why they're not working on 10.7 and 10.8 and python3.2. Strange!

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 and with fink-installed versions of python2.7 and python3.2,
but in no case is it linking or including any 10.6 SDK:

C compiler: gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes

compile options: '-Inumpy/core/include -Ibuild/src.macosx-10.8-x86_64-3.2/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/include -I/sw/include/python3.2m -Ibuild/src.macosx-10.8-x86_64-3.2/numpy/core/src/multiarray -Ibuild/src.macosx-10.8-x86_64-3.2/numpy/core/src/umath -c'


More information about the NumPy-Discussion mailing list