I was able to get PDL installed in our central software depot, but the Grib build is not working. It bombs out running the makefile like this:

....cpan/build/PDL-IO-Grib-2-cxqhND>/usr/local/depot/perl-5.10.1/perl- +5.10.1/bin/perl Makefile.PL WARNING: DIR takes a ARRAY reference not a string/number. Please inform the author. WARNING: EXE_FILES takes a ARRAY reference not a string/number. Please inform the author. Checking if your kit is complete... Looks good Can't use string ("GribView.pl") as an ARRAY ref while "strict refs" i +n use at /usr/local/depot/perl-5.10.1/perl-5.10.1/lib/5.10.1/ExtUtils +/MM_Unix.pm line 1370.

Here's the Makefile...

.cpan/build/PDL-IO-Grib-2-cxqhND>cat Makefile.PL use ExtUtils::MakeMaker; WriteMakefile( NAME => 'PDL::IO::Grib', EXE_FILES => 'GribView.pl', VERSION_FROM => 'Grib.pm', DIR => 'Grib', dist => {COMPRESS => 'gzip', SUFFIX= +> 'gz'} );

Not sure where to go from here. ??


In reply to PDL::IO::Grib build fail by digdoug

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.