|
From: Alan J. C. <ajc...@gm...> - 2008-09-10 14:58:10
|
> DON'T TOP POST. I'm not too familiar with these terms .. what does this mean ? > What if you use the MSYS version of make? Is the VM on the same PC as > the original? You haven't given us much to go on. I haven't tried the MSYS version of make, but I'll do that. Anyway here is the whole story ... I have a VM where I try stuff out before using them in my actual working environment. This VM has got Windows Server 2003 Enterprise Edition running. I installed MinGW (manual download of the modules) (gcc, g++, binutils, mingw32-make, mingw-utils, gdb) last week and it all worked fine. For the w/end I turned off the VM just in case some updates are installed on the host machine and it boots or something of the sort. Last Tuesday (Monday was a holiday here) I restarted the VM, and thought that i might try MSYS. I installed MSYS using the installer package in a different folder than MinGW. From that moment on mingw32-make is giving the error I posted earlier after every command, whether the command is to compile a file, delete a file, create a directory or whatever. I then tried removing the whole MinGW folder and re-extracted all the packages in the order as described on http://www.mingw.org/node/24 but the problem persisted. I then started a new VM on the same host machine and installed the same OS, i.e. Window Server 2003 Enterprise Edition. I installed gzip and libarchive (for bsdtar.exe) on this VM and extracted the MinGW packages on this VM, but did not install neither MSYS nor CYGWIN. The problem persists. The source code I am compiling is located on another server. I mapped this location to a network drive. However, even when I tried a dummy compilation (sort of hello world) with sources located on local disks on the VMs (both of them), the problem persisted. > When you installed MSYS you there is now a sh.exe and if mingw32-make > finds a file of that name it will use that instead of cmd.exe unless > you state inside of the Makefile ``SHELL = cmd''. > > Earnie > > |