[SciPy-user] numpy-1.0rc2 still does not build on MacOS X 10.4.7 (PPC)

Tom Bridgman cygnusx1 at mac.com
Tue Oct 17 16:40:12 CDT 2006


Selected gcc 3.3
g77v3.4 installed from tarball
fftw libraries installed as described in
http://www.scipy.org/Installing_SciPy/Mac_OS_X

numpy build still fails.  I suspect the important error is

gcc: cannot specify -o with -c or -S and multiple compilations

but I have no idea of where to start with this.

I suspect is something to do with PPC vs Intel build options?   
Perhaps I need to turn off the '-c' which appears in the compile  
options but where is that located?

Suggestions?
Tom

Log below:

Planck:/Users/Shared/ToBeRestored/Python/numpy-1.0rc2 bridgman$ sudo  
python setup.py install
Password:
Running from numpy source directory.
F2PY Version 2_3296
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.4-fat-2.4/numpy/core/config.h
customize NAGFCompiler
customize AbsoftFCompiler
customize IbmFCompiler
Could not locate executable f77
Could not locate executable gfortran
Could not locate executable f95
customize GnuFCompiler
customize GnuFCompiler
customize GnuFCompiler 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.4/ 
include/python2.4 -Inumpy/core/src -Inumpy/core/include -I/Library/ 
Frameworks/Python.framework/Versions/2.4/include/python2.4 -c'
gcc: _configtest.c
gcc: cannot specify -o with -c or -S and multiple compilations
gcc: cannot specify -o with -c or -S and multiple compilations
failure.
removing: _configtest.c _configtest.o
Traceback (most recent call last):
   File "setup.py", line 89, in ?
     setup_package()
   File "setup.py", line 82, in setup_package
     configuration=configuration )
   File "/Users/Shared/ToBeRestored/Python/numpy-1.0rc2/numpy/ 
distutils/core.py", line 174, in setup
     return old_setup(**new_attr)
   File "/Library/Frameworks/Python.framework/Versions/2.4//lib/ 
python2.4/distutils/core.py", line 149, in setup
     dist.run_commands()
   File "/Library/Frameworks/Python.framework/Versions/2.4//lib/ 
python2.4/distutils/dist.py", line 946, in run_commands
     self.run_command(cmd)
   File "/Library/Frameworks/Python.framework/Versions/2.4//lib/ 
python2.4/distutils/dist.py", line 966, in run_command
     cmd_obj.run()
   File "/Users/Shared/ToBeRestored/Python/numpy-1.0rc2/numpy/ 
distutils/command/install.py", line 16, in run
     r = old_install.run(self)
   File "/Library/Frameworks/Python.framework/Versions/2.4//lib/ 
python2.4/distutils/command/install.py", line 506, in run
     self.run_command('build')
   File "/Library/Frameworks/Python.framework/Versions/2.4//lib/ 
python2.4/distutils/cmd.py", line 333, in run_command
     self.distribution.run_command(command)
   File "/Library/Frameworks/Python.framework/Versions/2.4//lib/ 
python2.4/distutils/dist.py", line 966, in run_command
     cmd_obj.run()
   File "/Library/Frameworks/Python.framework/Versions/2.4//lib/ 
python2.4/distutils/command/build.py", line 112, in run
     self.run_command(cmd_name)
   File "/Library/Frameworks/Python.framework/Versions/2.4//lib/ 
python2.4/distutils/cmd.py", line 333, in run_command
     self.distribution.run_command(command)
   File "/Library/Frameworks/Python.framework/Versions/2.4//lib/ 
python2.4/distutils/dist.py", line 966, in run_command
     cmd_obj.run()
   File "/Users/Shared/ToBeRestored/Python/numpy-1.0rc2/numpy/ 
distutils/command/build_src.py", line 87, in run
     self.build_sources()
   File "/Users/Shared/ToBeRestored/Python/numpy-1.0rc2/numpy/ 
distutils/command/build_src.py", line 106, in build_sources
     self.build_extension_sources(ext)
   File "/Users/Shared/ToBeRestored/Python/numpy-1.0rc2/numpy/ 
distutils/command/build_src.py", line 212, in build_extension_sources
     sources = self.generate_sources(sources, ext)
   File "/Users/Shared/ToBeRestored/Python/numpy-1.0rc2/numpy/ 
distutils/command/build_src.py", line 270, in generate_sources
     source = func(extension, build_dir)
   File "numpy/core/setup.py", line 50, in generate_config_h
     raise "ERROR: Failed to test configuration"
ERROR: Failed to test configuration
Planck:/Users/Shared/ToBeRestored/Python/numpy-1.0rc2 bridgman$





More information about the SciPy-user mailing list