Pages: [1]
|
|
|
Author
|
Topic: Problems compiling 0.4 in MinGW (Read 4422 times)
|
Megagun
Enlightened
Offline
Gender:
Posts: 580
Moo
|
Okay. So I'm having some problems here..
Whenever I try to build UQM using MinGW, (./build.sh uqm config, etc) I get this:
$ ./build.sh uqm config 'echo -n' capable echo found. Sed stream editor found. tr found. Make found. GNU C compiler found. windres found. Little-endian machine detected. build/unix/build.sh: sdl-config: command not found build/unix/build.sh: sdl-config: command not found Simple DirectMedia Layer not found.
So, I searched through these forums, found someone with the same problems as I had (fetid_breath), reproduced his error (he got the SDL sources instead of the mingw devkit), did a "./configure; make; make install", and that gave me the following error:
$ ./configure; make; make install checking build system type... i686-pc-mingw32 checking host system type... i686-pc-mingw32 checking target system type... i686-pc-mingw32 checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes /c/sdl-1.2.8/missing: Unknown `--run' option Try `/c/sdl-1.2.8/missing --help' for more information configure: WARNING: `missing' script is too old or missing checking for gawk... gawk checking whether make sets $(MAKE)... ./configure: ac_maketemp="make": command not found no checking for style of include used by make... none checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. MAKE Version 5.2 Copyright (c) 1987, 1998 Inprise Corp. Fatal: Unable to open makefile MAKE Version 5.2 Copyright (c) 1987, 1998 Inprise Corp. Fatal: Unable to open makefile
That sounded bad. With some googling, I found out that that had to do something with Borland Delphi.. So I renamed the folder Delphi was in, and I got this error instead:
$ ./configure; make; make install checking build system type... i686-pc-mingw32 checking host system type... i686-pc-mingw32 checking target system type... i686-pc-mingw32 checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes /c/sdl-1.2.8/missing: Unknown `--run' option Try `/c/sdl-1.2.8/missing --help' for more information configure: WARNING: `missing' script is too old or missing checking for gawk... gawk checking whether make sets $(MAKE)... no checking for style of include used by make... none checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. sh: make: command not found sh: make: command not found
Erk? anyone knows what gives?
Edit: I got it fixed.. Reinstalled MSYS, apparantly, when it asked for the MinGW folder, I typed c:\mingw instead of c:/mingw (blame DOS! blame DOS!) That did the trick... Let this topic remain here as an.. uuh.. reminder or whatever to people with the same errors...
However, now I got a new problem... If I do "./configure; make; make install", I eventually get this error twice when making.
MAKE Version 5.2 Copyright (c) 1987, 1998 Inprise Corp. Error makefile 842: Colon expected *** 1 errors during make ***
Erk! I tried modifying the makefile, but nothing really helps.
|
|
« Last Edit: July 17, 2005, 01:52:41 pm by Megagun »
|
Logged
|
|
|
|
|
Megagun
Enlightened
Offline
Gender:
Posts: 580
Moo
|
And how exactly am I going to "use GNU make"? When I remove Borland/Inprise make from the path= thing, "make" returns a "command not found"....
|
|
|
Logged
|
|
|
|
|
Megagun
Enlightened
Offline
Gender:
Posts: 580
Moo
|
The only *make.exe files I have in MingW folder are: gnatmake.exe gpr2make.exe and mingw32-make.exe
No regular "make.exe" though.
|
|
|
Logged
|
|
|
|
Novus
Enlightened
Offline
Gender:
Posts: 1938
Fot or not?
|
Have you installed MSYS? You need to install MSYS after installing MinGW, as it provides a Unix-like environment to run build scripts in. make is a part of MSYS, not MinGW.
|
|
|
Logged
|
|
|
|
|
Megagun
Enlightened
Offline
Gender:
Posts: 580
Moo
|
Ah. It seems that Msys renamed make.exe to mingw32-make.exe Renaming it back to make.exe and then just doing MAKE INSTALL did it..
Thanks for the help.
|
|
|
Logged
|
|
|
|
Novus
Enlightened
Offline
Gender:
Posts: 1938
Fot or not?
|
On my installation, mingw32-make.exe and make.exe are two different programs. Apparently, MSYS installs a slightly different make of its own to replace MinGW make.
|
|
|
Logged
|
|
|
|
Pages: [1]
|
|
|
|
|