in reply to Re^4: Math::GSL installation on Windows XP
in thread Math::GSL installation on Windows XP
Your advice helped me to install the Math::GSL 0.22, but I found that in order to use the math functions that I need for Math::GSL 0.22, I have to use gsl v 1.13, which I haven't installed yet. I tried using cgywin to build the gsl v1.13 sourcecode, but it seems to have trouble with my gcc compiler.
The config.log file says the following:
configure:3388: $? = 0 configure:3377: gcc -v >&5 Reading specs from C:/Perl/site/lib/auto/MinGW/bin/../lib/gcc/mingw32/ +3.4.5/specs Configured with: ../gcc-3.4.5-20060117-3/configure --with-gcc --with-g +nu-ld --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw - +-enable-threads --disable-nls --enable-languages=c,c++,f77,ada,objc,j +ava --disable-win32-registry --disable-shared --enable-sjlj-exception +s --enable-libgcj --disable-java-awt --without-x --enable-java-gc=boe +hm --disable-libgcj-debug --enable-interpreter --enable-hash-synchron +ization --enable-libstdcxx-debug Thread model: win32 gcc version 3.4.5 (mingw-vista special r3) configure:3388: $? = 0 configure:3377: gcc -V >&5 gcc.exe: `-V' option must have argument configure:3388: $? = 1 configure:3377: gcc -qversion >&5 gcc.exe: unrecognized option `-qversion' gcc.exe: no input files configure:3388: $? = 1 configure:3410: checking for C compiler default output file name configure:3432: gcc conftest.c >&5 cc1.exe: ROOTDIR/gsl_nan.h: not a directory configure:3436: $? = 1 configure:3473: result: configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gsl" | #define PACKAGE_TARNAME "gsl" | #define PACKAGE_VERSION "1.13" | #define PACKAGE_STRING "gsl 1.13" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gsl" | #define VERSION "1.13" | #define RELEASED /**/ | /* end confdefs.h. */ | #include <stdio.h> | int | main () | { | FILE *f = fopen ("conftest.out", "w"); | return ferror (f) || fclose (f) != 0; | | ; | return 0; | } configure:3479: error: in `/cygdrive/ROOTDIR/gsl-1.13': configure:3483: error: C compiler cannot create executables See `config.log' for more details.
Any suggestions?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Math::GSL installation on Windows XP
by syphilis (Archbishop) on Dec 20, 2010 at 22:43 UTC | |
by Barnabas (Initiate) on Dec 29, 2010 at 18:21 UTC | |
by syphilis (Archbishop) on Dec 30, 2010 at 05:47 UTC |