Hello. I'm trying to set up Gambit on a 64-bit Windows 7 box. I've already installed MinGW and downloaded Gambit. When I try to execute ./configure, I get the following errors in config.log below. I've searched my system for confdefs and could not find it. Any assistance would be appreciated.
Thanks, Steve --- configure:3136: $? = 0configure:3125: gcc -v >&5Using built-in specs.COLLECT_GCC=C:\MinGW\bin\gcc.exeCOLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.5.2/lto-wrapper.exeTarget: mingw32Configured with: ../gcc-4.5.2/configure --enable-languages=c,c++,ada,fortran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgomp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --disable-werror --build=mingw32 --prefix=/mingwThread model: win32gcc version 4.5.2 (GCC)configure:3136: $? = 0configure:3125: gcc -V >&5gcc.exe: '-V' option must have argumentconfigure:3136: $? = 1configure:3125: gcc -qversion >&5gcc.exe: unrecognized option '-qversion'gcc.exe: no input filesconfigure:3136: $? = 1configure:3158: checking for C compiler default output file nameconfigure:3180: gcc conftest.c >&5configure:3184: $? = 1configure:3221: result:configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "Gambit-C"| #define PACKAGE_TARNAME "gambc-v4_6_0"| #define PACKAGE_VERSION "v4.6.0"| #define PACKAGE_STRING "Gambit-C v4.6.0"| #define PACKAGE_BUGREPORT "gambit@iro.umontreal.ca"| #define PACKAGE_URL ""| /* end confdefs.h. */| #include <stdio.h>| int| main ()| {| FILE *f = fopen ("conftest.out", "w");| return ferror (f) || fclose (f) != 0;|| ;| return 0;| }configure:3227: error: in `/c/jazzscheme/gambit':configure:3231: error: C compiler cannot create executablesSee `config.log' for more details.
Afficher les réponses par date
Hallo,
On Wed, Mar 23, 2011 at 6:47 PM, Steve Graham jsgrahamus@yahoo.com wrote:
Hello. I'm trying to set up Gambit on a 64-bit Windows 7 box. I've already installed MinGW and downloaded Gambit. When I try to execute ./configure, I get the following errors in config.log below. I've searched my system for confdefs and could not find it. Any assistance would be appreciated.
Did you run "make" inside the msys shell?
-- -alex http://www.artisancoder.com/
On 2011-03-23, at 5:47 PM, Steve Graham wrote:
Hello.
I'm trying to set up Gambit on a 64-bit Windows 7 box. I've already installed MinGW and downloaded Gambit. When I try to execute ./configure, I get the following errors in config.log below. I've searched my system for confdefs and could not find it.
Any assistance would be appreciated.
Are you sure you want to build Gambit from the sources? There is a binary distribution for Windows available from the Gambit wiki.
Marc
On 2011-03-23, at 5:47 PM, Steve Graham wrote:
Hello.
I'm trying to set up Gambit on a 64-bit Windows 7 box. I've already installed MinGW and downloaded Gambit. When I try to execute ./configure, I get the following errors in config.log below. I've searched my system for confdefs and could not find it.
Any assistance would be appreciated.
The file "confdefs.h" is created by the configure script. It is normal for the configure script to generate some errors in config.log (because the configure script determines which features of the C compiler are available by trying them out and seeing if it causes an error). What was the error message at the console? Have you managed to compile a simple "hello world" program with the gcc that comes with MinGW? It could be that it isn't installed properly.
Marc