Subject: | Install fails on Ubuntu |
Error during install:
denny@starbug ~ $ sudo cpan
[sudo] password for denny:
CPAN: File::HomeDir loaded ok (v0.69)
cpan shell -- CPAN exploration and modules installation (v1.9205)
ReadLine support enabled
cpan[1]> install Apache::Traffic
CPAN: Storable loaded ok (v2.18)
Going to read /home/denny/.cpan/Metadata
Database was generated on Wed, 23 Jul 2008 01:02:50 GMT
CPAN: LWP::UserAgent loaded ok (v2.036)
CPAN: Time::HiRes loaded ok (v1.86)
Fetching with LWP:
ftp://ftp.mirrorservice.org/sites/ftp.funet.fi/pub/languages/perl/CPAN/authors/01mailrc.txt.gz
CPAN: YAML loaded ok (v0.66)
Going to read /home/denny/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok (v2.008)
............................................................................DONE
Fetching with LWP:
ftp://ftp.mirrorservice.org/sites/ftp.funet.fi/pub/languages/perl/CPAN/modules/02packages.details.txt.gz
Going to read /home/denny/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Thu, 31 Jul 2008 02:03:36 GMT
............................................................................DONE
Fetching with LWP:
ftp://ftp.mirrorservice.org/sites/ftp.funet.fi/pub/languages/perl/CPAN/modules/03modlist.data.gz
Going to read /home/denny/.cpan/sources/modules/03modlist.data.gz
............................................................................DONE
Going to write /home/denny/.cpan/Metadata
Running install for module 'Apache::Traffic'
Running make for M/MA/MAURICE/Apache-Traffic-1.02.tar.gz
Fetching with LWP:
ftp://ftp.mirrorservice.org/sites/ftp.funet.fi/pub/languages/perl/CPAN/authors/id/M/MA/MAURICE/Apache-Traffic-1.02.tar.gz
CPAN: Digest::SHA loaded ok (v5.45)
Fetching with LWP:
ftp://ftp.mirrorservice.org/sites/ftp.funet.fi/pub/languages/perl/CPAN/authors/id/M/MA/MAURICE/CHECKSUMS
Checksum for
/home/denny/.cpan/sources/authors/id/M/MA/MAURICE/Apache-Traffic-1.02.tar.gz
ok
Scanning cache /home/denny/.cpan/build for sizes
............................................................................DONE
Apache-Traffic-1.02/
Apache-Traffic-1.02/Makefile.PL
Apache-Traffic-1.02/share.patch
Apache-Traffic-1.02/Changes
Apache-Traffic-1.02/test.pl
Apache-Traffic-1.02/Traffic.pm
Apache-Traffic-1.02/traffic
Apache-Traffic-1.02/MANIFEST
CPAN: File::Temp loaded ok (v0.20)
CPAN.pm: Going to build M/MA/MAURICE/Apache-Traffic-1.02.tar.gz
Checking if your kit is complete...
Looks good
Can't use string ("1") as a HASH ref while "strict refs" in use at
/usr/local/share/perl/5.8.8/ExtUtils/MakeMaker.pm line 436.
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
MAURICE/Apache-Traffic-1.02.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Failed during this command:
MAURICE/Apache-Traffic-1.02.tar.gz : writemakefile NO
'/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 512
cpan[2]> quit
Lockfile removed.
denny@starbug ~ $ perl -v
This is perl, v5.8.8 built for i486-linux-gnu-thread-multi
[...]
My system is running Ubuntu 8.04
This install problem was initially reported by someone else in #perl on
freenode who had exactly the same error, I was just double-checking for
them and thought I'd file a bug - hope it helps.