On 06.04.2009 04:17, Bruce Gray wrote: > > On Apr 5, 2009, at 6:48 PM, Lyle wrote: >> --snip-- >> There is a problem with the Rakudo Makefile? Help would be very much >> appreciated... >> http://perl.bristolbath.org/blog/lyle/2009/04/first-perl-6-experiences.html >> > > Yes, there is a problem. I have duplicated it under MinGW/Win2K, but > have not fully analyzed it yet. > > Workaround: > Line 330 of the Makefile reads something like: > CRITIC_FILES=Configure.pl t\harness build\ tools\ > Change all three of line 330's backslashes to forward-slashes, and then > `mingw32-make` will work. i.e.: > CRITIC_FILES=Configure.pl t/harness build/ tools/
A backslash followed by a line terminator tells make (including variants like nmake) to continue reading on the next line (line-continuation). That way, the Makefile doesn't make sense any more. The easiest workaround to avoid the line-continuation is to add a space at the end, i.e. CRITIC_FILES=Configure.pl t\harness build\ tools\ ^ space here! nmake provides a way to escape the line-continuation with ^\ . CRITIC_FILES=Configure.pl t\harness build\ tools^\ But the better way would be to get rid of the slashes/backslashes after the directory names at all. Ron