[Numpy-discussion] Cygwin

Lalo lapataia28-northern at yahoo.com
Sun Mar 26 17:51:14 CST 2006


Hi,

I tried to compile numpy 0.9.6 on a standard Cygwin installation but got some errors. Do I need to modify the site.cfg defaults? Thank you for your help.

Lalo

------------------------------------------------------

Running from numpy source directory.
/home/lalo/tmp/numpy-0.9.6/numpy/distutils/system_info.py:531: UserWarning: Library error: libs=['mkl', 'vml', 'guide'] found_libs=[]
  warnings.warn("Library error: libs=%s found_libs=%s" % \
/home/lalo/tmp/numpy-0.9.6/numpy/distutils/system_info.py:531: UserWarning: Library error: libs=['lapack', 'f77blas', 'cblas', 'atlas'] found_libs=[]
  warnings.warn("Library error: libs=%s found_libs=%s" % \
/home/lalo/tmp/numpy-0.9.6/numpy/distutils/system_info.py:531: UserWarning: Library error: libs=['lapack', 'f77blas', 'cblas', 'atlas'] found_libs=['/usr/lib/liblapack.a']
  warnings.warn("Library error: libs=%s found_libs=%s" % \
/home/lalo/tmp/numpy-0.9.6/numpy/distutils/system_info.py:531: UserWarning: Library error: libs=['lapack', 'f77blas', 'cblas', 'atlas'] found_libs=['/usr/lib/liblapack.dll.a']
  warnings.warn("Library error: libs=%s found_libs=%s" % \
/home/lalo/tmp/numpy-0.9.6/numpy/distutils/system_info.py:1264: 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__)
/home/lalo/tmp/numpy-0.9.6/numpy/distutils/system_info.py:531: UserWarning: Library error: libs=['blas'] found_libs=[]
  warnings.warn("Library error: libs=%s found_libs=%s" % \
/home/lalo/tmp/numpy-0.9.6/numpy/distutils/system_info.py:531: UserWarning: Library error: libs=['lapack_atlas'] found_libs=[]
  warnings.warn("Library error: libs=%s found_libs=%s" % \
/home/lalo/tmp/numpy-0.9.6/numpy/distutils/system_info.py:1183: 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__)
/home/lalo/tmp/numpy-0.9.6/numpy/distutils/system_info.py:531: UserWarning: Library error: libs=['lapack'] found_libs=[]
  warnings.warn("Library error: libs=%s found_libs=%s" % \
F2PY Version 2_2236
blas_opt_info:
blas_mkl_info:
  NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
  NOT AVAILABLE

atlas_blas_info:
  NOT AVAILABLE

blas_info:
  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:
  NOT AVAILABLE

  NOT AVAILABLE

atlas_threads_info:
Setting PTATLAS=ATLAS
numpy.distutils.system_info.atlas_threads_info
  NOT AVAILABLE

atlas_info:
numpy.distutils.system_info.atlas_info
  NOT AVAILABLE

lapack_info:
  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

running install
running build
running config_fc
running build_src
building py_modules sources
building extension "numpy.core.multiarray" sources
  adding 'build/src/numpy/core/config.h' to sources.
  adding 'build/src/numpy/core/__multiarray_api.h' to sources.
  adding 'build/src/numpy/core/src' to include_dirs.
numpy.core - nothing done with h_files= ['build/src/numpy/core/src/scalartypes.inc', 'build/src/numpy/core/src/arraytypes.inc', 'build/src/numpy/core/config.h', 'build/src/numpy/core/__multiarray_api.h']
building extension "numpy.core.umath" sources
  adding 'build/src/numpy/core/config.h' to sources.
  adding 'build/src/numpy/core/__ufunc_api.h' to sources.
  adding 'build/src/numpy/core/src' to include_dirs.
numpy.core - nothing done with h_files= ['build/src/numpy/core/src/scalartypes.inc', 'build/src/numpy/core/src/arraytypes.inc', 'build/src/numpy/core/config.h', 'build/src/numpy/core/__ufunc_api.h']
building extension "numpy.core._sort" sources
  adding 'build/src/numpy/core/config.h' to sources.
  adding 'build/src/numpy/core/__multiarray_api.h' to sources.
numpy.core - nothing done with h_files= ['build/src/numpy/core/config.h', 'build/src/numpy/core/__multiarray_api.h']
building extension "numpy.core._dotblas" sources
  adding 'numpy/core/blasdot/_dotblas.c' to sources.
building extension "numpy.lib._compiled_base" sources
building extension "numpy.dft.fftpack_lite" sources
building extension "numpy.linalg.lapack_lite" sources
  adding 'numpy/linalg/lapack_litemodule.c' to sources.
building extension "numpy.random.mtrand" sources
Could not locate executable gfortran
Could not locate executable f95
customize GnuFCompiler
customize GnuFCompiler
customize GnuFCompiler using config
gcc options: '-fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes'
compile options: '-Inumpy/core/src -Inumpy/core/include -I/usr/include/python2.4 -c'
gcc: _configtest.c
_configtest.c:7:2: #error No _WIN32
_configtest.c:7:2: #error No _WIN32
failure.
removing: _configtest.c _configtest.o
building data_files sources
running build_py
copying build/src/numpy/__config__.py -> build/lib.cygwin-1.5.19-i686-2.4/numpy
copying build/src/numpy/distutils/__config__.py -> build/lib.cygwin-1.5.19-i686-2.4/numpy/distutils
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
customize GnuFCompiler
customize GnuFCompiler
customize GnuFCompiler using build_ext
building 'numpy.core.multiarray' extension
compiling C sources
gcc options: '-fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes'
compile options: '-Ibuild/src/numpy/core/src -Inumpy/core/include -Ibuild/src/numpy/core -Inumpy/core/src -Inumpy/core/include -I/usr/include/python2.4 -c'
gcc -shared -Wl,--enable-auto-image-base build/temp.cygwin-1.5.19-i686-2.4/numpy/core/src/multiarraymodule.o -L. -lpython2.4 -o build/lib.cygwin-1.5.19-i686-2.4/numpy/core/multiarray.dll
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lpython2.4
collect2: ld returned 1 exit status
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lpython2.4
collect2: ld returned 1 exit status
error: Command "gcc -shared -Wl,--enable-auto-image-base build/temp.cygwin-1.5.19-i686-2.4/numpy/core/src/multiarraymodule.o -L. -lpython2.4 -o build/lib.cygwin-1.5.19-i686-2.4/numpy/core/multiarray.dll" failed with exit status 1






More information about the Numpy-discussion mailing list