[Numpy-discussion] svn build fails

Steve Schmerler elcorto at gmx.net
Mon Jun 12 17:19:54 CDT 2006


The latest svn build fails.


====================================================================================
elcorto at ramrod:~/install/python/scipy/svn$ make build
cd numpy; python setup.py build
Running from numpy source directory.
non-existing path in 'numpy/distutils': 'site.cfg'
No module named __svn_version__
F2PY Version 2_2607
blas_opt_info:
blas_mkl_info:
   libraries mkl,vml,guide not find in /usr/local/lib
   libraries mkl,vml,guide not find in /usr/lib
   NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
   libraries ptf77blas,ptcblas,atlas not find in /usr/local/lib
   libraries ptf77blas,ptcblas,atlas not find in /usr/lib/atlas
   libraries ptf77blas,ptcblas,atlas not find in /usr/lib
   NOT AVAILABLE

atlas_blas_info:
   libraries f77blas,cblas,atlas not find in /usr/local/lib
   libraries f77blas,cblas,atlas not find in /usr/lib/atlas
   FOUND:
     libraries = ['f77blas', 'cblas', 'atlas']
     library_dirs = ['/usr/lib']
     language = c

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 -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC

compile options: '-c'
gcc: _configtest.c
gcc -pthread _configtest.o -L/usr/lib -lf77blas -lcblas -latlas -o 
_configtest
_configtest.o: In function `main':
/home/elcorto/install/python/scipy/svn/numpy/_configtest.c:5: undefined 
reference to `ATL_buildinfo'
collect2: ld returned 1 exit status
_configtest.o: In function `main':
/home/elcorto/install/python/scipy/svn/numpy/_configtest.c:5: undefined 
reference to `ATL_buildinfo'
collect2: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o
Traceback (most recent call last):
   File "setup.py", line 84, in ?
     setup_package()
   File "setup.py", line 77, in setup_package
     configuration=configuration )
   File 
"/home/elcorto/install/python/scipy/svn/numpy/numpy/distutils/core.py", 
line 140, in setup
     config = configuration()
   File "setup.py", line 43, in configuration
     config.add_subpackage('numpy')
   File 
"/home/elcorto/install/python/scipy/svn/numpy/numpy/distutils/misc_util.py", 
line 740, in add_subpackage
     caller_level = 2)
   File 
"/home/elcorto/install/python/scipy/svn/numpy/numpy/distutils/misc_util.py", 
line 723, in get_subpackage
     caller_level = caller_level + 1)
   File 
"/home/elcorto/install/python/scipy/svn/numpy/numpy/distutils/misc_util.py", 
line 670, in _get_configuration_from_setup_py
     config = setup_module.configuration(*args)
   File "./numpy/setup.py", line 9, in configuration
     config.add_subpackage('core')
   File 
"/home/elcorto/install/python/scipy/svn/numpy/numpy/distutils/misc_util.py", 
line 740, in add_subpackage
     caller_level = 2)
   File 
"/home/elcorto/install/python/scipy/svn/numpy/numpy/distutils/misc_util.py", 
line 723, in get_subpackage
     caller_level = caller_level + 1)
   File 
"/home/elcorto/install/python/scipy/svn/numpy/numpy/distutils/misc_util.py", 
line 670, in _get_configuration_from_setup_py
     config = setup_module.configuration(*args)
   File "numpy/core/setup.py", line 207, in configuration
     blas_info = get_info('blas_opt',0)
   File 
"/home/elcorto/install/python/scipy/svn/numpy/numpy/distutils/system_info.py", 
line 256, in get_info
     return cl().get_info(notfound_action)
   File 
"/home/elcorto/install/python/scipy/svn/numpy/numpy/distutils/system_info.py", 
line 397, in get_info
     self.calc_info()
   File 
"/home/elcorto/install/python/scipy/svn/numpy/numpy/distutils/system_info.py", 
line 1224, in calc_info
     atlas_version = get_atlas_version(**version_info)
   File 
"/home/elcorto/install/python/scipy/svn/numpy/numpy/distutils/system_info.py", 
line 1085, in get_atlas_version
     library_dirs=config.get('library_dirs', []),
   File 
"/home/elcorto/install/python/scipy/svn/numpy/numpy/distutils/command/config.py", 
line 121, in get_output
     return exitcode, output
UnboundLocalError: local variable 'exitcode' referenced before assignment
====================================================================================

I removed the old /build dir and even did a complete fresh checkout but 
it still fails to build.

cheers,
steve

-- 
Random number generation is the art of producing pure gibberish as 
quickly as possible.




More information about the Numpy-discussion mailing list