On Fri, Mar 25, 2005 at 10:10:55AM +0100, Rafael Garcia-Suarez wrote: > > 1. Latest version of dmake(recommended to use for building perl on > > Win32), which is dmake-4.3-20050307-SHAY, and latest stable version > > of Perl, 5.8.6, do not go well together. dmake balks at makefile.mk > > in Perl's win32 subdirectory. It gives an error > > ".IF do not support defined " . > > > > This seems to have been fixed in perl-current, file win32/makefile.mk, > > revision 18441: > > http://svn.clkao.org/svnweb/perl/revision/?rev=18441 > > http://svn.clkao.org/svnweb/perl/diff/p4-trunk/win32/makefile.mk?rev1=18434&rev2=18441
> Can you try with a snapshot of the current maintperl branch ? (well, and > with bleadperl as well.) Read perlhack.pod for directions about getting > them. Here's a trivial patch to makefile.mk against maintperl that solves the problem (bleadperl solved it in the change referred to above). I verified that the new dmake has no issues with makefile.mk after this patch is applied. $ diff -u ../../5.8.x-pristine/win32/makefile.mk makefile.mk --- ../../5.8.x-pristine/win32/makefile.mk Thu Jan 13 01:51:14 2005 +++ makefile.mk Thu Mar 31 16:20:55 2005 @@ -279,16 +279,16 @@ PERL_MALLOC = undef .ENDIF -.IF "$(USE_IMP_SYS)$(USE_MULTI)$(USE_5005THREADS)" == "defineundefundef" +.IF "$(USE_IMP_SYS) $(USE_MULTI) $(USE_5005THREADS)" == "define undef undef" USE_MULTI != define .ENDIF -.IF "$(USE_ITHREADS)$(USE_MULTI)" == "defineundef" +.IF "$(USE_ITHREADS) $(USE_MULTI)" == "define undef" USE_MULTI != define USE_5005THREADS != undef .ENDIF -.IF "$(USE_MULTI)$(USE_5005THREADS)" != "undefundef" +.IF "$(USE_MULTI) $(USE_5005THREADS)" != "undef undef" BUILDOPT += -DPERL_IMPLICIT_CONTEXT .ENDIF -- avva "There's nothing simply good, nor ill alone" -- John Donne
