[Numpy-discussion] numscons missing directory?

Sul, Young L Sul@hcp.med.harvard....
Thu Mar 19 16:08:19 CDT 2009


Hi,

I'm trying to install numpy on a Solaris 10 intel (well AMD) system.

I've been struggling to get numpy installed using the native sunperf libraries and have tried to use numscons.

Numscons, however, throws an error and complains about a missing directory. It seems that the scons-local directory is not created (see below). Am I missing a step? I'm assuming the scons-local directory should be created when numscons is installed.

I did:
easy_install numscons (the upgrade changed nothing)

I then pulled the latest version of numpy via SVN, and from the numpy directory ran

python setupscons.py install

Executing scons command (pkg is numpy.core): /usr/bin/python "/usr/lib/python2.4/site-packages/numscons-0.9.4-py2.4.egg/numscons/scons-local/scons.py" -f numpy/core/SConstruct -I. scons_tool_path="" src_dir="numpy/core" pkg_name="numpy.core" log_level=50 distutils_libdir="../../../../build/lib.solaris-2.10-i86pc-2.4" cc_opt=/usr/lib/python2.4/pycc cc_opt_path="/usr/lib/python2.4" f77_opt=sunf77 f77_opt_path="/usr/bin" cxx_opt=/usr/lib/python2.4/pyCC cxx_opt_path="/usr/lib/python2.4" include_bootstrap=../../../../numpy/core/include silent=0 bootstrapping=1
/usr/bin/python: can't open file '/usr/lib/python2.4/site-packages/numscons-0.9.4-py2.4.egg/numscons/scons-local/scons.py': [Errno 2] No such file or directory

Full output follows here:

Running from numpy source directory.
non-existing path in 'numpy/distutils': 'site.cfg'
F2PY Version 2_6696
non-existing path in 'numpy/core': 'code_generators/array_api_order.txt'
non-existing path in 'numpy/core': 'code_generators/multiarray_api_order.txt'
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
building py_modules sources
building extension "numpy.core" sources
building extension "numpy.lib" sources
building extension "numpy.numarray" sources
building extension "numpy.fft" sources
building extension "numpy.linalg" sources
building extension "numpy.random" sources
building extension "numpy" sources
building data_files sources
running build_py
copying build/src.solaris-2.10-i86pc-2.4/numpy/distutils/__config__.py -> build/lib.solaris-2.10-i86pc-2.4/numpy/distutils
copying numpy/f2py/__svn_version__.py -> build/lib.solaris-2.10-i86pc-2.4/numpy/f2py
copying numpy/core/__svn_version__.py -> build/lib.solaris-2.10-i86pc-2.4/numpy/core
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
running scons
customize UnixCCompiler
Found executable /usr/lib/python2.4/pycc
customize SunFCompiler
Found executable /usr/bin/f90
customize SunFCompiler
customize UnixCCompiler
customize UnixCCompiler using scons
Found executable /usr/lib/python2.4/pyCC
is bootstrapping ? True
Found executable /usr/bin/f90
Executing scons command (pkg is numpy.core): /usr/bin/python "/usr/lib/python2.4/site-packages/numscons-0.9.4-py2.4.egg/numscons/scons-local/scons.py" -f numpy/core/SConstruct -I. scons_tool_path="" src_dir="numpy/core" pkg_name="numpy.core" log_level=50 distutils_libdir="../../../../build/lib.solaris-2.10-i86pc-2.4" cc_opt=/usr/lib/python2.4/pycc cc_opt_path="/usr/lib/python2.4" f77_opt=sunf77 f77_opt_path="/usr/bin" cxx_opt=/usr/lib/python2.4/pyCC cxx_opt_path="/usr/lib/python2.4" include_bootstrap=../../../../numpy/core/include silent=0 bootstrapping=1
/usr/bin/python: can't open file '/usr/lib/python2.4/site-packages/numscons-0.9.4-py2.4.egg/numscons/scons-local/scons.py': [Errno 2] No such file or directory
error: Error while executing scons command. See above for more information.
If you think it is a problem in numscons, you can also try executing the scons
command with --log-level option for more detailed output of what numscons is
doing, for example --log-level=0; the lowest the level is, the more detailed
the output it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20090319/b17586c7/attachment-0001.html 


More information about the Numpy-discussion mailing list