[SciPy-user] Problems during build

Nils Wagner nwagner at mecha.uni-stuttgart.de
Thu Feb 21 09:30:32 CST 2002


Hi,

I just tried to build scipy from latest CVS ...

wagner at lisa:~/mysoftware/scipy> python setup.py build
Traceback (most recent call last):
  File "setup.py", line 127, in ?
    install_package()
  File "setup.py", line 93, in install_package
    config.extend([get_package_config(x,parent_package)for x in
standard_packages])
  File "setup.py", line 46, in get_package_config
    config = mod.configuration(parent)
  File "linalg/setup_linalg.py", line 26, in configuration
   
config['ext_modules'].extend(extensions(dot_join(parent_package,'linalg')))
  File "linalg/setup_linalg.py", line 78, in extensions
    ext = generic_extension(mod,sources,parent_package,use_underscore=1)
  File "linalg/setup_linalg.py", line 36, in generic_extension
    raise ValueError, msg
ValueError: Atlas libraries not found.  Either install them in
/usr/lib/atlas or /usr/local/lib/atlas and re
try setup.py, or edit setup.py to specify your own blas and lapack
directories and libs

How can I specify the blas/lapack/atlas directories and libs in setup.py
?

These are my local settings:

-rw-r--r--    1 root     root      3624658 Sep 24 02:51
/usr/lib/libatlas.a

-rw-r--r--    1 root     root       657706 Sep 24 01:00
/usr/lib/libblas.a
lrwxrwxrwx    1 root     root           12 Okt 22 19:27
/usr/lib/libblas.so -> libblas.so.2
lrwxrwxrwx    1 root     root           16 Okt 22 19:27
/usr/lib/libblas.so.2 -> libblas.so.2.2.0
-rwxr-xr-x    1 root     root       559600 Sep 24 01:01
/usr/lib/libblas.so.2.2.0

-rw-r--r--    1 root     root      5763150 Sep 24 01:00
/usr/lib/liblapack.a
lrwxrwxrwx    1 root     root           14 Okt 22 19:27
/usr/lib/liblapack.so -> liblapack.so.3
lrwxrwxrwx    1 root     root           18 Okt 22 19:27
/usr/lib/liblapack.so.3 -> liblapack.so.3.0.0
-rwxr-xr-x    1 root     root      4826626 Sep 24 01:01
/usr/lib/liblapack.so.3.0.0
-rw-r--r--    1 root     root       157712 Sep 24 02:51
/usr/lib/liblapack_atlas.a

Thanks in advance

                    Nils



More information about the SciPy-user mailing list