Subject: | Missing prerequisite 'Readonly' |
Hello,
I've tried installing the module on a pretty stock Ubuntu system, and I think the Makefile.PL
is missing the Readonly prereq:
Running install for module 'Lingua::Translate::Google'
Running make for D/DY/DYLAN/Lingua-Translate-Google-0.06.tar.gz
Fetching with LWP:
http://www.perl.org/CPAN/authors/id/D/DY/DYLAN/Lingua-Translate-Google-0.06.tar.gz
CPAN: Digest::SHA loaded ok (v5.45)
Fetching with LWP:
http://www.perl.org/CPAN/authors/id/D/DY/DYLAN/CHECKSUMS
Checksum for /home/justin/.cpan/sources/authors/id/D/DY/DYLAN/Lingua-Translate-
Google-0.06.tar.gz ok
Scanning cache /home/justin/.cpan/build for sizes
DONE
Lingua-Translate-Google-0.06/
Lingua-Translate-Google-0.06/t/
Lingua-Translate-Google-0.06/t/01-google.t
Lingua-Translate-Google-0.06/lib/
Lingua-Translate-Google-0.06/lib/Lingua/
Lingua-Translate-Google-0.06/lib/Lingua/Translate/
Lingua-Translate-Google-0.06/lib/Lingua/Translate/Google.pm
Lingua-Translate-Google-0.06/lib/Lingua/Translate/.Google.pm.swp
Lingua-Translate-Google-0.06/MANIFEST
Lingua-Translate-Google-0.06/META.yml
Lingua-Translate-Google-0.06/Makefile.PL
Lingua-Translate-Google-0.06/Changes
Lingua-Translate-Google-0.06/README
CPAN: File::Temp loaded ok (v0.18)
CPAN.pm: Going to build D/DY/DYLAN/Lingua-Translate-Google-0.06.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Lingua::Translate::Google
Could not read '/home/justin/.cpan/build/Lingua-Translate-Google-0.06-
RbpiNd/META.yml'. Falling back to other methods to determine prerequisites
cp lib/Lingua/Translate/Google.pm blib/lib/Lingua/Translate/Google.pm
cp lib/Lingua/Translate/.Google.pm.swp blib/lib/Lingua/Translate/.Google.pm.swp
Manifying blib/man3/Lingua::Translate::Google.3pm
DYLAN/Lingua-Translate-Google-0.06.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/01-google....NOK 1/0
# Failed test 'use Lingua::Translate::Google;'
# at t/01-google.t line 21.
# Tried to use 'Lingua::Translate::Google'.
# Error: Can't locate Readonly.pm in @INC (@INC contains:
/home/justin/.cpan/build/Lingua-Translate-Google-0.06-RbpiNd/blib/lib
/home/justin/.cpan/build/Lingua-Translate-Google-0.06-RbpiNd/blib/arch /etc/perl
/usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . /etc/perl
/usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at
/home/justin/.cpan/build/Lingua-Translate-Google-0.06-
RbpiNd/blib/lib/Lingua/Translate/Google.pm line 29.
# BEGIN failed--compilation aborted at /home/justin/.cpan/build/Lingua-Translate-
Google-0.06-RbpiNd/blib/lib/Lingua/Translate/Google.pm line 29.
# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at (eval 3) line 2.
Can't locate object method "new" via package "Lingua::Translate::Google" at t/01-google.t
line 23.
# Looks like you failed 1 test of 1.
# Looks like your test exited with 255 just after 1.
t/01-google....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail List of Failed
-----------------------------------------------------------------------
--------
t/01-google.t 255 65280 1 1 1
Failed 1/1 test scripts. 1/1 subtests failed.
Files=1, Tests=1, 1 wallclock secs ( 0.31 cusr + 0.16 csys = 0.47 CPU)
Failed 1/1 test programs. 1/1 subtests failed.
make: *** [test_dynamic] Error 255
DYLAN/Lingua-Translate-Google-0.06.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports DYLAN/Lingua-Translate-Google-0.06.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
DYLAN/Lingua-Translate-Google-0.06.tar.gz : make_test NO
The module installs successfully once Readonly is installed.