[SciPy-user] begging for binaries

Brett Olivier bgoli at sun.ac.za
Fri Oct 14 03:32:16 EDT 2005


I've only just caught this thread now but perhaps you should try the newer 
candidate MinGW with GCC 3.4.4 I've managed to compile SVN SciPy for Python 
2.4 without problems ... perhaps I was just lucky ;-) 

+++ build environment +++

Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on win32

ATLAS 3.7.11 compiled with Cygwin+GCC 3.4.4

>>> scipy.__version__
'0.3.3_303.4573'
>>> f2py2e.__version__.version
'2.46.243_2019'
>>> Numeric.__version__
'24.0b2'

c:\work\scipy>gcc -v
Reading specs from c:/mingw/bin/../lib/gcc/mingw32/3.4.4/specs
gcc version 3.4.4 (mingw special)

>>> scipy.test(level=10)
----------------------------------------------------------------------
Ran 1188 tests in 66.703s

Brett

On Friday 14 October 2005 02:03, Mathew Yeates wrote:
> after following your instructions I get
> c:\msys\1.0.10\MinGW\bin\..\lib\gcc-lib\mingw32\3.2.3\..\..\..\..\mingw32\b
>in\ld .exe: cannot find -lmsvcrt71
>
> I tried setting LD_LIBRARY_PATH to c:\windows\system32 where I found
> msvcrt71.dll
> but I got the same error
>
> Mathew
>
> Robert Kern wrote:
> >Mathew Yeates wrote:
> >>Robert Kern wrote:
> >>>Mathew Yeates wrote:
> >>>>it went nowhere. I have very little experience with scipy's build
> >>>> process. Python24 was released almost a year ago. Its a shame that it
> >>>> can't be used.
> >>>
> >>>Can you give us some more information? Exactly what did you do? What
> >>>didn't work? Did things fail to compile? link? run?
> >>
> >>Searched for references to msvcrt in scipy_distutils. Didn't find it.
> >>This isn't a problem I can solve.
> >
> >It's not a problem I can solve either, but I'm trying. Please try the
> >following:
> >
> >Find the gcc specs file. If gcc.exe is %mingwpath%\bin\gcc.exe, and the
> >version is %mingwversion%, then the specs file should be
> >$mingwpath%\lib\gcc\%mingwversion%\specs . Change "-lmsvcrt" to
> >"-lmsvcrt71".
> >
> >Now, edit scipy_distutils/mingw32ccompiler.py at around line 102 or so:
> >
> >"""
> >        # no additional libraries needed
> >        self.dll_libraries=[]
> >        return
> >"""
> >
> >to
> >
> >"""
> >        # no additional libraries needed
> >        self.dll_libraries=['msvcrt71']
> >        return
> >"""

-- 
Brett G. Olivier
Postdoctoral Fellow
Triple-J Group for Molecular Cell Physiology
Stellenbosch University
bgoli at sun dot ac dot za   http://glue.jjj.sun.ac.za/~bgoli
Tel +27-21-8082704  Fax +27-21-8085863  Mobile +27-82-7329306
 
Debian is the Jedi operating system: "Always two there are, a master and
an apprentice".
		-- Simon Richter on debian-devel
 




More information about the SciPy-User mailing list