[SciPy-user] Scipy 0.7.1rc1 released

HEMMI, Shigeru textdirected@gmail....
Fri Jun 5 22:36:39 CDT 2009


Sorry let me cancel this post.

I remembered that I have to insert #include <complex.h> line to
3 files:

   1. ./scipy/lib/blas/fblaswrap_veclib_c.c.src
   2. ./scipy/linalg/src/fblaswrap_veclib_c.c
   3. ./scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c

regards,

2009/6/6 HEMMI, Shigeru <textdirected@gmail.com>:
> Hello all,
>
> 2009/6/4 David Cournapeau <david@ar.media.kyoto-u.ac.jp>:
> (snip)
>> Please test it !
>
> I tried to build scipy-0.7.1rc2 on MAC OS X (10.3) ppc, but
> compilation failed.  See the following lines for details:
>
> $ pwd
> /Users/zgzgu/scipy-0.7.1rc2
>
> $ uname -a
> Darwin hagi.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30
> 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC  Power
> Macintosh powerpc
>
> $ which python
> /Users/zgzg/bin/python
>
> $ python
> Python 2.5.4 (r254:67916, May  2 2009, 21:23:05)
> [GCC 3.3 20030304 (Apple Computer, Inc. build 1671)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import numpy
>>>> numpy.__version__
> '1.3.0'
>>>> ^D
>
> $ which gcc
> /usr/bin/gcc
>
> $ gcc --version
> gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1671)
> Copyright (C) 2002 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> $ python setup.py build
>
>   (SNIP MANY LINES)
>
> creating build/temp.macosx-10.3-ppc-2.5/scipy/sparse/linalg/eigen
> creating build/temp.macosx-10.3-ppc-2.5/scipy/sparse/linalg/eigen/arpack
> creating build/temp.macosx-10.3-ppc-2.5/scipy/sparse/linalg/eigen/arpack/ARPACK
> creating build/temp.macosx-10.3-ppc-2.5/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS
> compile options: '-Iscipy/sparse/linalg/eigen/arpack/ARPACK/SRC
> -I/Users/zgzg/lib/python2.5/site-packages/numpy/core/include -c'
> gcc: scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:4:
> warning: type defaults to `int' in declaration of `complex'
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:4:
> error: parse error before "float"
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:6:
> warning: function declaration isn't a prototype
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c: In
> function `veclib_cdotc_':
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:7:
> error: `N' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:7:
> error: (Each undeclared identifier is reported only once
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:7:
> error: for each function it appears in.)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:7:
> error: `X' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:7:
> error: `incX' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:7:
> error: `Y' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:7:
> error: `incY' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:7:
> error: `dotc' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c: At top level:
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:10:
> warning: type defaults to `int' in declaration of `complex'
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:10:
> error: parse error before "float"
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:12:
> warning: function declaration isn't a prototype
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c: In
> function `veclib_cdotu_':
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:13:
> error: `N' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:13:
> error: `X' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:13:
> error: `incX' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:13:
> error: `Y' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:13:
> error: `incY' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:13:
> error: `dotu' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c: At top level:
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:16:
> error: parse error before '*' token
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:18:
> warning: function declaration isn't a prototype
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c: In
> function `veclib_zdotc_':
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:19:
> error: `N' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:19:
> error: `X' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:19:
> error: `incX' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:19:
> error: `Y' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:19:
> error: `incY' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:19:
> error: `dotu' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c: At top level:
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:21:
> error: parse error before '*' token
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:23:
> warning: function declaration isn't a prototype
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c: In
> function `veclib_zdotu_':
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:24:
> error: `N' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:24:
> error: `X' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:24:
> error: `incX' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:24:
> error: `Y' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:24:
> error: `incY' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:24:
> error: `dotu' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:4:
> warning: type defaults to `int' in declaration of `complex'
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:4:
> error: parse error before "float"
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:6:
> warning: function declaration isn't a prototype
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c: In
> function `veclib_cdotc_':
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:7:
> error: `N' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:7:
> error: (Each undeclared identifier is reported only once
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:7:
> error: for each function it appears in.)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:7:
> error: `X' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:7:
> error: `incX' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:7:
> error: `Y' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:7:
> error: `incY' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:7:
> error: `dotc' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c: At top level:
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:10:
> warning: type defaults to `int' in declaration of `complex'
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:10:
> error: parse error before "float"
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:12:
> warning: function declaration isn't a prototype
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c: In
> function `veclib_cdotu_':
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:13:
> error: `N' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:13:
> error: `X' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:13:
> error: `incX' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:13:
> error: `Y' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:13:
> error: `incY' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:13:
> error: `dotu' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c: At top level:
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:16:
> error: parse error before '*' token
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:18:
> warning: function declaration isn't a prototype
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c: In
> function `veclib_zdotc_':
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:19:
> error: `N' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:19:
> error: `X' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:19:
> error: `incX' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:19:
> error: `Y' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:19:
> error: `incY' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:19:
> error: `dotu' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c: At top level:
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:21:
> error: parse error before '*' token
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:23:
> warning: function declaration isn't a prototype
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c: In
> function `veclib_zdotu_':
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:24:
> error: `N' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:24:
> error: `X' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:24:
> error: `incX' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:24:
> error: `Y' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:24:
> error: `incY' undeclared (first use in this function)
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c:24:
> error: `dotu' undeclared (first use in this function)
> error: Command "gcc -fno-strict-aliasing -Wno-long-double
> -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall
> -Wstrict-prototypes -Iscipy/sparse/linalg/eigen/arpack/ARPACK/SRC
> -I/Users/zgzg/lib/python2.5/site-packages/numpy/core/include -c
> scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c -o
> build/temp.macosx-10.3-ppc-2.5/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.o"
> failed with exit status 1
>
> Best regards,
>


More information about the SciPy-user mailing list