[SciPy-user] Installation problems on Mac OS X

Travis Oliphant oliphant at ee.byu.edu
Fri Oct 6 20:24:51 CDT 2006


R. Padraic Springuel wrote:

>I just migrated to a Mac OS X environment and am trying to install numpy 
>from the source files (a first for this former Windows user).  However, 
>when I do so, I get the following error:
>
>Running from numpy source directory.
>F2PY Version 2_3198
>blas_opt_info:
>  FOUND:
>    extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
>    define_macros = [('NO_ATLAS_INFO', 3)]
>    extra_compile_args = ['-faltivec', 
>'-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 = ['-faltivec']
>
>running install
>running build
>running config_fc
>running build_src
>building py_modules sources
>building extension "numpy.core.multiarray" sources
>Generating build/src.macosx-10.3-fat-2.5/numpy/core/config.h
>customize NAGFCompiler
>customize AbsoftFCompiler
>customize IbmFCompiler
>Could not locate executable g77
>Could not locate executable f77
>Could not locate executable gfortran
>Could not locate executable f95
>customize GnuFCompiler
>customize Gnu95FCompiler
>customize G95FCompiler
>customize GnuFCompiler
>customize Gnu95FCompiler
>customize NAGFCompiler
>customize NAGFCompiler using config
>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
>
>compile options: 
>'-I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 
>-Inumpy/core/src -Inumpy/core/include 
>-I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c'
>gcc: _configtest.c
>sh: line 1: gcc: command not found
>sh: line 1: gcc: command not found
>failure.
>
>  
>

[snip]

>Having not done a source file installation before, I don't know what to 
>make of this.  Can anybody help me out?
>
>  
>
The important information of the error is just above the [snip].  Do you 
have a compiler installed?

-Travis






More information about the SciPy-user mailing list