[SciPy-User] Missing files

pal s. (sp4g10) sp4g10@soton.ac...
Mon Feb 25 15:45:04 CST 2013


Hello,


Installing Scipy on Cygwin's Python fails, and none of the cases found in the install.txt matches our problem.
After downloading the tarball, and attempting to install, there is some errors with regards to missing modules, namely extension modules, and the the ldd command tells that the following doesn't exists:

$ ldd /path/to/ext_module.so
ldd: /path/to/ext_module.so: No such file or directory

There is no INSTALLDIR folder anywhere and can't be found.

The scipy tarball came from the folder: 0.12.0b1, and is named "scipy-0.12.0b1.tar.gz"

This is the output when attempting to install scipy:

Kanol PAL@KanolPAL-PC /scipy-0.12.0b1
$ python setup.py install
Running from scipy source directory.
blas_opt_info:
blas_mkl_info:
  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 /usr/local/lib
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib
  NOT AVAILABLE

atlas_blas_info:
  libraries f77blas,cblas,atlas not found in /usr/local/lib
  libraries f77blas,cblas,atlas not found in /usr/lib
  NOT AVAILABLE

/usr/lib/python2.6/site-packages/numpy/distutils/system_info.py:1425: UserWarning:
    Atlas (http://math-atlas.sourceforge.net/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [atlas]) or by setting
    the ATLAS environment variable.
  warnings.warn(AtlasNotFoundError.__doc__)
blas_info:
  libraries blas not found in /usr/local/lib
  FOUND:
    libraries = ['blas']
    library_dirs = ['/usr/lib']
    language = f77

  FOUND:
    libraries = ['blas']
    library_dirs = ['/usr/lib']
    define_macros = [('NO_ATLAS_INFO', 1)]
    language = f77

lapack_opt_info:
lapack_mkl_info:
mkl_info:
  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 /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  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 /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries f77blas,cblas,atlas not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib
numpy.distutils.system_info.atlas_info
  NOT AVAILABLE

/usr/lib/python2.6/site-packages/numpy/distutils/system_info.py:1340: UserWarning:
    Atlas (http://math-atlas.sourceforge.net/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [atlas]) or by setting
    the ATLAS environment variable.
  warnings.warn(AtlasNotFoundError.__doc__)
lapack_info:
  libraries lapack not found in /usr/local/lib
  FOUND:
    libraries = ['lapack']
    library_dirs = ['/usr/lib']
    language = f77

  FOUND:
    libraries = ['lapack', 'blas']
    library_dirs = ['/usr/lib']
    define_macros = [('NO_ATLAS_INFO', 1)]
    language = f77

umfpack_info:
  libraries umfpack not found in /usr/local/lib
amd_info:
  libraries amd not found in /usr/local/lib
  FOUND:
    libraries = ['amd']
    library_dirs = ['/usr/lib']
    swig_opts = ['-I/usr/include/suitesparse']
    define_macros = [('SCIPY_AMD_H', None)]
    include_dirs = ['/usr/include/suitesparse']

  FOUND:
    libraries = ['umfpack', 'amd']
    library_dirs = ['/usr/lib']
    swig_opts = ['-I/usr/include/suitesparse', '-I/usr/include/suitesparse']
    define_macros = [('SCIPY_UMFPACK_H', None), ('SCIPY_AMD_H', None)]
    include_dirs = ['/usr/include/suitesparse']

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
build_src
building py_modules sources
building library "dfftpack" sources
building library "fftpack" sources
building library "linpack_lite" sources
building library "mach" sources
building library "quadpack" sources
building library "odepack" sources
building library "dop" sources
building library "fitpack" sources
building library "odrpack" sources
building library "minpack" sources
building library "rootfind" sources
building library "superlu_src" sources
building library "arpack_scipy" sources
building library "sc_c_misc" sources
building library "sc_cephes" sources
building library "sc_mach" sources
building library "sc_amos" sources
building library "sc_cdf" sources
building library "sc_specfun" sources
building library "statlib" sources
building extension "scipy.cluster._vq" sources
building extension "scipy.cluster._hierarchy_wrap" sources
building extension "scipy.fftpack._fftpack" sources
f2py options: []
  adding 'build/src.cygwin-1.7.17-i686-2.6/fortranobject.c' to sources.
  adding 'build/src.cygwin-1.7.17-i686-2.6' to include_dirs.
building extension "scipy.fftpack.convolve" sources
f2py options: []
  adding 'build/src.cygwin-1.7.17-i686-2.6/fortranobject.c' to sources.
  adding 'build/src.cygwin-1.7.17-i686-2.6' to include_dirs.
building extension "scipy.integrate._quadpack" sources
building extension "scipy.integrate._odepack" sources
building extension "scipy.integrate.vode" sources
f2py options: []
  adding 'build/src.cygwin-1.7.17-i686-2.6/fortranobject.c' to sources.
  adding 'build/src.cygwin-1.7.17-i686-2.6' to include_dirs.
building extension "scipy.integrate.lsoda" sources
f2py options: []
  adding 'build/src.cygwin-1.7.17-i686-2.6/fortranobject.c' to sources.
  adding 'build/src.cygwin-1.7.17-i686-2.6' to include_dirs.
building extension "scipy.integrate._dop" sources
f2py options: []
  adding 'build/src.cygwin-1.7.17-i686-2.6/fortranobject.c' to sources.
  adding 'build/src.cygwin-1.7.17-i686-2.6' to include_dirs.
building extension "scipy.interpolate.interpnd" sources
building extension "scipy.interpolate._fitpack" sources
building extension "scipy.interpolate.dfitpack" sources
f2py options: []
  adding 'build/src.cygwin-1.7.17-i686-2.6/fortranobject.c' to sources.
  adding 'build/src.cygwin-1.7.17-i686-2.6' to include_dirs.
  adding 'build/src.cygwin-1.7.17-i686-2.6/scipy/interpolate/src/dfitpack-f2pywrappers.f' to sources.
building extension "scipy.interpolate._interpolate" sources
building extension "scipy.io.matlab.streams" sources
building extension "scipy.io.matlab.mio_utils" sources
building extension "scipy.io.matlab.mio5_utils" sources
building extension "scipy.lib.blas.fblas" sources
f2py options: []
  adding 'build/src.cygwin-1.7.17-i686-2.6/fortranobject.c' to sources.
  adding 'build/src.cygwin-1.7.17-i686-2.6' to include_dirs.
  adding 'build/src.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/lib/blas/fblas-f2pywrappers.f' to sources.
building extension "scipy.lib.blas.cblas" sources
  adding 'build/src.cygwin-1.7.17-i686-2.6/scipy/lib/blas/cblas.pyf' to sources.
f2py options: []
  adding 'build/src.cygwin-1.7.17-i686-2.6/fortranobject.c' to sources.
  adding 'build/src.cygwin-1.7.17-i686-2.6' to include_dirs.
building extension "scipy.lib.lapack.flapack" sources
f2py options: []
  adding 'build/src.cygwin-1.7.17-i686-2.6/fortranobject.c' to sources.
  adding 'build/src.cygwin-1.7.17-i686-2.6' to include_dirs.
building extension "scipy.lib.lapack.clapack" sources
  adding 'build/src.cygwin-1.7.17-i686-2.6/scipy/lib/lapack/clapack.pyf' to sources.
f2py options: []
  adding 'build/src.cygwin-1.7.17-i686-2.6/fortranobject.c' to sources.
  adding 'build/src.cygwin-1.7.17-i686-2.6' to include_dirs.
building extension "scipy.lib.lapack.calc_lwork" sources
f2py options: []
  adding 'build/src.cygwin-1.7.17-i686-2.6/fortranobject.c' to sources.
  adding 'build/src.cygwin-1.7.17-i686-2.6' to include_dirs.
building extension "scipy.linalg._fblas" sources
f2py options: []
  adding 'build/src.cygwin-1.7.17-i686-2.6/fortranobject.c' to sources.
  adding 'build/src.cygwin-1.7.17-i686-2.6' to include_dirs.
  adding 'build/src.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_fblas-f2pywrappers.f' to sources.
building extension "scipy.linalg._flapack" sources
f2py options: []
  adding 'build/src.cygwin-1.7.17-i686-2.6/fortranobject.c' to sources.
  adding 'build/src.cygwin-1.7.17-i686-2.6' to include_dirs.
  adding 'build/src.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flapack-f2pywrappers.f' to sources.
building extension "scipy.linalg._flinalg" sources
f2py options: []
  adding 'build/src.cygwin-1.7.17-i686-2.6/fortranobject.c' to sources.
  adding 'build/src.cygwin-1.7.17-i686-2.6' to include_dirs.
building extension "scipy.linalg.calc_lwork" sources
f2py options: []
  adding 'build/src.cygwin-1.7.17-i686-2.6/fortranobject.c' to sources.
  adding 'build/src.cygwin-1.7.17-i686-2.6' to include_dirs.
building extension "scipy.odr.__odrpack" sources
building extension "scipy.optimize._minpack" sources
building extension "scipy.optimize._zeros" sources
building extension "scipy.optimize._lbfgsb" sources
f2py options: []
  adding 'build/src.cygwin-1.7.17-i686-2.6/fortranobject.c' to sources.
  adding 'build/src.cygwin-1.7.17-i686-2.6' to include_dirs.
building extension "scipy.optimize.moduleTNC" sources
building extension "scipy.optimize._cobyla" sources
f2py options: []
  adding 'build/src.cygwin-1.7.17-i686-2.6/fortranobject.c' to sources.
  adding 'build/src.cygwin-1.7.17-i686-2.6' to include_dirs.
building extension "scipy.optimize.minpack2" sources
f2py options: []
  adding 'build/src.cygwin-1.7.17-i686-2.6/fortranobject.c' to sources.
  adding 'build/src.cygwin-1.7.17-i686-2.6' to include_dirs.
building extension "scipy.optimize._slsqp" sources
f2py options: []
  adding 'build/src.cygwin-1.7.17-i686-2.6/fortranobject.c' to sources.
  adding 'build/src.cygwin-1.7.17-i686-2.6' to include_dirs.
building extension "scipy.optimize._nnls" sources
f2py options: []
  adding 'build/src.cygwin-1.7.17-i686-2.6/fortranobject.c' to sources.
  adding 'build/src.cygwin-1.7.17-i686-2.6' to include_dirs.
building extension "scipy.signal.sigtools" sources
building extension "scipy.signal._spectral" sources
building extension "scipy.signal.spline" sources
building extension "scipy.sparse.linalg.isolve._iterative" sources
f2py options: []
  adding 'build/src.cygwin-1.7.17-i686-2.6/fortranobject.c' to sources.
  adding 'build/src.cygwin-1.7.17-i686-2.6' to include_dirs.
building extension "scipy.sparse.linalg.dsolve._superlu" sources
building extension "scipy.sparse.linalg.dsolve.umfpack.__umfpack" sources
  adding 'scipy/sparse/linalg/dsolve/umfpack/umfpack.i' to sources.
building extension "scipy.sparse.linalg.eigen.arpack._arpack" sources
f2py options: []
  adding 'build/src.cygwin-1.7.17-i686-2.6/fortranobject.c' to sources.
  adding 'build/src.cygwin-1.7.17-i686-2.6' to include_dirs.
  adding 'build/src.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/sparse/linalg/eigen/arpack/_arpack-f2pywrappers.f' to sources.
building extension "scipy.sparse.sparsetools._csr" sources
building extension "scipy.sparse.sparsetools._csc" sources
building extension "scipy.sparse.sparsetools._coo" sources
building extension "scipy.sparse.sparsetools._bsr" sources
building extension "scipy.sparse.sparsetools._dia" sources
building extension "scipy.sparse.sparsetools._csgraph" sources
building extension "scipy.sparse.csgraph._shortest_path" sources
building extension "scipy.sparse.csgraph._traversal" sources
building extension "scipy.sparse.csgraph._min_spanning_tree" sources
building extension "scipy.sparse.csgraph._tools" sources
building extension "scipy.spatial.qhull" sources
building extension "scipy.spatial.ckdtree" sources
building extension "scipy.spatial._distance_wrap" sources
building extension "scipy.special.specfun" sources
f2py options: ['--no-wrap-functions']
  adding 'build/src.cygwin-1.7.17-i686-2.6/fortranobject.c' to sources.
  adding 'build/src.cygwin-1.7.17-i686-2.6' to include_dirs.
building extension "scipy.special._ufuncs" sources
building extension "scipy.special._ufuncs_cxx" sources
building extension "scipy.stats.statlib" sources
f2py options: ['--no-wrap-functions']
  adding 'build/src.cygwin-1.7.17-i686-2.6/fortranobject.c' to sources.
  adding 'build/src.cygwin-1.7.17-i686-2.6' to include_dirs.
building extension "scipy.stats.vonmises_cython" sources
building extension "scipy.stats._rank" sources
building extension "scipy.stats.futil" sources
f2py options: []
  adding 'build/src.cygwin-1.7.17-i686-2.6/fortranobject.c' to sources.
  adding 'build/src.cygwin-1.7.17-i686-2.6' to include_dirs.
building extension "scipy.stats.mvn" sources
f2py options: []
  adding 'build/src.cygwin-1.7.17-i686-2.6/fortranobject.c' to sources.
  adding 'build/src.cygwin-1.7.17-i686-2.6' to include_dirs.
  adding 'build/src.cygwin-1.7.17-i686-2.6/scipy/stats/mvn-f2pywrappers.f' to sources.
building extension "scipy.ndimage._nd_image" sources
building data_files sources
build_src: building npy-pkg config files
running build_py
copying scipy/version.py -> build/lib.cygwin-1.7.17-i686-2.6/scipy
copying build/src.cygwin-1.7.17-i686-2.6/scipy/__config__.py -> build/lib.cygwin-1.7.17-i686-2.6/scipy
running build_clib
customize UnixCCompiler
customize UnixCCompiler using build_clib
customize GnuFCompiler
Found executable /usr/bin/g77
gnu: no Fortran 90 compiler found
gnu: no Fortran 90 compiler found
customize GnuFCompiler
gnu: no Fortran 90 compiler found
gnu: no Fortran 90 compiler found
customize GnuFCompiler using build_clib
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
extending extension 'scipy.sparse.linalg.dsolve._superlu' defined_macros with [('USE_VENDOR_BLAS', 1)]
customize UnixCCompiler
customize UnixCCompiler using build_ext
customize GnuFCompiler
gnu: no Fortran 90 compiler found
gnu: no Fortran 90 compiler found
customize GnuFCompiler
gnu: no Fortran 90 compiler found
gnu: no Fortran 90 compiler found
customize GnuFCompiler using build_ext
building 'scipy.linalg._flinalg' extension
compiling C sources
C compiler: gcc -fno-strict-aliasing -g -O2 -pipe -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes

compile options: '-DNO_ATLAS_INFO=1 -Ibuild/src.cygwin-1.7.17-i686-2.6 -I/usr/lib/python2.6/site-packages/numpy/core/include -I/usr/include/python2.6 -c'
gcc: build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.c
gcc: build/src.cygwin-1.7.17-i686-2.6/fortranobject.c
compiling Fortran sources
Fortran f77 compiler: /usr/bin/g77 -g -Wall -O3 -funroll-loops
compile options: '-DNO_ATLAS_INFO=1 -Ibuild/src.cygwin-1.7.17-i686-2.6 -I/usr/lib/python2.6/site-packages/numpy/core/include -I/usr/include/python2.6 -c'
g77:f77: scipy/linalg/src/det.f
g77:f77: scipy/linalg/src/lu.f
/usr/bin/g77 -g -Wall -g -Wall -shared build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.o build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/fortranobject.o build/temp.cygwin-1.7.17-i686-2.6/scipy/linalg/src/det.o build/temp.cygwin-1.7.17-i686-2.6/scipy/linalg/src/lu.o -L/usr/lib -L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -L/usr/lib/python2.6/config -Lbuild/temp.cygwin-1.7.17-i686-2.6 -llapack -lblas -lpython2.6 -lg2c -o build/lib.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalg.dll
build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.o:_flinalgmodule.c:(.data+0xac): undefined reference to `_ddet_c_'
build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.o:_flinalgmodule.c:(.data+0x164): undefined reference to `_ddet_r_'
build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.o:_flinalgmodule.c:(.data+0x21c): undefined reference to `_sdet_c_'
build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.o:_flinalgmodule.c:(.data+0x2d4): undefined reference to `_sdet_r_'
build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.o:_flinalgmodule.c:(.data+0x38c): undefined reference to `_zdet_c_'
build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.o:_flinalgmodule.c:(.data+0x444): undefined reference to `_zdet_r_'
build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.o:_flinalgmodule.c:(.data+0x4fc): undefined reference to `_cdet_c_'
build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.o:_flinalgmodule.c:(.data+0x5b4): undefined reference to `_cdet_r_'
build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.o:_flinalgmodule.c:(.data+0x66c): undefined reference to `_dlu_c_'
build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.o:_flinalgmodule.c:(.data+0x724): undefined reference to `_zlu_c_'
build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.o:_flinalgmodule.c:(.data+0x7dc): undefined reference to `_slu_c_'
build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.o:_flinalgmodule.c:(.data+0x894): undefined reference to `_clu_c_'
collect2: ld returned 1 exit status
build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.o:_flinalgmodule.c:(.data+0xac): undefined reference to `_ddet_c_'
build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.o:_flinalgmodule.c:(.data+0x164): undefined reference to `_ddet_r_'
build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.o:_flinalgmodule.c:(.data+0x21c): undefined reference to `_sdet_c_'
build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.o:_flinalgmodule.c:(.data+0x2d4): undefined reference to `_sdet_r_'
build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.o:_flinalgmodule.c:(.data+0x38c): undefined reference to `_zdet_c_'
build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.o:_flinalgmodule.c:(.data+0x444): undefined reference to `_zdet_r_'
build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.o:_flinalgmodule.c:(.data+0x4fc): undefined reference to `_cdet_c_'
build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.o:_flinalgmodule.c:(.data+0x5b4): undefined reference to `_cdet_r_'
build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.o:_flinalgmodule.c:(.data+0x66c): undefined reference to `_dlu_c_'
build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.o:_flinalgmodule.c:(.data+0x724): undefined reference to `_zlu_c_'
build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.o:_flinalgmodule.c:(.data+0x7dc): undefined reference to `_slu_c_'
build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.o:_flinalgmodule.c:(.data+0x894): undefined reference to `_clu_c_'
collect2: ld returned 1 exit status
error: Command "/usr/bin/g77 -g -Wall -g -Wall -shared build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalgmodule.o build/temp.cygwin-1.7.17-i686-2.6/build/src.cygwin-1.7.17-i686-2.6/fortranobject.o build/temp.cygwin-1.7.17-i686-2.6/scipy/linalg/src/det.o build/temp.cygwin-1.7.17-i686-2.6/scipy/linalg/src/lu.o -L/usr/lib -L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -L/usr/lib/python2.6/config -Lbuild/temp.cygwin-1.7.17-i686-2.6 -llapack -lblas -lpython2.6 -lg2c -o build/lib.cygwin-1.7.17-i686-2.6/scipy/linalg/_flinalg.dll" failed with exit status 1


Kanol PAL@KanolPAL-PC /scipy-0.12.0b1
$ python -c 'from numpy.f2py.diagnose import run; run()'
------
os.name='posix'
------
sys.platform='cygwin'
------
sys.version:
2.6.8 (unknown, Jun  9 2012, 11:30:32)
[GCC 4.5.3]
------
sys.prefix:
/usr
------
sys.path=':/usr/lib/python26.zip:/usr/lib/python2.6:/usr/lib/python2.6/plat-cygwin:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/lib-old:/usr/lib/python2.6/lib-dynload:/usr/lib/python2.6/site-packages:/usr/lib/python2.6/site-packages/PIL:/usr/lib/python2.6/site-packages/gtk-2.0'
------
Found new numpy version '1.6.2' in /usr/lib/python2.6/site-packages/numpy/__init__.pyc
Found f2py2e version '2' in /usr/lib/python2.6/site-packages/numpy/f2py/f2py2e.pyc
Found numpy.distutils version '0.4.0' in '/usr/lib/python2.6/site-packages/numpy/distutils/__init__.pyc'
------
Importing numpy.distutils.fcompiler ... ok
------
Checking availability of supported Fortran compilers:
GnuFCompiler instance properties:
  archiver        = ['/usr/bin/g77', '-cr']
  compile_switch  = '-c'
  compiler_f77    = ['/usr/bin/g77', '-g', '-Wall', '-O3', '-funroll-loops']
  compiler_f90    = None
  compiler_fix    = None
  libraries       = ['g2c']
  library_dirs    = ['/usr/lib/gcc/i686-pc-cygwin/3.4.4']
  linker_exe      = ['/usr/bin/g77', '-g', '-Wall', '-g', '-Wall']
  linker_so       = ['/usr/bin/g77', '-g', '-Wall', '-g', '-Wall', '-
                    shared']
  object_switch   = '-o '
  ranlib          = ['/usr/bin/g77']
  version         = LooseVersion ('3.4.4')
  version_cmd     = ['/usr/bin/g77', '--version']
Gnu95FCompiler instance properties:
  archiver        = ['/usr/bin/gfortran', '-cr']
  compile_switch  = '-c'
  compiler_f77    = ['/usr/bin/gfortran', '-Wall', '-ffixed-form', '-O3', '-
                    funroll-loops']
  compiler_f90    = ['/usr/bin/gfortran', '-Wall', '-O3', '-funroll-loops']
  compiler_fix    = ['/usr/bin/gfortran', '-Wall', '-ffixed-form', '-Wall',
                    '-O3', '-funroll-loops']
  libraries       = ['gfortran']
  library_dirs    = ['/usr/lib/gcc/i686-pc-cygwin/4.5.3']
  linker_exe      = ['/usr/bin/gfortran', '-Wall', '-Wall']
  linker_so       = ['/usr/bin/gfortran', '-Wall', '-Wall', '-shared']
  object_switch   = '-o '
  ranlib          = ['/usr/bin/gfortran']
  version         = LooseVersion ('4.5.3')
  version_cmd     = ['/usr/bin/gfortran', '--version']
Fortran compilers found:
  --fcompiler=gnu    GNU Fortran 77 compiler (3.4.4)
  --fcompiler=gnu95  GNU Fortran 95 compiler (4.5.3)
Compilers available for this platform, but not found:
  --fcompiler=absoft   Absoft Corp Fortran Compiler
  --fcompiler=compaqv  DIGITAL or Compaq Visual Fortran Compiler
  --fcompiler=g95      G95 Fortran Compiler
  --fcompiler=intelev  Intel Visual Fortran Compiler for Itanium apps
  --fcompiler=intelv   Intel Visual Fortran Compiler for 32-bit apps
Compilers not available on this platform:
  --fcompiler=compaq    Compaq Fortran Compiler
  --fcompiler=hpux      HP Fortran 90 Compiler
  --fcompiler=ibm       IBM XL Fortran Compiler
  --fcompiler=intel     Intel Fortran Compiler for 32-bit apps
  --fcompiler=intele    Intel Fortran Compiler for Itanium apps
  --fcompiler=intelem   Intel Fortran Compiler for 64-bit apps
  --fcompiler=intelvem  Intel Visual Fortran Compiler for 64-bit apps
  --fcompiler=lahey     Lahey/Fujitsu Fortran 95 Compiler
  --fcompiler=mips      MIPSpro Fortran Compiler
  --fcompiler=nag       NAGWare Fortran 95 Compiler
  --fcompiler=none      Fake Fortran compiler
  --fcompiler=pathf95   PathScale Fortran Compiler
  --fcompiler=pg        Portland Group Fortran Compiler
  --fcompiler=sun       Sun or Forte Fortran 95 Compiler
  --fcompiler=vast      Pacific-Sierra Research Fortran 90 Compiler
For compiler details, run 'config_fc --verbose' setup command.
------
Importing numpy.distutils.cpuinfo ... ok
------
CPU information: CPUInfoBase__get_nbits getNCPUs has_mmx has_sse has_sse2 has_sse3 has_ssse3 is_32bit is_Intel is_Pentium is_i686 ------


$ python -c 'import os,sys;print os.name,sys.platform'
posix cygwin


$ uname -a
CYGWIN_NT-6.0 KanolPAL-PC 1.7.17(0.262/5/3) 2012-10-19 14:39 i686 Cygwin


$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.5.3/lto-wrapper.exe
Target: i686-pc-cygwin
Configured with: /gnu/gcc/releases/respins/4.5.3-3/gcc4-4.5.3-3/src/gcc-4.5.3/configure --srcdir=/gnu/gcc/releases/respins/4.5.3-3/gcc4-4.5.3-3/src/gcc-4.5.3 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --datarootdir=/usr/share --docdir=/usr/share/doc/gcc4 -C --datadir=/usr/share --infodir=/usr/share/info --mandir=/usr/share/man -v --with-gmp=/usr --with-mpfr=/usr --enable-bootstrap --enable-version-specific-runtime-libs --libexecdir=/usr/lib --enable-static --enable-shared --enable-shared-libgcc --disable-__cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2 --disable-sjlj-exceptions --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ --enable-graphite --enable-lto --enable-java-awt=gtk --disable-symvers --enable-libjava --program-suffix=-4 --enable-libgomp --enable-libssp --enable-libada --enable-threads=posix --with-arch=i686 --with-tune=generic --enable-libgcj-sublibs CC=gcc-4 CXX=g++-4 CC_FOR_TARGET=gcc-4 CXX_FOR_TARGET=g++-4 GNATMAKE_FOR_TARGET=gnatmake GNATBIND_FOR_TARGET=gnatbind --with-ecj-jar=/usr/share/java/ecj.jar
Thread model: posix
gcc version 4.5.3 (GCC)


$ g77 --version
GNU Fortran (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
Copyright (C) 2004 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
or type the command `info -f g77 Copying'.


$ python -c 'import sys;print sys.version'
2.6.8 (unknown, Jun  9 2012, 11:30:32)
[GCC 4.5.3]


$ python -c 'import numpy;print numpy.__version__'
1.6.2

___________________


What may be the mistake in our part ? Is ATLAS necessary for installing ?

Thank you for your advice,
Regards,
Sullivan


More information about the SciPy-User mailing list