[SciPy-user] Compiling numpy and scipy on AIX 5.3

Langella Raphael raphael.langella@steria.cnes...
Fri Apr 6 03:33:47 CDT 2007


Something akward is going on :

I typed : 
export CXX="xlc++_r"

And got :

compiling C++ sources
C compiler: xlc++_r -DNDEBUG -O

creating build/temp.aix-5.3-2.5/Lib/cluster
creating build/temp.aix-5.3-2.5/Lib/cluster/src
compile options: '-I/usr/local/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include/python2.5 -c'
xlc++_r: Lib/cluster/src/vq_wrap.cpp
"Lib/cluster/src/vq_wrap.cpp", line 582.1: 1540-1101 (W) A return value of type "int" is expected.
"Lib/cluster/src/vq_wrap.cpp", line 590.1: 1540-1101 (W) A return value of type "int" is expected.
xlc++_r cc_r -bI:/usr/local/lib/python2.5/config/python.exp build/temp.aix-5.3-2.5/Lib/cluster/src/vq_wrap.o -Lbuild/temp.aix-5.3-2.5 -o build/lib.aix-5.3-2.5/scipy/cluster/_vq.so
xlc++_r: 1501-228 input file cc_r not found
xlc++_r: 1501-228 input file cc_r not found
error: Command "xlc++_r cc_r -bI:/usr/local/lib/python2.5/config/python.exp build/temp.aix-5.3-2.5/Lib/cluster/src/vq_wrap.o -Lbuild/temp.aix-5.3-2.5 -o build/lib.aix-5.3-2.5/scipy/cluster/_vq.so" failed with exit status 252

What the heck is happening here? BTW, I tried with 0.5.2 and SVN

> -----Message d'origine-----
> De : scipy-user-bounces@scipy.org 
> [mailto:scipy-user-bounces@scipy.org] De la part de David M. Cooke
> Envoyé : jeudi 5 avril 2007 16:44
> À : SciPy Users List
> Objet : Re: [SciPy-user] Compiling numpy and scipy onAIX 5.3
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Langella Raphael wrote:
> > But there's still the problem of scipy not finding my C++ 
> compiler, or 
> > invoking the wrong one.
> 
> That's probably a problem with how python was compiled. Set 
> the environment variable CXX to your C++ compiler, and try again.
> 
> - --
> |>|\/|<
> /------------------------------------------------------------------\
> |David M. Cooke              http://arbutus.physics.mcmaster.ca/dmc/
> |cookedm@physics.mcmaster.ca
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFGFQsrN9ixZKFWjRQRAnUeAJ4pQ9oJw2vka6deRdlBCYpAlIyX3gCeNMSI
> KUwnvioU+XJP2rkvuepJXXY=
> =OIJN
> -----END PGP SIGNATURE----- 
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org 
> http://projects.scipy.org/mailman/listinfo/scipy-user
> 


More information about the SciPy-user mailing list