[SciPy-User] Is there a way to build Scipy on Cygwin?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[SciPy-User] Is there a way to build Scipy on Cygwin?

Fausto Arinos de A. Barbuto

Hi,

I've been trying to build and install Scipy 0.16.1  on Cygwin from the source
but I haven't been successful. The process goes apparently well (with lots of
compilation warnings as usual) until a fatal compilation error is hit (see at
the bottom of this message).

Is there a workaround for this or a detailed set of instructions that I might
follow so as to have Scipy installed on a Cygwin environment?  Scipy installs
pretty well on both  Windows and Linux,  thus Cygwin shouldn't be a problem I
guess.

Thanks!

Fausto


gcc: build/src.cygwin-2.5.2-x86_64-2.7/scipy/fftpack/src/dst.c
/usr/bin/gfortran -Wall -g -Wall -g -shared build/temp.cygwin-2.5.2-x86_64-2.7/build/src.cygwin-2.5.2-x86_64-2.7/scipy/fftpack/_fftpackmodule.o build/temp.cygwin-2.5.2-x86_64-2.7/scipy/fftpack/src/zfft.o build/temp.cygwin-2.5.2-x86_64-2.7/scipy/fftpack/src/drfft.o build/temp.cygwin-2.5.2-x86_64-2.7/scipy/fftpack/src/zrfft.o build/temp.cygwin-2.5.2-x86_64-2.7/scipy/fftpack/src/zfftnd.o build/temp.cygwin-2.5.2-x86_64-2.7/build/src.cygwin-2.5.2-x86_64-2.7/scipy/fftpack/src/dct.o build/temp.cygwin-2.5.2-x86_64-2.7/build/src.cygwin-2.5.2-x86_64-2.7/scipy/fftpack/src/dst.o build/temp.cygwin-2.5.2-x86_64-2.7/build/src.cygwin-2.5.2-x86_64-2.7/fortranobject.o -L/usr/lib/gcc/x86_64-pc-cygwin/5.4.0 -L/usr/lib/python2.7/config -L/usr/lib -Lbuild/temp.cygwin-2.5.2-x86_64-2.7 -ldfftpack -lfftpack -lpython2.7 -lgfortran -o build/lib.cygwin-2.5.2-x86_64-2.7/scipy/fftpack/_fftpack.dll
build/temp.cygwin-2.5.2-x86_64-2.7/libfftpack.a(cosqb.o): In function `cosqb1_':
/cygdrive/c/Users/Fausto/Downloads/scipy-0.16.1/scipy/fftpack/src/fftpack/cosqb.f:16: multiple definition of `cosqb1_'
/usr/lib/libdfftpack.a(cosqb1.o):cosqb1.f:(.text+0x0): first defined here
build/temp.cygwin-2.5.2-x86_64-2.7/libfftpack.a(cosqf.o): In function `cosqf1_':
/cygdrive/c/Users/Fausto/Downloads/scipy-0.16.1/scipy/fftpack/src/fftpack/cosqf.f:14: multiple definition of `cosqf1_'
/usr/lib/libdfftpack.a(cosqf1.o):cosqf1.f:(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
build/temp.cygwin-2.5.2-x86_64-2.7/libfftpack.a(cosqb.o): In function `cosqb1_':
/cygdrive/c/Users/Fausto/Downloads/scipy-0.16.1/scipy/fftpack/src/fftpack/cosqb.f:16: multiple definition of `cosqb1_'
/usr/lib/libdfftpack.a(cosqb1.o):cosqb1.f:(.text+0x0): first defined here
build/temp.cygwin-2.5.2-x86_64-2.7/libfftpack.a(cosqf.o): In function `cosqf1_':
/cygdrive/c/Users/Fausto/Downloads/scipy-0.16.1/scipy/fftpack/src/fftpack/cosqf.f:14: multiple definition of `cosqf1_'
/usr/lib/libdfftpack.a(cosqf1.o):cosqf1.f:(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
error: Command "/usr/bin/gfortran -Wall -g -Wall -g -shared build/temp.cygwin-2.5.2-x86_64-2.7/build/src.cygwin-2.5.2-x86_64-2.7/scipy/fftpack/_fftpackmodule.o build/temp.cygwin-2.5.2-x86_64-2.7/scipy/fftpack/src/zfft.o build/temp.cygwin-2.5.2-x86_64-2.7/scipy/fftpack/src/drfft.o build/temp.cygwin-2.5.2-x86_64-2.7/scipy/fftpack/src/zrfft.o build/temp.cygwin-2.5.2-x86_64-2.7/scipy/fftpack/src/zfftnd.o build/temp.cygwin-2.5.2-x86_64-2.7/build/src.cygwin-2.5.2-x86_64-2.7/scipy/fftpack/src/dct.o build/temp.cygwin-2.5.2-x86_64-2.7/build/src.cygwin-2.5.2-x86_64-2.7/scipy/fftpack/src/dst.o build/temp.cygwin-2.5.2-x86_64-2.7/build/src.cygwin-2.5.2-x86_64-2.7/fortranobject.o -L/usr/lib/gcc/x86_64-pc-cygwin/5.4.0 -L/usr/lib/python2.7/config -L/usr/lib -Lbuild/temp.cygwin-2.5.2-x86_64-2.7 -ldfftpack -lfftpack -lpython2.7 -lgfortran -o build/lib.cygwin-2.5.2-x86_64-2.7/scipy/fftpack/_fftpack.dll" failed with exit status 1



_______________________________________________
SciPy-User mailing list
[hidden email]
https://mail.scipy.org/mailman/listinfo/scipy-user
Loading...