![](https://secure.gravatar.com/avatar/4d83466ea478d33bdde51504e4004a50.jpg?s=120&d=mm&r=g)
Hi,all. I have installed numpy and scipy step by step carefully as the instructions from website:http://www.scipy.org/Installing_SciPy/Mac_OS_X But still get many errors and warnings while it's building. (OSX lion 10.7.4 /Xcode 4.5 /clang /gfortran4.2.3) Do scipy and numpy must be built by gcc?? Such as: 1 error generated. _configtest.c:5:28: error: 'test_array' declared as an array with a negative size static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) == 4)]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. C compiler: clang -fno-strict-aliasing -fno-common -dynamic -pipe -O2 -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes /////////////////////////////////////////////////////////// Constructing wrapper function "drotm"... getarrdims:warning: assumed shape array, using 0 instead of '*' getarrdims:warning: assumed shape array, using 0 instead of '*' x,y = drotm(x,y,param,[n,offx,incx,offy,incy,overwrite_x,overwrite_y])
![](https://secure.gravatar.com/avatar/59bdb3784070f0a6836aca9ee03ad817.jpg?s=120&d=mm&r=g)
On Sun, Sep 23, 2012 at 5:23 PM, 心如烛光 <275438859@qq.com> wrote:
Hi,all. I have installed numpy and scipy step by step carefully as the instructions from website:http://www.scipy.org/Installing_SciPy/Mac_OS_X But still get many errors and warnings while it's building. (OSX lion 10.7.4 /Xcode 4.5 /clang /gfortran4.2.3)
Those error are parts of the configuration. As long as the build runs until the end, the build is successful. You should not build scipy with gcc on mac os x 10.7, as it is known to cause issues. David
participants (2)
-
David Cournapeau
-
心如烛光