Open amoh-godwin opened 3 years ago
The configure script should generate the test .c file from the script. It is not missing.
C:\MinGW\bin\gcc.exe conftest.c
Ok, but is gcc.exe in your PATH? you need to be able to run gcc.exe without any path qualifer. That's what I think the error is saying: it can't find your compiler. Check config.log for details.
@RossBencina I did I've added it. You can run gcc at the prompt at both the native cmd and also at the bash prompt. But I get the same error, the same error log.
I think this is the problem line:
gcc.exe: error: CreateProcess: No such file or directory
Possibly this fix? https://stackoverflow.com/a/6085411/2013747
Same error. gcc is the one reporting the error. Check the log, third line from the one I posted. The conftest.c is just not there
If conftest.c
was missing, you would get an error like this:
$ gcc conftest.c
gcc.exe: error: conftest.c: No such file or directory
gcc.exe: fatal error: no input files
The CreateProcess
failure suggests some exe is missing.
configure:3175: C:\MinGW\bin\gcc.exe conftest.c >&5 gcc.exe: error: CreateProcess: No such file or directory
@npostavs well that is the exact same error.
@amoh-godwin no, one mentions conftest.c
by name, where the other just has CreateProcess
.
@npostavs oh okay
The CreateProcess failure suggests some exe is missing.
Or a dll that it links to.
@amoh-godwin - Can you clarify what "fails" means. Perhaps MinGW is not installed correctly?
Does ./configure correctly determine that MinGW is broken? Or does ./configure crash and not create a Makefile?
@philburk I have updated my first comment to include the entire log.
We'd be interested to hear whether anyone else is having this issue.
The entire log in config.log:
I checked to see if conftest.c exists, it didn't. So I decided to create one with the code that is above, copied and pasted it and removed the '|'. When I run
bash-3.1$ ./configure
it deleted the conftest.c and still printed the same error. Also notice the multiple spaces between C:\MinGW\bin\gcc.exe and conftest.cC:\MinGW\bin\gcc.exe conftest.c
Desktop: