On 28/10/02 18:01 +1100, Sisyphus wrote: > > ----- Original Message ----- > From: "Sisyphus" <[EMAIL PROTECTED]> > > > ____________________________________________ > > CPAN::MakeMaker should only be used inside Makefile.PL > > Compilation failed in require at makefile.pl line 1. > > BEGIN failed--compilation aborted at makefile.pl line 1. > > ____________________________________________ > > > > Ok ... so I have to run 'perl Makefile.PL' instead of 'perl > makefile.pl'.(That's the first time that has been an issue for me, btw.)
Yeah. That's my sanity check. I've already fixed it to be case insensitive. > > Doing that, it goes ok, but 'nmake' croaks with: > makefile(706) : fatal error U1001: syntax error : illegal character '.' in > macro > Stop. > > (Got the same error message when I tried to build Digest::MD5 with > CPAN::MakeMaker.) > > Line 706 is: > .PHONY = cpurge chelp > > Here's a bit more context for you: > _________________________________________ > # --- MakeMaker postamble section: > > > # End. > # Well, not quite. CPAN::MakeMaker is adding this: > > ..PHONY = cpurge chelp That's *two* dots? CPAN::MM only prints one dot. How in the heck did that get in there? > # The cpurge target can be used by the author of this module to remove > # files added by CPAN::MakeMaker. The files will not be removed from > # the MANIFEST. You'll need to do that yourself. > ___________________________________________ > > Can happily report that if I remove the offending '.' from the makefile it > builds fine, producing identical files. Did you remove one of the dots, or both of them?? Cheers, Brian