[SciPy-dev] Make numpy.distutils work with python 2.5 + cygwin

Pearu Peterson pearu at cens.ioc.ee
Thu May 31 04:28:11 EDT 2007



Ravikiran Rajagopal wrote:
> On Wednesday 30 May 2007 2:30:00 pm Robert Kern wrote:
>> Can you copy-and-paste the full output? We can't tell what's wrong from
>> your description. Also, which version of numpy are you trying to build?
> 
> I am trying to build numpy svn version from a couple of hours ago. I am 
> running python 2.5.1, cygwin updated on monday, self-built lapack 3.1.1 and 
> atlas 3.7.32. The error log is as follows:
> 
> $ python setup.py config --compiler=mingw32 build --compiler=mingw32
...
> atlas_threads_info:
> Setting PTATLAS=ATLAS
> numpy.distutils.system_info.atlas_threads_info
> Setting PTATLAS=ATLAS
> Setting PTATLAS=ATLAS
>   FOUND:
>     libraries = ['lapack', 'lapack', 'f77blas', 'cblas', 'atlas']
>     library_dirs = ['c:/cygwin/home/rrajagop/scipylibs/atlas-build/lib']
>     language = f77

You are using Fortran compiled libraries that are picked up by
numpy.core._dotblas and numpy.linalg.lapack_lite and so the
Fortran compiler must be used to link the relevant extension
modules. That's just a note for why sometimes fortran compiler
is needed to build numpy.

I'll look for your specific issue in a moment...

Pearu



More information about the SciPy-Dev mailing list