[SciPy-user] Install failure on AIX 5.3 due to missing linker flag prefix for compiler

Loris Bennett loris.bennett at fu-berlin.de
Tue May 26 02:24:06 EDT 2009


Hi,

I am trying to install SciPy 0.7.0 on AIX 5.3. I have managed to install
NumPy 1.3.0 (although there was a minor problem there: 
        
        http://bugs.python.org/issue941346

Now I am getting the following error when I try to install SciPy:

        g++ g++ -pthread
        -bI:/opt/sw/python/Python-2.6.2/lib/python2.6/config/python.exp
        build/temp.aix-5.3-2.6/scipy/interpolate/src/_interpolate.o
        -Lbuild/temp.aix-5.3-2.6 -o
        build/lib.aix-5.3-2.6/scipy/interpolate/_interpolate.so
        g++: '-b' must come at the start of the command line
        g++: '-b' must come at the start of the command line
        error: Command "g++ g++ -pthread
        -bI:/opt/sw/python/Python-2.6.2/lib/python2.6/config/python.exp
        build/temp.aix-5.3-2.6/scipy/interpolate/src/_interpolate.o
        -Lbuild/temp.aix-5.3-2.6 -o
        build/lib.aix-5.3-2.6/scipy/interpolate/_interpolate.so" failed
        with exit status 1

This is essentially the same problem, in that parameters which need to
be passed to the linker need to be prefixed with "-Wl,", which does not
happen. The problem has been reported here:

        http://www.mail-archive.com/numpy-discussion@scipy.org/msg02578.html

but the solution there no longer applies to the current sources.

Any help will be much appreciated.

Loris

-- 
Dr. Loris Bennett
Computer Centre
Freie Universität Berlin
Berlin, Germany




More information about the SciPy-User mailing list