[Numpy-discussion] svn numpy not building on osx 10.5.6, python.org python 2.5.2

Charles R Harris charlesr.harris@gmail....
Sat Jun 6 23:58:10 CDT 2009


On Sat, Jun 6, 2009 at 5:07 PM, George Nurser <gnurser@googlemail.com>wrote:

> Hi,
> the current svn version 7039 isn't compiling for me.
> Clean checkout, old numpy directories removed from site-packages..
> Same command did work for svn r 6329
>
> [george-nursers-macbook-pro-15:~/src/numpy] agn% python setup.py
> config_fc --fcompiler=gnu95 build_clib --fcompiler=gnu95 build_ext
> --fcompiler=gnu95 install
> Running from numpy source directory.
> F2PY Version 2_7039
> numpy/core/setup_common.py:81: MismatchCAPIWarning: API mismatch
> detected, the C API version numbers have to be updated. Current C api
> version is 3, with checksum c80bc716a6f035470a6f3f448406d9d5, but
> recorded checksum for C API version 3 in codegen_dir/cversions.txt is
> bf22c0d05b31625d2a7015988d61ce5a. If functions were added in the C
> API, you have to update C_API_VERSION  in numpy/core/setup_common.pyc.
>  MismatchCAPIWarning)
> blas_opt_info:
>  FOUND:
>   extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
>   define_macros = [('NO_ATLAS_INFO', 3)]
>   extra_compile_args = ['-msse3',
> '-I/System/Library/Frameworks/vecLib.framework/Headers']
>
> lapack_opt_info:
>  FOUND:
>   extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
>   define_macros = [('NO_ATLAS_INFO', 3)]
>   extra_compile_args = ['-msse3']
>
> running config_fc
> unifing config_fc, config, build_clib, build_ext, build commands
> --fcompiler options
> running build_clib
> customize UnixCCompiler
> customize UnixCCompiler using build_clib
> building 'npymath' library
> compiling C sources
> C compiler: gcc -arch ppc -arch i386 -isysroot
> /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -Wno-long-double
> -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3
>
> error: unknown file type '.src' (from 'numpy/core/src/npy_math.c.src')
>

I've saw that once long ago, but I forget the cause and the cure. Try
removing the build directory first.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20090606/e344e928/attachment.html 


More information about the Numpy-discussion mailing list