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

Ralf Gommers ralf.gommers@googlemail....
Sun Feb 26 10:09:16 CST 2012


On Sun, Feb 26, 2012 at 4:38 PM, Samuel John <scipy@samueljohn.de> wrote:

> Hi
>
> The plain gcc (non-llvm) is no longer there, if you install Lion and
> directly Xcode 4.3.
> Only, if you have the old Xcode 4.2 or lower, then you may have a non-llvm
> gcc.
>
> For Xcode 4.3, I recommend installing the "Command Line Tools for Xcode"
> from the preferences of Xcode. Then you'll have the unix tools and
> compilers for building software.
>
> The solution is to compile numpy and scipy with clang. I had no problems
> so far but I think few people actually compiled it with clang.
>
> The issue #1500 (scipy) may help here.
> http://projects.scipy.org/scipy/ticket/1500
>
>
> On 25.02.2012, at 14:14, 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.
>
> This website should be updated.
>

Samuel, do you want to take a shot at updating it? You've successfully
compiled both numpy and scipy in a couple of different ways on Lion, so
you'll probably do a much better job there than I could. It's a wiki page,
so you should be able to edit it directly.

Thanks,
Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20120226/d072bf8d/attachment-0001.html 


More information about the NumPy-Discussion mailing list