[Numpy-discussion] errors of scipy build

心如烛光 275438859 at qq.com
Sun Sep 23 12:23:37 EDT 2012


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])
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20120924/074eb1f0/attachment.html>


More information about the NumPy-Discussion mailing list