Subject: | Is this a bug? |
Date: | Mon, 24 Jun 2013 13:23:59 +0000 |
To: | "bug-JSON [...] rt.cpan.org" <bug-json [...] rt.cpan.org> |
From: | W C <jac1993 [...] hotmail.com> |
Hello.
I am new to this environment. I am here because I found interest in 3d printing using https://github.com/alexrj/Slic3r/wiki/Running-Slic3r-from-git-on-Windows.
Following these instructions, I installed Strawberry Perl on a Windows 7 platform and then tried to do the following:
c:\strawberry>cpan JSON
CPAN: CPAN::SQLite loaded ok (v0.202)
Database was generated on Mon, 24 Jun 2013 12:53:56 GMT
Running install for module 'JSON'
Running make for M/MA/MAKAMAKA/JSON-2.59.tar.gz
CPAN: Digest::SHA loaded ok (v5.84)
CPAN: Compress::Zlib loaded ok (v2.06)
Checksum for C:\strawberry\cpan\sources\authors\id\M\MA\MAKAMAKA\JSON-2.59.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.90)
CPAN: File::Temp loaded ok (v0.22)
CPAN: Parse::CPAN::Meta loaded ok (v1.4404)
CPAN: CPAN::Meta loaded ok (v2.120921)
CPAN: Module::CoreList loaded ok (v2.83)
CPAN.pm: Building M/MA/MAKAMAKA/JSON-2.59.tar.gz
We try to look up lib/JSON.pm, but in vain. B module can't install?
Set the environmental variable 'PERL_DL_NONLAZY' with 0.
And see to ExtUtils::MM_Unix.
perl says : JSON::XS version 2.34 required--this is only version 2.33 at (eval 14) line 2.
BEGIN failed--compilation aborted at (eval 14) line 2.
at (eval 9) line 2.
Compilation failed in require at (eval 9) line 2.
We do not make Makefile by requiring Perl version 7.0.
Perl v7.0.0 required--this is only v5.14.4, stopped at Makefile.PL line 19.
Warning: No success on command[C:\strawberry\perl\bin\perl.exe Makefile.PL]
CPAN: YAML::XS loaded ok (v0.39)
MAKAMAKA/JSON-2.59.tar.gz
C:\strawberry\perl\bin\perl.exe Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Stopping: 'install' failed for 'JSON'.
Could not read metadata file. Falling back to other methods to determine prerequisites
EDIT: I am stopping my current email to tell you that I figured out what the problem was
When I pasted the above text, I noticed this line:
perl says : JSON::XS version 2.34 required--this is only version 2.33 at (eval 14) line 2.
So I updated JSON::XS and now everything works fine. I hope my experience helps you or others avoid this situation.
Wayne