PotatoesKillMe has asked for the wisdom of the Perl Monks concerning the following question:

I need to make a PPM distribution. I wrote the .pm and created the Makefile when i use nmake to create the PPD i get this error:
makefile(3774) : fatal error U1001: syntax error : illegal character ',' in macro
Stop.

This occurs in pm_to_blib...the SECOND TO LAST LINE!
3771) pm_to_blib: $(TO_INST_PM) 3772) @$(PERL) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" \ 3773) "-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" -MExtUtils::Install \ 3774) -e "pm_to_blib(qw[ $(mktmp,pmfiles.dat $(PM_TO_BLIB:s,\,\\,)\ +n) ],'$(INST_LIB)\auto','$(PM_FILTER)')" 3775) @$(TOUCH) $@

Now this section of code is generated by perl when you run makefile.pl (assuming you know what im talking about) So it doesnt even have to do with my .pm file. It is either a bug in the perl compiler or a bug in nmake. YES i have tried eliminating each comma but that doesnt work and YES i even tried using dmake rather than nmake (and i get another error even earlier on in the code so that doesnt even come close)...HELP

Edit by tye

Replies are listed 'Best First'.
Re: !!!PPM and PPD perl packages!!!
by PodMaster (Abbot) on Oct 29, 2002 at 10:08 UTC
    I suggest you upgrade your ExtUtils::MakeMaker, and try it again,

    or

    give us a more detailed description of the problem (like a tarball).

    The only time I get make errors like that is when i use a make program other than one specified by `perl -V:make'.

    ____________________________________________________
    ** The Third rule of perl club is a statement of fact: pod is sexy.