[SciPy-user] Problems building SciPy

John Hassler hasslerjc@comcast....
Sun Apr 8 14:17:16 CDT 2007


Since these seem to be popular at the moment ....

I try to keep C: for the OS and use D:\Program Files\ for everything 
else, as far as possible.  I installed msys and MinGW there, and it 
worked for simple tests, but something in the numpy build could not 
handle the blank in "Program Files," even with quotes in the path.  Ok, 
reinstall and let msys and MinGW go where they want (ie., C:).

Then I found that I had to use a double backslash in the path for 
[atlas], rather than the single backslash in the example on the web 
page.  Ok, numpy now builds, installs, and passes all tests.

When I tried to build SciPy, however, it builds for a long time, but 
finally ends with the following error.  What am I missing?
thanks
john

c:\MinGW\bin\g77.exe -g -Wall -mno-cygwin -shared 
build\temp.win32-2.5\Release\build\src.win32-2.5\lib\fftpack\_fftpackmodule.o 
build\temp.win32-2.5\Release\lib\fftpack\src\zfft.o 
build\temp.win32-2.5\Release\lib\fftpack\src\drfft.o 
build\temp.win32-2.5\Release\lib\fftpack\src\zrfft.o 
build\temp.win32-2.5\Release\lib\fftpack\src\zfftnd.o 
build\temp.win32-2.5\Release\build\src.win32-2.5\fortranobject.o 
-Lc:\MinGW\lib -Lc:\MinGW\lib\gcc\mingw32\3.4.2 -Ld:\program 
files\python25\libs -Ld:\program files\python25\PCBuild 
-Lbuild\temp.win32-2.5 -ldfftpack -lpython25 -lg2c -lgcc -lmsvcr71 -o 
build\lib.win32-2.5\scipy\fftpack\_fftpack.pyd
c:\MinGW\lib\gcc\mingw32\3.4.2/libgcc.a(__main.o): undefined reference 
to `__EH_FRAME_BEGIN__'
c:\MinGW\lib\gcc\mingw32\3.4.2/libgcc.a(__main.o): undefined reference 
to `__EH_FRAME_BEGIN__'
collect2: ld returned 1 exit status
error: Command "c:\MinGW\bin\g77.exe -g -Wall -mno-cygwin -shared 
build\temp.win32-2.5\Release\build\src.win32-2.5\lib\fftpack\_fftpackmodule.o 
build\temp.win32-2.5\Release\lib\fftpack\src\zfft.o 
build\temp.win32-2.5\Release\lib\fftpack\src\drfft.o 
build\temp.win32-2.5\Release\lib\fftpack\src\zrfft.o 
build\temp.win32-2.5\Release\lib\fftpack\src\zfftnd.o 
build\temp.win32-2.5\Release\build\src.win32-2.5\fortranobject.o 
-Lc:\MinGW\lib -Lc:\MinGW\lib\gcc\mingw32\3.4.2 "-Ld:\program 
files\python25\libs" "-Ld:\program files\python25\PCBuild" 
-Lbuild\temp.win32-2.5 -ldfftpack -lpython25 -lg2c -lgcc -lmsvcr71 -o 
build\lib.win32-2.5\scipy\fftpack\_fftpack.pyd" failed with exit status 1



More information about the SciPy-user mailing list