----- 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.)

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

# 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.

As regards inline-0.44-release-candidate-1, I built it successfully with
CPAN::MakeMaker in both the toplevel Makefile.PL and in the Makefile.PL
that's in the 'C' folder.
(This meant that there were 2 makefiles from which the '.' had to be
deleted.)

Guess it might be some nmake-specific-syntax-issue.

I'll leave it at that, for now. I've already filled my quota of silly
mistakes for one day.

Cheers,
Rob

Reply via email to