[Numpy-discussion] Problem Building Numpy with Python 2.7.1 and OS X 10.7.3

Ralf Gommers ralf.gommers at googlemail.com
Tue Feb 28 17:16:42 EST 2012


On Mon, Feb 27, 2012 at 1:47 AM, Patrick Armstrong <patricka at uvic.ca> wrote:

> Hi,
>
> On 2012-02-25, at 5:14 AM, Ralf Gommers wrote:
>
> Since you're using pip, I assume that gcc-4.2 is llvm-gcc. As a first
> step, I suggest using plain gcc and not using pip (so just "python setup.py
> install"). Also make sure you follow the recommendations in "version
> specific notes" at http://scipy.org/Installing_SciPy/Mac_OS_X.
>
>
> As is mentioned earlier in the thread, Xcode doesn't distribute plain gcc
> anymore. I've tried building with llvm-gcc, and with clang, and I get the
> same failed result.
>
> To be sure, I tried building with a plain "python setup.py install", and I
> get the same result. Here' my build log with clang:
> https://gist.github.com/1920128
>

Just tried on OS X 10.6 with clang, that works fine. No idea why 10.7 would
be different.
    $ export CC=clang
    $ python setup.py build_ext -i

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20120228/d8c4ba95/attachment.html>


More information about the NumPy-Discussion mailing list