Thanks, Travis. I don't have problem building other applications on the same 
platform.
Are there any files in the extracted /numpy-1.0.3 that I can modify the path of 
the C
compiler? I have checked all the files in it withouth luck.

Thanks a lot.


Quoting Travis Oliphant <[EMAIL PROTECTED]>:

> 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
> 
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
> 



_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to