[Numpy-tickets] [NumPy] #612: NumPy 1.0.4 fails to compile on Cygwin

NumPy numpy-tickets@scipy....
Wed Nov 14 02:42:56 CST 2007


#612: NumPy 1.0.4 fails to compile on Cygwin
---------------------+------------------------------------------------------
 Reporter:  mdehoon  |       Owner:  somebody         
     Type:  defect   |      Status:  new              
 Priority:  normal   |   Milestone:  1.0.5            
Component:  Other    |     Version:                   
 Severity:  blocker  |    Keywords:  Cygwin, compiling
---------------------+------------------------------------------------------
 This is the output I get:

 $ python setup.py build
 Running from numpy source directory.
 non-existing path in 'numpy/distutils': 'site.cfg'
 F2PY Version 2_4422
 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

 /home/mdehoon/Software/numpy-1.0.4/numpy/distutils/system_info.py:1340:
 UserWarn
 ing:
     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
   libraries blas not found in /usr/lib
   NOT AVAILABLE

 /home/mdehoon/Software/numpy-1.0.4/numpy/distutils/system_info.py:1349:
 UserWarn
 ing:
     Blas (http://www.netlib.org/blas/) libraries not found.
     Directories to search for the libraries can be specified in the
     numpy/distutils/site.cfg file (section [blas]) or by setting
     the BLAS environment variable.
   warnings.warn(BlasNotFoundError.__doc__)
 blas_src_info:
   NOT AVAILABLE

 /home/mdehoon/Software/numpy-1.0.4/numpy/distutils/system_info.py:1352:
 UserWarn
 ing:
     Blas (http://www.netlib.org/blas/) sources not found.
     Directories to search for the sources can be specified in the
     numpy/distutils/site.cfg file (section [blas_src]) or by setting
     the BLAS_SRC environment variable.
   warnings.warn(BlasSrcNotFoundError.__doc__)
   NOT AVAILABLE

 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

 /home/mdehoon/Software/numpy-1.0.4/numpy/distutils/system_info.py:1247:
 UserWarn
 ing:
     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
   libraries lapack not found in /usr/lib
   NOT AVAILABLE

 /home/mdehoon/Software/numpy-1.0.4/numpy/distutils/system_info.py:1258:
 UserWarn
 ing:
     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

 /home/mdehoon/Software/numpy-1.0.4/numpy/distutils/system_info.py:1261:
 UserWarn
 ing:
     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__)
   NOT AVAILABLE

 running build
 running config_cc
 unifing config_cc, config, build_clib, build_ext, build commands
 --compiler opti
 ons
 running config_fc
 unifing config_fc, config, build_clib, build_ext, build commands
 --fcompiler opt
 ions
 running build_src
 building py_modules sources
 building extension "numpy.core.multiarray" sources
 Generating build/src.cygwin-1.5.24-i686-2.5/numpy/core/config.h
 customize GnuFCompiler
 Could not locate executable g77
 Could not locate executable f77
 customize IntelVisualFCompiler
 Could not locate executable ifl
 customize AbsoftFCompiler
 Could not locate executable f90
 don't know how to compile Fortran code on platform 'posix' with 'compaqv'
 compil
 er. Supported compilers are:
 none,absoft,compaq,gnu,vast,sun,nag,lahey,intelem,g
 nu95,intelv,g95,intele,pg,intel,mips,hpux,intelev,ibm)
 Traceback (most recent call last):
   File "setup.py", line 89, in <module>
     setup_package()
   File "setup.py", line 82, in setup_package
     configuration=configuration )
   File "/home/mdehoon/Software/numpy-1.0.4/numpy/distutils/core.py", line
 176, i
 n setup
     return old_setup(**new_attr)
   File "/tmp/python.6884/usr/lib/python2.5/distutils/core.py", line 151,
 in setu
 p
   File "/tmp/python.6884/usr/lib/python2.5/distutils/dist.py", line 974,
 in run_
 commands
   File "/tmp/python.6884/usr/lib/python2.5/distutils/dist.py", line 994,
 in run_
 command
   File "/tmp/python.6884/usr/lib/python2.5/distutils/command/build.py",
 line 112
 , in run
   File "/usr/lib/python2.5/cmd.py", line 333, in run_command
     del help[cmd]
   File "/tmp/python.6884/usr/lib/python2.5/distutils/dist.py", line 994,
 in run_
 command
   File
 "/home/mdehoon/Software/numpy-1.0.4/numpy/distutils/command/build_src.py"
 , line 130, in run
     self.build_sources()
   File
 "/home/mdehoon/Software/numpy-1.0.4/numpy/distutils/command/build_src.py"
 , line 147, in build_sources
     self.build_extension_sources(ext)
   File
 "/home/mdehoon/Software/numpy-1.0.4/numpy/distutils/command/build_src.py"
 , line 250, in build_extension_sources
     sources = self.generate_sources(sources, ext)
   File
 "/home/mdehoon/Software/numpy-1.0.4/numpy/distutils/command/build_src.py"
 , line 307, in generate_sources
     source = func(extension, build_dir)
   File "numpy/core/setup.py", line 51, in generate_config_h
     library_dirs = default_lib_dirs)
   File "/tmp/python.6884/usr/lib/python2.5/distutils/command/config.py",
 line 27
 8, in try_run
   File
 "/home/mdehoon/Software/numpy-1.0.4/numpy/distutils/command/config.py", l
 ine 31, in _check_compiler
     c_compiler=self.compiler)
   File
 "/home/mdehoon/Software/numpy-1.0.4/numpy/distutils/fcompiler/__init__.py
 ", line 809, in new_fcompiler
     c_compiler=c_compiler)
   File
 "/home/mdehoon/Software/numpy-1.0.4/numpy/distutils/fcompiler/__init__.py
 ", line 791, in get_default_fcompiler
     c_compiler=c_compiler)
   File
 "/home/mdehoon/Software/numpy-1.0.4/numpy/distutils/fcompiler/__init__.py
 ", line 740, in _find_existing_fcompiler
     c.customize(dist)
 AttributeError: 'NoneType' object has no attribute 'customize'

-- 
Ticket URL: <http://scipy.org/scipy/numpy/ticket/612>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list