Subject: | make test fails - missing depedency declaration of JSON::Any |
Hi!
Please find attached the cpan output when I tried to install this
module without having JSON::Any installed.
I think the declaration of JSON::Any in the Makefile should fix this.
Here it is (not tested):
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
NAME => 'DBIx::Class::InflateColumn::Serializer',
VERSION_FROM => 'lib/DBIx/Class/InflateColumn/Serializer.pm', #
finds \$VERSION
AUTHOR => 'Jose Luis Martinez (jlmartinez@capside.com)',
ABSTRACT => 'Inflators to serialize data structures for
DBIx::Class',
PREREQ_PM => {
'Test::Simple' => 0.44,
'DBIx::Class' => 0,
'JSON::Any' => 0,
},
LICENSE => 'perl'
);
hth, Alex
Subject: | dbic-inflatecolumn-serializer.log.txt |
cpan> install DBIx::Class::InflateColumn::Serializer
Database was generated on Tue, 18 Jan 2011 16:33:26 GMT
Running install for module 'DBIx::Class::InflateColumn::Serializer'
Running make for J/JL/JLMARTIN/DBIx-Class-InflateColumn-Serializer-0.02.tar.gz
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/J/JL/JLMARTIN/DBIx-Class-InflateColumn
-Serializer-0.02.tar.gz
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/J/JL/JLMARTIN/CHECKSUMS
Checksum for C:\strawberry\cpan\sources\authors\id\J\JL\JLMARTIN\DBIx-Class-Infl
ateColumn-Serializer-0.02.tar.gz ok
Scanning cache C:\strawberry\cpan\build for sizes
.......................................................................-----DONE
[snip]
CPAN.pm: Going to build J/JL/JLMARTIN/DBIx-Class-InflateColumn-Serializer-0.02
.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for DBIx::Class::InflateColumn::Serializer
cp lib/DBIx/Class/InflateColumn/Serializer.pm blib\lib\DBIx\Class\InflateColumn\
Serializer.pm
cp lib/DBIx/Class/InflateColumn/Serializer/Storable.pm blib\lib\DBIx\Class\Infla
teColumn\Serializer\Storable.pm
cp lib/DBIx/Class/InflateColumn/Serializer/YAML.pm blib\lib\DBIx\Class\InflateCo
lumn\Serializer\YAML.pm
cp lib/DBIx/Class/InflateColumn/Serializer/JSON.pm blib\lib\DBIx\Class\InflateCo
lumn\Serializer\JSON.pm
JLMARTIN/DBIx-Class-InflateColumn-Serializer-0.02.tar.gz
C:\strawberry\c\bin\dmake.EXE -- OK
Running make test
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib\lib', 'blib\arch')" t/*.t
t/001_load.t ...... ok
t/002_storable.t .. DBIx::Class::Schema::throw_exception(): DBIx::Class::ResultS
ourceProxy::add_columns(): Failed to use serializer_class 'DBIx::Class::InflateC
olumn::Serializer::JSON': Can't locate JSON/Any.pm in @INC (@INC contains: t/lib
C:\strawberry\cpan\build\DBIx-Class-InflateColumn-Serializer-0.02-Km_zUu\blib\l
ib C:\strawberry\cpan\build\DBIx-Class-InflateColumn-Serializer-0.02-Km_zUu\blib
\arch C:/strawberry/perl/site/lib C:/strawberry/perl/vendor/lib C:/strawberry/pe
rl/lib .) at C:\strawberry\cpan\build\DBIx-Class-InflateColumn-Serializer-0.02-K
m_zUu\blib\lib/DBIx/Class/InflateColumn/Serializer/JSON.pm line 38.
BEGIN failed--compilation aborted at C:\strawberry\cpan\build\DBIx-Class-Inflate
Column-Serializer-0.02-Km_zUu\blib\lib/DBIx/Class/InflateColumn/Serializer/JSON.
pm line 38.
Compilation failed in require at (eval 70) line 1.
Compilation failed in require at C:/strawberry/perl/site/lib/Class/C3/Componenti
sed.pm line 135.
Compilation failed in require at t/lib/DBICTest.pm line 9.
BEGIN failed--compilation aborted at t/lib/DBICTest.pm line 9.
Compilation failed in require at t/002_storable.t line 7.
BEGIN failed--compilation aborted at t/002_storable.t line 7.
t/002_storable.t .. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/003_json.t ...... DBIx::Class::Schema::throw_exception(): DBIx::Class::ResultS
ourceProxy::add_columns(): Failed to use serializer_class 'DBIx::Class::InflateC
olumn::Serializer::JSON': Can't locate JSON/Any.pm in @INC (@INC contains: t/lib
C:\strawberry\cpan\build\DBIx-Class-InflateColumn-Serializer-0.02-Km_zUu\blib\l
ib C:\strawberry\cpan\build\DBIx-Class-InflateColumn-Serializer-0.02-Km_zUu\blib
\arch C:/strawberry/perl/site/lib C:/strawberry/perl/vendor/lib C:/strawberry/pe
rl/lib .) at C:\strawberry\cpan\build\DBIx-Class-InflateColumn-Serializer-0.02-K
m_zUu\blib\lib/DBIx/Class/InflateColumn/Serializer/JSON.pm line 38.
BEGIN failed--compilation aborted at C:\strawberry\cpan\build\DBIx-Class-Inflate
Column-Serializer-0.02-Km_zUu\blib\lib/DBIx/Class/InflateColumn/Serializer/JSON.
pm line 38.
Compilation failed in require at (eval 70) line 1.
Compilation failed in require at C:/strawberry/perl/site/lib/Class/C3/Componenti
sed.pm line 135.
Compilation failed in require at t/lib/DBICTest.pm line 9.
BEGIN failed--compilation aborted at t/lib/DBICTest.pm line 9.
Compilation failed in require at t/003_json.t line 7.
BEGIN failed--compilation aborted at t/003_json.t line 7.
t/003_json.t ...... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/004_yaml.t ...... DBIx::Class::Schema::throw_exception(): DBIx::Class::ResultS
ourceProxy::add_columns(): Failed to use serializer_class 'DBIx::Class::InflateC
olumn::Serializer::JSON': Can't locate JSON/Any.pm in @INC (@INC contains: t/lib
C:\strawberry\cpan\build\DBIx-Class-InflateColumn-Serializer-0.02-Km_zUu\blib\l
ib C:\strawberry\cpan\build\DBIx-Class-InflateColumn-Serializer-0.02-Km_zUu\blib
\arch C:/strawberry/perl/site/lib C:/strawberry/perl/vendor/lib C:/strawberry/pe
rl/lib .) at C:\strawberry\cpan\build\DBIx-Class-InflateColumn-Serializer-0.02-K
m_zUu\blib\lib/DBIx/Class/InflateColumn/Serializer/JSON.pm line 38.
BEGIN failed--compilation aborted at C:\strawberry\cpan\build\DBIx-Class-Inflate
Column-Serializer-0.02-Km_zUu\blib\lib/DBIx/Class/InflateColumn/Serializer/JSON.
pm line 38.
Compilation failed in require at (eval 70) line 1.
Compilation failed in require at C:/strawberry/perl/site/lib/Class/C3/Componenti
sed.pm line 135.
Compilation failed in require at t/lib/DBICTest.pm line 9.
BEGIN failed--compilation aborted at t/lib/DBICTest.pm line 9.
Compilation failed in require at t/004_yaml.t line 7.
BEGIN failed--compilation aborted at t/004_yaml.t line 7.
t/004_yaml.t ...... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/kwalitee.t ...... skipped: Test::Kwalitee not installed; skipping
t/pod.t ........... ok
t/podcoverage.t ... ok
Test Summary Report
-------------------
t/002_storable.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/003_json.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/004_yaml.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=7, Tests=8, 1 wallclock secs ( 0.05 usr + 0.06 sys = 0.11 CPU)
Result: FAIL
Failed 3/7 test programs. 0/8 subtests failed.
dmake.EXE: Error code 255, while making 'test_dynamic'
JLMARTIN/DBIx-Class-InflateColumn-Serializer-0.02.tar.gz
C:\strawberry\c\bin\dmake.EXE test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports JLMARTIN/DBIx-Class-InflateColumn-Serializer-0.02.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
JLMARTIN/DBIx-Class-InflateColumn-Serializer-0.02.tar.gz: make_test NO
cpan>