Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Module-Install-Repository-0.06 - error installing on Windows

by szabgab (Priest)
on Feb 11, 2012 at 08:22 UTC ( #953179=perlquestion: print w/ replies, xml ) Need Help??
szabgab has asked for the wisdom of the Perl Monks concerning the following question:

While building the next version of DWIM Perl, I was trying to install Module-Install-Repository-0.06 on Strawberry Perl 5.14.2 on Windows but it failed.
CPAN: CPAN::SQLite loaded ok (v0.202) Database was generated on Fri, 10 Feb 2012 10:11:17 GMT Running install for module 'Module::Install::Repository' Running make for M/MI/MIYAGAWA/Module-Install-Repository-0.06.tar.gz CPAN: Digest::SHA loaded ok (v5.63) CPAN: Compress::Zlib loaded ok (v2.042) Checksum for C:\strawberry\cpan\sources\authors\id\M\MI\MIYAGAWA\Modul +e-Install-Repository-0.06.tar.gz ok CPAN: Archive::Tar loaded ok (v1.80) CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.4401) CPAN: CPAN::Meta loaded ok (v2.112621) CPAN: Module::CoreList loaded ok (v2.57) CPAN.pm: Building M/MI/MIYAGAWA/Module-Install-Repository-0.06.tar.g +z CPAN: CPAN::Reporter loaded ok (v1.2003) Checking if your kit is complete... Looks good Writing Makefile for Module::Install::Repository JSON 2.5 is required for $ENV{PERL_JSON_BACKEND} = 'JSON::XS' at C:/strawberry/perl/lib/CPAN/Meta/Converter.pm line 22 at C:/strawberry/perl/lib/ExtUtils/MM_Any.pm line 1278 (C:\strawberry\perl\bin\perl.exe Makefile.PL exited with 65280) CPAN::Reporter: Makefile.PL result is 'unknown', Stopped with an error +. CPAN::Reporter: preparing a CPAN Testers report for Module-Install-Rep +ository-0.06
C:\strawberry>mversion JSON 2.53 C:\strawberry>mversion JSON::XS 2.32
So I went and cloned the github repository of Module-Install-Repository to see if I can figure out the problem: https://github.com/miyagawa/module-install-repository
C:\work\module-install-repository>perl Makefile.PL include C:/work/module-install-repository/inc/Module/Install.pm Bareword "auto_set_repository" not allowed while "strict subs" in use +at Makefile.PL line 4. Execution of Makefile.PL aborted due to compilation errors.
Now I am totally confused. Isn't auto_set_repository supplied by Module-Install-Repository?

Comment on Module-Install-Repository-0.06 - error installing on Windows
Select or Download Code
Re: Module-Install-Repository-0.06 - error installing on Windows
by chessgui (Scribe) on Feb 11, 2012 at 08:32 UTC
    Adjál nekem tanácsot: Windows alatt hogyan tudom installálni a Gtk2 modult és kapcsolt részeit.
Re: Module-Install-Repository-0.06 - error installing on Windows
by Anonymous Monk on Feb 11, 2012 at 08:47 UTC

    There is no problem? From  cpanp z Module::Install::Repository

    $ perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Module::Install::Repository Writing MYMETA.yml and MYMETA.json $ perl -d:Modlist Makefile.PL Writing Makefile for Module::Install::Repository Writing MYMETA.yml and MYMETA.json B 1.29 CPAN::Meta 2.120351 CPAN::Meta::Converter 2.120351 CPAN::Meta::Feature 2.120351 CPAN::Meta::Prereqs 2.120351 CPAN::Meta::Requirements 2.120351 CPAN::Meta::Validator 2.120351 CPAN::Meta::YAML 0.007 Carp 1.23 Config Config_git.pl Config_heavy.pl Cwd 3.36 DirHandle 1.04 DynaLoader 1.13 Exporter 5.66 Exporter::Heavy 5.66 ExtUtils::Liblist 6.62 ExtUtils::Liblist::Kid 6.62 ExtUtils::MM 6.62 ExtUtils::MM_Any 6.62 ExtUtils::MM_Unix 6.62 ExtUtils::MM_Win32 6.62 ExtUtils::MY 6.62 ExtUtils::MakeMaker 6.62 ExtUtils::MakeMaker::Config 6.62 File::Basename 2.82 File::Find 1.19 File::Path 2.08_01 File::Spec 3.33 File::Spec::Unix 3.33 File::Spec::Win32 3.33 FindBin 1.50 JSON::PP 2.27200 List::Util 1.23 Module::Install::Base 0.91 Parse::CPAN::Meta 1.4402 Scalar::Util 1.23 Symbol 1.07 Text::ParseWords 3.27 Win32 0.44 XSLoader 0.15 base 2.16 bytes 1.04 constant 1.21 inc::Module::Install 0.91 overload 1.13 utf8 1.09 vars 1.02 version 0.96 version::vxs 0.96 warnings 1.12 warnings::register 1.02

    Suggestion, upgrade all outdated modules :)

      On Linux it works for me too.

        Dude, I'm Anonymous Monk :)

        $ perl -le " print join q/ /, $^V, $^O " v5.14.1 MSWin32

        You missed Win32 0.44 from previous response

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://953179]
Approved by planetscape
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2014-10-25 05:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (142 votes), past polls