in reply to Strawberry and CPAN

Some modules have installed just fine, others have this error message.

Probably better if you can name one of these "others" ... if you could nominate one that's more straightforward than Image::Magick, then it would increase the likelihood of finding a solution.

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: Strawberry and CPAN
by Cody Pendant (Prior) on Jan 09, 2008 at 21:53 UTC
    Well for a start, I installed Bundle::CPAN and they all installed except for IO::Zlib, which had exactly the same error:
    ERROR: Cannot copy 'Zlib.pm' to 'blib\lib\IO\Zlib.pm': No such file or directory [snip] dmake.EXE: Error code 130, while making 'pm_to_blib' [snip] Failed during this command: TOMHUGHES/IO-Zlib-1.09.tar.gz : make NO


    Nobody says perl looks like line-noise any more
    kids today don't know what line-noise IS ...
Re^2: Strawberry and CPAN
by Cody Pendant (Prior) on Jan 09, 2008 at 22:01 UTC
    Then I tried Perl::Critic which has an almost comically-long list of dependencies and it failed almost all of them:
    ADAMK/Test-Object-0.07.tar.gz : make NO ADAMK/Class-Inspector-1.18.tar.gz : make NO ADAMK/Test-ClassAPI-1.04.tar.gz : make NO DCONWAY/Hook-LexWrap-0.20.tar.gz : make NO ADAMK/Test-SubCalls-1.07.tar.gz : make NO ADAMK/Task-Weaken-1.02.tar.gz : make NO RDF/Clone-0.28.tar.gz : make NO ADAMK/PPI-1.201.tar.gz : make NO JJORE/B-Keywords-1.08.tar.gz : make NO DARREN/String-Format-1.14.tar.gz : make NO VPARSEVAL/List-MoreUtils-0.21.tar.gz : make NO GAAS/IO-String-1.08.tar.gz : make NO ROODE/Readonly-1.03.tar.gz : make NO
    with the same error. Can't copy, dmake error 130, pm_to_blib, <whatever>.tar.gz make : no.


    Nobody says perl looks like line-noise any more
    kids today don't know what line-noise IS ...
      ROODE/Readonly-1.03.tar.gz                   : make NO

      What happens if you try to install just Readonly (by itself) using CPAN - does the same error persist ?

      Readonly-1.03 builds fine for me on Strawberry-5.10. However, I don't use CPAN.pm (which is probably where the problem lies).

      Since *every* module you build has to copy a pm to blib, it's especially odd that this problem affects only *some* modules.

      Cheers,
      Rob
Re^2: Strawberry and CPAN
by Cody Pendant (Prior) on Jan 09, 2008 at 22:10 UTC
    Makefile.PL from Perl::Magick: and the Makefile.nt version:


    Nobody says perl looks like line-noise any more
    kids today don't know what line-noise IS ...