From: Neil N. <new...@ds...> - 2002-12-11 16:57:50
|
When running make I get the following Generating DLL definition files process_begin: CreateProcess((null), echo Building OpenSSL, ...) failed. make (e=2): The system cannot find the file specified. C:\MINGW\BIN\MAKE.EXE: *** [banner] Error 2 You can ignore the error messages above 1 file(s) copied Building the libraries process_begin: CreateProcess((null), echo Building OpenSSL, ...) failed. make (e=2): The system cannot find the file specified. C:\MINGW\BIN\MAKE.EXE: *** [banner] Error 2 where the makefile line is banner: @echo Building OpenSSL The make.html indicates that there should be a \bin\sh.exe, but I do not have one. The documentation say I can set the SHELL system variable and it seems like my only alternative is set SHELL=c:\windows\sh.exe But the result is the same. Similar errors appear for copy and mkdir. Regards, Neil Nelson |
From: Neil N. <new...@ds...> - 2002-12-14 07:13:04
|
First of all, many thanks to Earnie Boyd and Greg Chicares on their very quick solution to my prior \bin\sh.exe problem. I am getting an errno 22 on rename(from,to); rename error= 22 - Invalid argument rename strlen(from)= 15 - strlen(to)= 19 win_rename - from=.\demoCA\serial to to=.\demoCA\serial.old err= -1 And then if I use the same code and file names in a test program external to openssl it works fine. Regards, Neil Nelson |
From: Greg C. <chi...@mi...> - 2002-12-11 17:26:48
|
Neil Nelson wrote: > > When running make I get the following > > Generating DLL definition files > process_begin: CreateProcess((null), echo Building OpenSSL, ...) failed. > make (e=2): The system cannot find the file specified. > C:\MINGW\BIN\MAKE.EXE: *** [banner] Error 2 > You can ignore the error messages above > 1 file(s) copied > Building the libraries > process_begin: CreateProcess((null), echo Building OpenSSL, ...) failed. > make (e=2): The system cannot find the file specified. > C:\MINGW\BIN\MAKE.EXE: *** [banner] Error 2 > > where the makefile line is > > banner: > @echo Building OpenSSL Looks like you don't have an 'echo.exe' on the path. > The make.html indicates that there should be a \bin\sh.exe, but > I do not have one. The documentation say I can set the SHELL > system variable and it seems like my only alternative is > > set SHELL=c:\windows\sh.exe > > But the result is the same. I suspect that the problem is not the shell per se. > Similar errors appear for copy and mkdir. IIRC echo, copy, and mkdir are 'internal' commands in an ms shell, so I suppose that's what you're using. You can install gnu echo, cp, and mkdir binaries on your path (and use cp instead of copy). Or you can use MSYS and *nix makefiles will just work. But this isn't a *nix makefile if it invokes 'copy'. Maybe someone else knows a simpler way. You can probably do something like cmd /c echo and so on, but that's not simpler from my POV. The answer might depend on exactly which version of make you have. There are so many versions with similar version numbers that it's best to say e.g. "it's the one included in MSYS-1.0.8-rc-3.exe" or 'I built it in MSYS from gnu.org tarball such and such". |
From: Earnie B. <ear...@ya...> - 2002-12-11 17:26:58
|
Neil Nelson wrote: > When running make I get the following > > Generating DLL definition files > process_begin: CreateProcess((null), echo Building OpenSSL, ...) failed. > make (e=2): The system cannot find the file specified. > C:\MINGW\BIN\MAKE.EXE: *** [banner] Error 2 > You can ignore the error messages above > 1 file(s) copied > Building the libraries > process_begin: CreateProcess((null), echo Building OpenSSL, ...) failed. > make (e=2): The system cannot find the file specified. > C:\MINGW\BIN\MAKE.EXE: *** [banner] Error 2 > Modify the lines in the scripts containing C:\MINGW\BIN\MAKE.EXE to read C:\MINGW\BIN\MINGW32-MAKE.EXE. Earnie. |