Hi guys,
I have two annoying problems with sage.
1. i'm trying to install the scipy spkg. But it fails with this error:
****************************************************
fft_opt_info:
fftw3_info:
libraries fftw3 not found in /opt/sage/local/lib
libraries fftw3 not found in /usr/local/lib
libraries fftw3 not found in /usr/lib
fftw3 not found
NOT AVAILABLE
fftw2_info:
libraries rfftw,fftw not found in /opt/sage/local/lib
libraries rfftw,fftw not found in /usr/local/lib
libraries rfftw,fftw not found in /usr/lib
fftw2 not found
NOT AVAILABLE
dfftw_info:
libraries drfftw,dfftw not found in /opt/sage/local/lib
libraries drfftw,dfftw not found in /usr/local/lib
libraries drfftw,dfftw not found in /usr/lib
dfftw not found
NOT AVAILABLE
djbfft_info:
NOT AVAILABLE
NOT AVAILABLE
blas_opt_info:
blas_mkl_info:
libraries mkl,vml,guide not found in /opt/sage/local/lib
libraries mkl,vml,guide not found in /usr/local/lib
libraries mkl,vml,guide not found in /usr/lib
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in /opt/sage/local/lib
libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
libraries ptf77blas,ptcblas,atlas not found in /usr/lib/atlas
libraries ptf77blas,ptcblas,atlas not found in /usr/lib/sse
libraries ptf77blas,ptcblas,atlas not found in /usr/lib
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in /opt/sage/local/lib
libraries f77blas,cblas,atlas not found in /usr/local/lib
libraries f77blas,cblas,atlas not found in /usr/lib/atlas
FOUND:
libraries = ['f77blas', 'cblas', 'atlas']
library_dirs = ['/usr/lib/sse']
language = c
include_dirs = ['/usr/include']
Could not locate executable gfortran
Could not locate executable f95
customize GnuFCompiler
customize GnuFCompiler
customize GnuFCompiler using config
compiling '_configtest.c':
/* This file is generated from numpy_distutils/system_info.py */
void ATL_buildinfo(void);
int main(void) {
ATL_buildinfo();
return 0;
}
C compiler: gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
prototypes -fPIC
compile options: '-c'
gcc: _configtest.c
gcc _configtest.o -L/usr/lib/sse -lf77blas -lcblas -latlas -o
_configtest
ATLAS version 3.5.19 built by camm on Mon Dec 22 18:12:18 UTC 2003:
UNAME : Linux intech19 2.4.20 #1 SMP Thu Jan 23 11:24:05 EST
2003 i686 GNU/Linux
INSTFLG :
MMDEF : /fix/t1/camm/atlas/atlas-3.5.19/CONFIG/ARCHS/PIIISSE1/
gcc/gemm
ARCHDEF : /fix/t1/camm/atlas/atlas-3.5.19/CONFIG/ARCHS/PIIISSE1/
gcc/misc
F2CDEFS : -DAdd__ -DStringSunStyle
CACHEEDGE: 98304
F77 : /usr/bin/g77, version GNU Fortran (GCC) 3.3.2 20030812
(Debian prerelease)
F77FLAGS : -fomit-frame-pointer -O
CC : /usr/bin/gcc, version gcc (GCC) 3.3.2 20030812 (Debian
prerelease)
CC FLAGS : -fomit-frame-pointer -O3 -funroll-all-loops
MCC : /usr/bin/gcc, version gcc (GCC) 3.3.2 20030812 (Debian
prerelease)
MCCFLAGS : -fomit-frame-pointer -O
success!
removing: _configtest.c _configtest.o _configtest
FOUND:
libraries = ['f77blas', 'cblas', 'atlas']
library_dirs = ['/usr/lib/sse']
language = c
define_macros = [('ATLAS_INFO', '"\\"3.5.19\\""')]
include_dirs = ['/usr/include']
ATLAS version 3.5.19
lapack_opt_info:
lapack_mkl_info:
mkl_info:
libraries mkl,vml,guide not found in /opt/sage/local/lib
libraries mkl,vml,guide not found in /usr/local/lib
libraries mkl,vml,guide not found in /usr/lib
NOT AVAILABLE
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in /opt/sage/local/lib
libraries lapack_atlas not found in /opt/sage/local/lib
libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries ptf77blas,ptcblas,atlas not found in /usr/lib/atlas
libraries lapack_atlas not found in /usr/lib/atlas
libraries ptf77blas,ptcblas,atlas not found in /usr/lib/sse
libraries ptf77blas,ptcblas,atlas not found in /usr/lib
libraries lapack_atlas not found in /usr/lib
numpy.distutils.system_info.atlas_threads_info
NOT AVAILABLE
atlas_info:
libraries f77blas,cblas,atlas not found in /opt/sage/local/lib
libraries lapack_atlas not found in /opt/sage/local/lib
libraries f77blas,cblas,atlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries f77blas,cblas,atlas not found in /usr/lib/atlas
libraries lapack_atlas not found in /usr/lib/atlas
libraries lapack not found in /usr/lib/sse
libraries f77blas,cblas,atlas not found in /usr/lib
libraries lapack_atlas not found in /usr/lib
numpy.distutils.system_info.atlas_info
/opt/sage/local/lib/python2.5/site-packages/numpy/distutils/
system_info.py:903: UserWarning:
*********************************************************************
Could not find lapack library within the ATLAS installation.
*********************************************************************
warnings.warn(message)
FOUND:
libraries = ['f77blas', 'cblas', 'atlas']
library_dirs = ['/usr/lib/sse']
language = c
define_macros = [('ATLAS_WITHOUT_LAPACK', None)]
include_dirs = ['/usr/include']
lapack_info:
libraries lapack not found in /opt/sage/local/lib
libraries lapack not found in /usr/local/lib
libraries lapack not found in /usr/lib
NOT AVAILABLE
/opt/sage/local/lib/python2.5/site-packages/numpy/distutils/
system_info.py:1221: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
warnings.warn(LapackNotFoundError.__doc__)
lapack_src_info:
NOT AVAILABLE
/opt/sage/local/lib/python2.5/site-packages/numpy/distutils/
system_info.py:1224: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
warnings.warn(LapackSrcNotFoundError.__doc__)
Traceback (most recent call last):
File "setup.py", line 55, in <module>
setup_package()
File "setup.py", line 47, in setup_package
configuration=configuration )
File "/opt/sage/local/lib/python2.5/site-packages/numpy/distutils/
core.py", line 144, in setup
config = configuration()
File "setup.py", line 19, in configuration
config.add_subpackage('Lib')
File "/opt/sage/local/lib/python2.5/site-packages/numpy/distutils/
misc_util.py", line 765, in add_subpackage
caller_level = 2)
File "/opt/sage/local/lib/python2.5/site-packages/numpy/distutils/
misc_util.py", line 748, in get_subpackage
caller_level = caller_level + 1)
File "/opt/sage/local/lib/python2.5/site-packages/numpy/distutils/
misc_util.py", line 695, in _get_configuration_from_setup_py
config = setup_module.configuration(*args)
File "./Lib/setup.py", line 12, in configuration
config.add_subpackage('lib')
File "/opt/sage/local/lib/python2.5/site-packages/numpy/distutils/
misc_util.py", line 765, in add_subpackage
caller_level = 2)
File "/opt/sage/local/lib/python2.5/site-packages/numpy/distutils/
misc_util.py", line 748, in get_subpackage
caller_level = caller_level + 1)
File "/opt/sage/local/lib/python2.5/site-packages/numpy/distutils/
misc_util.py", line 695, in _get_configuration_from_setup_py
config = setup_module.configuration(*args)
File "Lib/lib/setup.py", line 8, in configuration
config.add_subpackage('lapack')
File "/opt/sage/local/lib/python2.5/site-packages/numpy/distutils/
misc_util.py", line 765, in add_subpackage
caller_level = 2)
File "/opt/sage/local/lib/python2.5/site-packages/numpy/distutils/
misc_util.py", line 748, in get_subpackage
caller_level = caller_level + 1)
File "/opt/sage/local/lib/python2.5/site-packages/numpy/distutils/
misc_util.py", line 695, in _get_configuration_from_setup_py
config = setup_module.configuration(*args)
File "Lib/lib/lapack/setup.py", line 32, in configuration
lapack_opt = get_info('lapack_opt',notfound_action=2)
File "/opt/sage/local/lib/python2.5/site-packages/numpy/distutils/
system_info.py", line 256, in get_info
return cl().get_info(notfound_action)
File "/opt/sage/local/lib/python2.5/site-packages/numpy/distutils/
system_info.py", line 403, in get_info
raise self.notfounderror,self.notfounderror.__doc__
numpy.distutils.system_info.NotFoundError: Some third-party program or
library is not found.
Error building scipy.
It seems it can not find some libraries. It complains about altas and
lapack. But i have both of them installed. I'm running sage on kubuntu
7.04.
$dpkg-query -L atlas3-base:
/usr
/usr/lib
/usr/lib/libatlas.so.3.0
/usr/lib/libcblas.so.3.0
/usr/lib/libf77blas.so.3.0
/usr/lib/liblapack_atlas.so.3.0
/usr/lib/atlas
/usr/lib/atlas/libblas.so.3.0
/usr/lib/atlas/liblapack.so.3.0
/usr/share
/usr/share/doc
/usr/share/doc/atlas3-base
/usr/share/doc/atlas3-base/changelog.Debian.gz
/usr/share/doc/atlas3-base/used_lapack_version
/usr/share/doc/atlas3-base/TODO.Debian
/usr/share/doc/atlas3-base/copyright
/usr/share/doc/atlas3-base/test_results.gz
/usr/share/doc/atlas3-base/README.Debian.gz
/usr/lib/libatlas.so.3
/usr/lib/libcblas.so.3
/usr/lib/libf77blas.so.3
/usr/lib/liblapack_atlas.so.3
/usr/lib/atlas/libblas.so.3
/usr/lib/atlas/liblapack.so.3
So, how could i solve this?
2. I like "popup window" of matplotlib, if i use any GUI backend. But
it seems, this is not possible with sage. Setting the backend to
GTK,GTKAgg, WXAgg,... in $HOME/.sage/matplotlibrc produces errors,
that it can not find some modules. Thats ok, because they are not
installed by default. So i've installed the pygtk spkg, but still i
can not use GTK or GTKAgg as backend. It complains about a missing
gobject. Is the pygtk spkg not up2date?
In general wouldn't it be possible to install sage as "part of the
system"? So that it can use all available python-modules or existing
maxima installations,... that are installed on the system? I see the
advantage of a standalone package for easier installation. Noone has
to look for all the necessary deps. Maybe two different versions of
sage should be offered. One as standalone and one, that uses existing
installed deps.
Best wishes
Volker
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-forum
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---