in reply to Strawberry CPAN: error code 130, while making 'pm_to_blib'

You posted this months ago but your question came up in a search I did for a problem I'm having...

Specificity, look at the first line in the pm_to_blib section of your makefile where is says "pm_to_blib({{@ARGV...". As I count it there is an extra right curly bracket which will be a error.

This is the problem I have with my module under strawberry anyway.

If you can, try running the following command and then make again:

perl Makefile.PL NOECHO=

This will turn off NOECHO so all the commands make runs can be seen. See if it dies on that line and count the brackets.

If this problems is now too far in your past for you to bother with I understand.

--Frank Lyon Cox

  • Comment on Re: Strawberry CPAN: error code 130, while making 'pm_to_blib'

Replies are listed 'Best First'.
Re^2: Strawberry CPAN: error code 130, while making 'pm_to_blib'
by syphilis (Archbishop) on Mar 14, 2009 at 00:04 UTC
    As I count it there is an extra right curly bracket which will be a error.

    You mean an extra *left* curly bracket ? That seems to be normal. I get it in the Makefiles that 'perl Makefile.PL' builds for me, and it doesn't pose any problems.

    If that syntax is causing a problem for you, then perhaps it's your version of dmake that's at fault. (I have version 4.11-20080107-SHAY from CPAN).

    Cheers,
    Rob
      You mean an extra *left* curly bracket

      I did mean left, my typo.

      When I try to install Geo::ReadGRIB I'm actually getting the error "Missing right curly or square bracket..." on that pm_to_blib line when I try to build under Strawberry. With any other perl I've tried I don't get that error or the extra brackets.

      I've removed that extra bracket and a few others from the makefile by hand to get it to build and install.

      I'd like to know why it's happening in my case on Strawberry Perl. It can't be a widespread issue. I did a lot of searching and this is the only thread anyplace I've found that even comes close. (And I don't think that's what's causing this).

        Odd. I have no trouble with that module on Strawberry Perl 5.10:
        C:\_32\comp\Geo-ReadGRIB-0.6>perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Geo::ReadGRIB C:\_32\comp\Geo-ReadGRIB-0.6>dmake test cp lib/Geo/ReadGRIB.pm blib\lib\Geo\ReadGRIB.pm cp lib/Geo/Sample-GRIB/akw.HTSGW.grb blib\lib\Geo\Sample-GRIB\akw.HTSG +W.grb gcc -o blib\lib/Geo/wgrib.exe wgrib.c C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_h +arness(0, 'blib\lib', 'blib\arch')" t/*.t t/0-Geo-ReadGRIB..............ok t/1-Geo-ReadGRIB-Object.......v-string in use/require non-portable at +C:\_32\com p\Geo-ReadGRIB-0.6\blib\lib/Geo/ReadGRIB.pm line 13. t/1-Geo-ReadGRIB-Object.......ok t/2-Geo-ReadGRIB-Data.........v-string in use/require non-portable at +C:\_32\com p\Geo-ReadGRIB-0.6\blib\lib/Geo/ReadGRIB.pm line 13. t/2-Geo-ReadGRIB-Data.........ok t/3-Geo-ReadGRIB-Data-LaLo....v-string in use/require non-portable at +C:\_32\com p\Geo-ReadGRIB-0.6\blib\lib/Geo/ReadGRIB.pm line 13. t/3-Geo-ReadGRIB-Data-LaLo....ok t/4-Geo-ReadGRIB-Param........v-string in use/require non-portable at +C:\_32\com p\Geo-ReadGRIB-0.6\blib\lib/Geo/ReadGRIB.pm line 13. t/4-Geo-ReadGRIB-Param........ok All tests successful. Files=5, Tests=16, 3 wallclock secs ( 0.17 usr + 0.06 sys = 0.23 CP +U) Result: PASS
        On Strawberry 5.8 it also builds ok - I don't even get those warnings when the tests are run.

        As Anonymous Monk suggests, you could try another version of ExtUtils::MakeMaker. On the various builds of Strawberry that I have, I'm running ExtUtils::MakeMaker versions 6.30_01, 6.44 and 6.46 (all of which are fine). Other than that, try another version of dmake.

        Could you post the complete output you're getting for the 'perl Makefile.PL' and 'dmake' stages.

        Cheers,
        Rob