[SciPy-dev] any FreeBSD user here ?

Ying-Chieh Liao ijliao at csie.nctu.edu.tw
Tue Jun 8 20:33:16 CDT 2004

I'd like to use SciPy on FreeBSD
I've installed all the dependencies (all from FreeBSD ports collection):
	python 2.3.4
	py-numeric 23.1
	atlas 3.6.0
	fftw 2.1.5
	djbfft 0.76

But when I build scipy, there are many error messages (attached below)
looks like it cannot find the lapack and blas lib
I think maybe because FreeBSD changes it's name ...
        195:-lalapack.1 => /usr/local/lib/libalapack.so.1
        197:-lcblas.1 => /usr/local/lib/libcblas.so.1
        198:-lf77blas.1 => /usr/local/lib/libf77blas.so.1
        200:-lalapack_r.1 => /usr/local/lib/libalapack_r.so.1
        202:-lcblas_r.1 => /usr/local/lib/libcblas_r.so.1
        203:-lf77blas_r.1 => /usr/local/lib/libf77blas_r.so.1
        205:-lptcblas.1 => /usr/local/lib/libptcblas.so.1
        206:-lptf77blas.1 => /usr/local/lib/libptf77blas.so.1

How can I let scipy find these libs ?

scipy_core/scipy_distutils/system_info.py:595: UserWarning:
    Could not find lapack library within the ATLAS installation.
    libraries = ['ptf77blas', 'ptcblas', 'atlas']
    library_dirs = ['/usr/local/lib']
    language = c                  
    define_macros = [('ATLAS_WITHOUT_LAPACK', None)]
    include_dirs = ['/usr/local/include']
running build_src                 
building extension "atlas_version" sources
  adding 'build/src/atlas_version_0x1f56736.c' to sources.
running build_ext                 
customize UnixCCompiler           
customize UnixCCompiler using build_ext
  NOT AVAILABLE                   
scipy_core/scipy_distutils/system_info.py:916: UserWarning:
    Lapack (http://www.netlib.org/lapack/) libraries not found.
    Directories to search for the libraries can be specified in the
    scipy_distutils/site.cfg file (section [lapack]) or by setting
    the LAPACK environment variable.
  NOT AVAILABLE                   
scipy_core/scipy_distutils/system_info.py:919: UserWarning:
    Lapack (http://www.netlib.org/lapack/) sources not found.
    Directories to search for the sources can be specified in the
    scipy_distutils/site.cfg file (section [lapack_src]) or by setting
    the LAPACK_SRC environment variable.
  NOT AVAILABLE                   
Traceback (most recent call last):
  File "setup.py", line 110, in ? 
  File "setup.py", line 83, in setup_package
    ignore_packages = ignore_packages)
  File "scipy_core/scipy_distutils/misc_util.py", line 459, in get_subpackages
    config = setup_module.configuration(*args)
  File "/tmp/py-scipy/work/SciPy_complete-0.3/Lib/linalg/setup_linalg.py", line 40, in configuration
    raise NotFoundError,'no lapack/blas resources found'
scipy_distutils.system_info.NotFoundError: no lapack/blas resources found
Pi seconds is a nanocentury.
					--- Tom Duff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/scipy-dev/attachments/20040609/a165a00b/attachment.bin 

More information about the Scipy-dev mailing list