i have just upgraded to redhat 9, and was using 8.0 and the "8.1 beta" before this. i'm trying to install the CDB_File-0.92 module from CPAN. it worked correctly under 8.0, but with the beta version and now with 9, it generates the following:

> tar xvf CDB_File-0.92.tar.gz > cd CDB_File-0.92 > perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for CDB_File > make Makefile:82: *** missing separator. Stop.
looking at the Makefile it generated, i find the following...
76 INSTALLARCHLIB = /usr/lib/perl5/5.8.0/i386-linux-thread-multi 77 INSTALLSITEARCH = 78 INSTALLVENDORARCH = /usr/lib/perl5/vendor_perl/5.8 79 INSTALLBIN = /usr/bin' 80 installhtml1dir='' 81 installhtml3dir='' 82 installman1 83 INSTALLSITEBIN = /usr 84 INSTALLVENDORBIN = /usr/bin' 85 installvendorhtml1='' 86 installvendorhtml3='' 87 installvendorlib='/u 88 INSTALLSCRIPT = /usr/bin
the extraneous lines (80-82, 85-87, etc.) are physically in this order in the /usr/lib/perl5/5.8.0/i386-linux-thread-multi/Config.pm file (as installed by the "perl-5.8.0-88" RPM file included with RedHat 9.) i don't see any obvious problems with the Config.pm file itself (i.e. missing or doubled quotes, etc.)

again, the exact same thing happened with the 8.1 beta, but it worked with 8.0.

searching google finds references to making sure you have tabs instead of spaces in the Makefile itself. however, i think the Makefile itself shows the problem (there's no ":" or "=" on the line, and it doesn't start with a tab, so make doesn't know what to do with it.)

i have also noticed the same thing happening (random three- and four-line blocks of Config.pm appearing in the generated Makefile) when building other modules, such as MD5.pm and CPAN.pm.

is this a redhat-specific issue? is it a bug in ExtUtils::MakeMaker? other ideas?

update (broquaint): title change (was Makefile problem)


In reply to problem building CDB_File-0.92 - Makefile:82: *** missing separator by jms1

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.