----- Original Message -----
From: "Brian Ingerson" <[EMAIL PROTECTED]>
To: "Sisyphus" <[EMAIL PROTECTED]>
Cc: "Inline Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, October 28, 2002 6:18 PM
Subject: Re: CPAN-MakeMaker-0.10 - start again


> 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?
>

Don't know how I managed to do that ... as I recall, it was a
straightforward cut'n'paste with no editing done ... but there's definitely
only one dot (I've just run it again to be certain) ... which I removed.

I note that there's an earlier occurrence of '.PHONY' in the makefile. No
problem with that one.

Cheers,
Rob

Reply via email to