Can someone help with what is probably a trivial build problem?

I am trying to use dmake and the Borland free commandline compiler (5.5) 
with perl 5.6.1 source on a win2K box, but dmake appears to exit (very) 
prematurely, perhaps without seeing the compiler. With makefile.mk settings 
recommended by readme.win32 file, calling dmake from win32 directory 
produces the following output:

del /f config.h
dmake.exe: Error -- SHELL macro not defined


If I uncomment the makefile.mk line to set the SHELL to cmd.exe (which I 
was using to begin with), dmake exits with "del /f config.h", but fails to 
build anything. The Borland compiler runs their testscript fine, and I 
think both the cc path on the OS and the corresponding makefile.mk line are 
set appropriately, i.e.

output from "set" includes:

Path=C:\Borland\Bcc55\bin;

and the corresponding lines in makefile.mk are:

# uncomment exactly one of the following
#
# Visual C++ 2.x
#CCTYPE         *= MSVC20
# Visual C++ > 2.x and < 5.x SP3
#CCTYPE         *= MSVC_PRE_50SP3
# Visual C++ >= 5.x SP3
#CCTYPE         *= MSVC60
# Borland 5.02 or later
CCTYPE          *= BORLAND
# mingw32+gcc-2.95.2 or better
#CCTYPE         *= GCC


Note: if I run "dmake -v" (with SHELL set to /../cmd.exe), dmake 
successfully opens and closes the startup.mk and the makefile.mk file, then 
"processes" (with about 30 lines of 'inferring... and >>>>Making... 
statements) up to and including the statement

"Updating [.\config.h]"

then dmake exits with "del /f config.h".

Any advice greatly appreciated.


Reply via email to