[SciPy-User] Numpy / Scipy build / test errors on Mac OS X Lion with Macports

David Cournapeau cournape@gmail....
Wed Nov 23 12:39:15 CST 2011


On Wed, Nov 23, 2011 at 5:54 PM, Christoph Deil
<deil.christoph@googlemail.com> wrote:
>
> On Nov 23, 2011, at 3:26 PM, Robert Kern wrote:
>
> Would it be helpful if I file tickets with the build and test logs for numpy
> and scipy using the XCode and Macports compilers, or are these problems
> well-known and simply too hard to fix?
>
> I don't know what problems you are referring to, so yes, reporting
> them would help.
>
> I tried to install numpy 2.0.0.dev-7f302cc on
> Mac OS X Lion 10.7.2 (11C74)
> XCode 4.2.1 (4D502)
> using these compilers / python:
> $ which python; python
> /opt/local/bin/python
> Python 2.7.2 (default, Nov 23 2011, 11:40:08)
> [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on
> darwin
> $ which gcc; gcc --version
> /usr/bin/gcc
> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
> 5658) (LLVM build 2336.1.00)
> $ which gfortran; gfortran --version
> /opt/local/bin/gfortran
> GNU Fortran (GCC) 4.4.6
>
> The build log contains many errors such as:
> _configtest.c:1:20: error: endian.h: No such file or directory
> _configtest.c:5: error: size of array 'test_array' is negative
> _configtest.c:7: error: 'SIZEOF_LONGDOUBLE' undeclared (first use in this
> function)
> _configtest.c:8: error: 'HAVE_DECL_SIGNBIT' undeclared (first use in this
> function)
> _configtest.c:7: error: 'Py_UNICODE_WIDE' undeclared (first use in this
> function)

Those are errors happening in configuration checks, i.e. most of them
are expected to fail: this is expected.

David


More information about the SciPy-User mailing list