Title: Problems compiling 0.4 in MinGW Post by: Megagun on July 17, 2005, 01:28:28 pm Whenever I try to build UQM using MinGW, (./build.sh uqm config, etc) I get this: Code: $ ./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. Code: $ ./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 Code: $ ./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 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. Code: 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. Title: Re: Problems compiling 0.4 in MinGW Post by: Novus on July 17, 2005, 02:46:55 pm If I do "./configure; make; make install", I eventually get this error twice when making. Use GNU make instead of Borland/Inprise make (remove it from the search path). Also see bug 755 (http://uqm.stack.nl/cgi-bin/bugs/show_bug.cgi?id=755).Code: MAKE Version 5.2 Copyright (c) 1987, 1998 Inprise Corp. Error makefile 842: Colon expected *** 1 errors during make *** Title: Re: Problems compiling 0.4 in MinGW Post by: Megagun on July 17, 2005, 04:53:06 pm 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".... Title: Re: Problems compiling 0.4 in MinGW Post by: Novus on July 17, 2005, 05:25:54 pm And how exactly am I going to "use GNU make"? Huh? MSys should include GNU make by default. Make sure that make.exe is in the path.When I remove Borland/Inprise make from the path= thing, "make" returns a "command not found".... Title: Re: Problems compiling 0.4 in MinGW Post by: Megagun on July 17, 2005, 05:32:03 pm The only *make.exe files I have in MingW folder are:
gnatmake.exe gpr2make.exe and mingw32-make.exe No regular "make.exe" though. Title: Re: Problems compiling 0.4 in MinGW Post by: Novus on July 17, 2005, 05:37:08 pm 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.
Title: Re: Problems compiling 0.4 in MinGW Post by: meep-eep on July 17, 2005, 05:45:14 pm Try running mingw32-make instead of just make. That may help. Still, you should have a make.exe.
Title: Re: Problems compiling 0.4 in MinGW Post by: Megagun on July 17, 2005, 06:11:59 pm 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. :) Title: Re: Problems compiling 0.4 in MinGW Post by: Novus on July 17, 2005, 06:24:59 pm 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.
|