Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Strawberry CPAN: error code 130, while making 'pm_to_blib'

by syphilis (Archbishop)
on Mar 14, 2009 at 00:04 UTC ( [id://750548]=note: print w/replies, xml ) Need Help??


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

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
  • Comment on Re^2: Strawberry CPAN: error code 130, while making 'pm_to_blib'

Replies are listed 'Best First'.
Re^3: Strawberry CPAN: error code 130, while making 'pm_to_blib'
by frankcox (Acolyte) on Mar 14, 2009 at 07:45 UTC
    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

        I've been suspecting a MakeMaker version issue myself. I have:

        perl -v This is perl, v5.10.0 built for MSWin32-x64-multi-thread pmvers ExtUtils::MakeMaker 6.48 pmvers ExtUtils::Install 1.52

        I've been using nmake though and I discovered that it will work correctly if I use dmake.

        [after perl Makefile.PL NOECHO=] C:\Users\frank\Desktop\cell\Geo-ReadGRIB>nmake Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. [lots of mkpath, chmod, touch that work...] C:\strawberry\perl\bin\perl.exe -MExtUtils::Install -e "pm_to +_blib({{@ARGV}, 'blib\lib\auto', '')" -- lib/Geo/ReadGRIB/Place.pm blib\lib\Geo\ReadGRIB\Place.pm lib/Geo/Re +adGRIB.html blib\lib\Geo\ReadGRIB.html lib/Geo/ReadGRIB.pm blib\lib\Geo\ReadGRIB.pm lib/Geo/Sample-GRIB/akw. +HTSGW.grb blib\lib\Geo\Sample-GRIB\akw.H TSGW.grb lib/Geo/ReadGRIB/PlaceIterator.pm blib\lib\Geo\ReadGRIB\Plac +eIterator.pm syntax error at -e line 1, next char ) Missing right curly or square bracket at -e line 1, at end of line

        It works with dmake and notice and notice the "pm_to_blib({@ARGV}" instead of "pm_to_blib({{@ARGV}"

        C:\Users\frank\Desktop\cell\Geo-ReadGRIB>c:\bin\dmake\dmake [lots of mkpath, chmod, touch that work...] C:\strawberry\perl\bin\perl.exe -MExtUtils::Install -e "pm_to_blib({@A +RGV}, 'blib\lib\auto', '')" -- \ lib/Geo/ReadGRIB/Place.pm blib\lib\Geo\ReadGRIB\Place.pm \ lib/Geo/ReadGRIB.html blib\lib\Geo\ReadGRIB.html \ lib/Geo/ReadGRIB.pm blib\lib\Geo\ReadGRIB.pm \ lib/Geo/Sample-GRIB/akw.HTSGW.grb blib\lib\Geo\Sample-GRIB\a +kw.HTSGW.grb \ lib/Geo/ReadGRIB/PlaceIterator.pm blib\lib\Geo\ReadGRIB\Plac +eIterator.pm [no errors. Goes on to make test and install fine]

        Thanks to both of you for the helpful suggestions! I'm feeling less bad about this now. I'm not sure how much I can do about it though, other than put a note in the README.

        --Frank

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://750548]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-25 09:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found