[Numpy-discussion] Numpy 1.0.3 install problem. Help!

Travis Oliphant oliphant.travis at ieee.org
Sat May 26 11:17:16 EDT 2007


Yang, Lu wrote:
> Hi,
> I am installing Numpy 1.0.3 on Solaris 10. I am new to Numpy install. Here are what I
> did and the result of 'python setup.py install'. Please help. Thanks in advance.
>
>   
[snip]
> C compiler: /opt/SUNWspro/bin/cc -i -xO4 -xspace -xstrconst -xpentium -mr -DANSICPP
> -D__STDC_VERSION__=199409L -DNDEBUG -O -xchip=opteron
>
> compile options: '-Ibuild/src.solaris-2.10-i86pc-2.3/numpy/core/src -Inumpy/core/include
> -Ibuild/src.solaris-2.10-i86pc-2.3/numpy/core -Inumpy/core/src -Inumpy/core/include
> -I/usr/sfw/include/python2.3 -c'
> /sgnome/tools/x86-solaris/forte/SOS8/SUNWspro/bin/cc -G -L/lib -xchip=opteron
> build/temp.solaris-2.10-i86pc-2.3/numpy/core/src/multiarraymodule.o -lm -o
> build/lib.solaris-2.10-i86pc-2.3/numpy/core/multiarray.so
> sh: /sgnome/tools/x86-solaris/forte/SOS8/SUNWspro/bin/cc: not found
> sh: /sgnome/tools/x86-solaris/forte/SOS8/SUNWspro/bin/cc: not found
> error: Command "/sgnome/tools/x86-solaris/forte/SOS8/SUNWspro/bin/cc -G -L/lib
> -xchip=opteron build/temp.solaris-2.10-i86pc-2.3/numpy/core/src/multiarraymodule.o -lm
> -o build/lib.solaris-2.10-i86pc-2.3/numpy/core/multiarray.so" failed with exit status
> 1
>   

It looks like  your compiler chain is broken.    It looks like the C 
compiler is first selected as /opt/SUNWspro/bin/cc but then an attempt 
is made to use /sgnome/tools/x86-solaris/forte/SOS8/SUNWspro/bin/cc for 
the linking step.   This step is failing because it can't find the 
compiler. 

Can you build other things on your platform?

-Travis




More information about the NumPy-Discussion mailing list