Andrew Stewart's picture

I can never seem to get CPAN to work on a LAMP instance out of the box.  This goes for everything from virtual machines in our internal systems to Amazon EC2 deployments.

I get the following error no matter what I try to install:

 

	   -- NOT OK
Running make test
Can't test without successful make
Running make install
  make had returned bad status, install seems impossible

 

Any advice here? This is really frustrating, a LAMP platform should be perl ready.

Forum: 
Alon Swartz's picture

Most of the popular Perl libraries are packaged in Ubuntu/Debian, so why not use them?

apt-get update
apt-get install libterm-readkey-perl

 

With regards to CPAN, could you please post detailed information (packages installed, commands executed) so we can reproduce the issue. Once we can reproduce it, we can (hopefully) solve it.

Andrew Stewart's picture

Unfortunately I'm actually using an installer script that happens to use CPAN to fetch its perl prereqs.  I can get around it myself for this instance, but I'd like to help improve perl package management for TurnKey posterity.

btw, cpanm is a much better package installer for perl.  I'm having better success with it.

Here's the output for a try at Archive::Tar using regular cpan. (SPAM ALERT)

cpan> install Archive::Tar
Running install for module Archive::Tar
Running make for B/BI/BINGOS/Archive-Tar-1.72.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/B/BI/BINGOS/Archive-Tar-1.72.tar.gz ok
Scanning cache /root/.cpan/build for sizes
Deleting from cache: /root/.cpan/build/Bundle-CPAN-1.858 (14.0>10.0 MB)
Deleting from cache: /root/.cpan/build/HTML-Tagset-3.20 (14.0>10.0 MB)
Deleting from cache: /root/.cpan/build/libwww-perl-5.837 (13.9>10.0 MB)
Deleting from cache: /root/.cpan/build/Archive-Tar-1.72 (12.9>10.0 MB)
Deleting from cache: /root/.cpan/build/IO-Compress-2.030 (12.7>10.0 MB)
Deleting from cache: /root/.cpan/build/Compress-Raw-Bzip2-2.031 (11.5>10.0 MB)
Deleting from cache: /root/.cpan/build/IO-Zlib-1.10 (10.9>10.0 MB)
Deleting from cache: /root/.cpan/build/Package-Constants-0.02 (10.8>10.0 MB)
Deleting from cache: /root/.cpan/build/Compress-Raw-Zlib-2.030 (10.8>10.0 MB)
Archive-Tar-1.72
Archive-Tar-1.72/lib
Archive-Tar-1.72/lib/Archive
Archive-Tar-1.72/lib/Archive/Tar
Archive-Tar-1.72/lib/Archive/Tar/Constant.pm
Archive-Tar-1.72/lib/Archive/Tar/File.pm
Archive-Tar-1.72/lib/Archive/Tar.pm
Archive-Tar-1.72/t
Archive-Tar-1.72/t/src
Archive-Tar-1.72/t/src/short
Archive-Tar-1.72/t/src/short/b
Archive-Tar-1.72/t/src/short/foo.tbz
Archive-Tar-1.72/t/src/short/bar.tar
Archive-Tar-1.72/t/src/short/foo.tgz
Archive-Tar-1.72/t/src/header
Archive-Tar-1.72/t/src/header/signed.tar
Archive-Tar-1.72/t/src/long
Archive-Tar-1.72/t/src/long/b
Archive-Tar-1.72/t/src/long/foo.tgz
Archive-Tar-1.72/t/src/long/foo.tbz
Archive-Tar-1.72/t/src/long/bar.tar
Archive-Tar-1.72/t/src/linktest
Archive-Tar-1.72/t/src/linktest/linktest_with_dir.tar
Archive-Tar-1.72/t/src/linktest/linktest_missing_dir.tar
Archive-Tar-1.72/t/05_iter.t
Archive-Tar-1.72/t/02_methods.t
Archive-Tar-1.72/t/01_use.t
Archive-Tar-1.72/t/99_pod.t
Archive-Tar-1.72/t/90_symlink.t
Archive-Tar-1.72/t/03_file.t
Archive-Tar-1.72/t/06_error.t
Archive-Tar-1.72/t/04_resolved_issues.t
Archive-Tar-1.72/MANIFEST
Archive-Tar-1.72/CHANGES
Archive-Tar-1.72/bin
Archive-Tar-1.72/bin/ptar
Archive-Tar-1.72/bin/ptargrep
Archive-Tar-1.72/bin/ptardiff
Archive-Tar-1.72/Makefile.PL
Archive-Tar-1.72/README
Archive-Tar-1.72/META.yml

  CPAN.pm: Going to build B/BI/BINGOS/Archive-Tar-1.72.tar.gz

You do not have IO::Compress::Bzip2 installed. This means you can not read or write bzip2 compressed archives!
Note: you can disable this warning (and the prerequisite) by invoking Makefile.PL with '-n'

Archive::Tar comes with a utility called 'ptardiff' which lets you run diffs against tar archives.

However, this utility requires you to have Text::Diff installed.

To add Text::Diff as a prerequisite, please supply the '-d' option when invoking this Makefile.PL.

Checking if your kit is complete...
Looks good
Warning: prerequisite Compress::Zlib 2.015 not found.
Warning: prerequisite IO::Compress::Base 2.015 not found.
Warning: prerequisite IO::Compress::Bzip2 2.015 not found.
Warning: prerequisite IO::Compress::Gzip 2.015 not found.
Warning: prerequisite IO::Zlib 1.01 not found.
Warning: prerequisite Package::Constants 0 not found.
Writing Makefile for Archive::Tar
---- Unsatisfied dependencies detected during [B/BI/BINGOS/Archive-Tar-1.72.tar.gz] -----
    Package::Constants
    IO::Zlib
    Compress::Zlib
    IO::Compress::Base
    IO::Compress::Gzip
    IO::Compress::Bzip2
Running make test
  Delayed until after prerequisites
Running make install
  Delayed until after prerequisites
Running install for module Package::Constants
Running make for K/KA/KANE/Package-Constants-0.02.tar.gz
Checksum for /root/.cpan/sources/authors/id/K/KA/KANE/Package-Constants-0.02.tar.gz ok
Package-Constants-0.02/
Package-Constants-0.02/CHANGES
Package-Constants-0.02/lib/
Package-Constants-0.02/lib/Package/
Package-Constants-0.02/lib/Package/Constants.pm
Package-Constants-0.02/Makefile.PL
Package-Constants-0.02/MANIFEST
Package-Constants-0.02/META.yml
Package-Constants-0.02/README
Package-Constants-0.02/t/
Package-Constants-0.02/t/01_list.t

  CPAN.pm: Going to build K/KA/KANE/Package-Constants-0.02.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Package::Constants
    -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible
Running install for module IO::Zlib
Running make for T/TO/TOMHUGHES/IO-Zlib-1.10.tar.gz
Checksum for /root/.cpan/sources/authors/id/T/TO/TOMHUGHES/IO-Zlib-1.10.tar.gz ok
IO-Zlib-1.10/
IO-Zlib-1.10/Makefile.PL
IO-Zlib-1.10/META.yml
IO-Zlib-1.10/t/
IO-Zlib-1.10/t/basic.t
IO-Zlib-1.10/t/getline.t
IO-Zlib-1.10/t/import.t
IO-Zlib-1.10/t/tied.t
IO-Zlib-1.10/t/getc.t
IO-Zlib-1.10/t/large.t
IO-Zlib-1.10/t/uncomp1.t
IO-Zlib-1.10/t/external.t
IO-Zlib-1.10/t/uncomp2.t
IO-Zlib-1.10/SIGNATURE
IO-Zlib-1.10/ChangeLog
IO-Zlib-1.10/README
IO-Zlib-1.10/MANIFEST
IO-Zlib-1.10/Zlib.pm

  CPAN.pm: Going to build T/TO/TOMHUGHES/IO-Zlib-1.10.tar.gz

Checking if your kit is complete...
Looks good
Warning: prerequisite Compress::Zlib 2 not found.
Writing Makefile for IO::Zlib
---- Unsatisfied dependencies detected during [T/TO/TOMHUGHES/IO-Zlib-1.10.tar.gz] -----
    Compress::Zlib
Running make test
  Delayed until after prerequisites
Running make install
  Delayed until after prerequisites
Running install for module Compress::Zlib
Running make for P/PM/PMQS/IO-Compress-2.030.tar.gz
Checksum for /root/.cpan/sources/authors/id/P/PM/PMQS/IO-Compress-2.030.tar.gz ok
IO-Compress-2.030/
IO-Compress-2.030/lib/
IO-Compress-2.030/lib/File/
IO-Compress-2.030/lib/File/GlobMapper.pm
IO-Compress-2.030/lib/Compress/
IO-Compress-2.030/lib/Compress/Zlib.pm
IO-Compress-2.030/lib/IO/
IO-Compress-2.030/lib/IO/Uncompress/
IO-Compress-2.030/lib/IO/Uncompress/RawInflate.pm
IO-Compress-2.030/lib/IO/Uncompress/Gunzip.pm
IO-Compress-2.030/lib/IO/Uncompress/Unzip.pm
IO-Compress-2.030/lib/IO/Uncompress/Base.pm
IO-Compress-2.030/lib/IO/Uncompress/Inflate.pm
IO-Compress-2.030/lib/IO/Uncompress/Bunzip2.pm
IO-Compress-2.030/lib/IO/Uncompress/Adapter/
IO-Compress-2.030/lib/IO/Uncompress/Adapter/Identity.pm
IO-Compress-2.030/lib/IO/Uncompress/Adapter/Inflate.pm
IO-Compress-2.030/lib/IO/Uncompress/Adapter/Bunzip2.pm
IO-Compress-2.030/lib/IO/Uncompress/AnyInflate.pm
IO-Compress-2.030/lib/IO/Uncompress/AnyUncompress.pm
IO-Compress-2.030/lib/IO/Compress/
IO-Compress-2.030/lib/IO/Compress/Base.pm
IO-Compress-2.030/lib/IO/Compress/Zip.pm
IO-Compress-2.030/lib/IO/Compress/Zip/
IO-Compress-2.030/lib/IO/Compress/Zip/Constants.pm
IO-Compress-2.030/lib/IO/Compress/Adapter/
IO-Compress-2.030/lib/IO/Compress/Adapter/Identity.pm
IO-Compress-2.030/lib/IO/Compress/Adapter/Deflate.pm
IO-Compress-2.030/lib/IO/Compress/Adapter/Bzip2.pm
IO-Compress-2.030/lib/IO/Compress/RawDeflate.pm
IO-Compress-2.030/lib/IO/Compress/Deflate.pm
IO-Compress-2.030/lib/IO/Compress/Gzip/
IO-Compress-2.030/lib/IO/Compress/Gzip/Constants.pm
IO-Compress-2.030/lib/IO/Compress/Bzip2.pm
IO-Compress-2.030/lib/IO/Compress/Gzip.pm
IO-Compress-2.030/lib/IO/Compress/Zlib/
IO-Compress-2.030/lib/IO/Compress/Zlib/Constants.pm
IO-Compress-2.030/lib/IO/Compress/Zlib/Extra.pm
IO-Compress-2.030/lib/IO/Compress/Base/
IO-Compress-2.030/lib/IO/Compress/Base/Common.pm
IO-Compress-2.030/MANIFEST
IO-Compress-2.030/private/
IO-Compress-2.030/private/MakeUtil.pm
IO-Compress-2.030/README
IO-Compress-2.030/Changes
IO-Compress-2.030/Makefile.PL
IO-Compress-2.030/t/
IO-Compress-2.030/t/101truncate-bzip2.t
IO-Compress-2.030/t/010examples-bzip2.t
IO-Compress-2.030/t/004gziphdr.t
IO-Compress-2.030/t/110encode-gzip.t
IO-Compress-2.030/t/100generic-gzip.t
IO-Compress-2.030/t/110encode-deflate.t
IO-Compress-2.030/t/106prime-deflate.t
IO-Compress-2.030/t/102tied-zip.t
IO-Compress-2.030/t/002any-transparent.t
IO-Compress-2.030/t/108anyunc-zip.t
IO-Compress-2.030/t/cz-06gzsetp.t
IO-Compress-2.030/t/103newtied-gzip.t
IO-Compress-2.030/t/105oneshot-bzip2.t
IO-Compress-2.030/t/102tied-rawdeflate.t
IO-Compress-2.030/t/107multi-deflate.t
IO-Compress-2.030/t/101truncate-rawdeflate.t
IO-Compress-2.030/t/109merge-deflate.t
IO-Compress-2.030/t/cz-08encoding.t
IO-Compress-2.030/t/101truncate-deflate.t
IO-Compress-2.030/t/108anyunc-bzip2.t
IO-Compress-2.030/t/106prime-rawdeflate.t
IO-Compress-2.030/t/108anyunc-rawdeflate.t
IO-Compress-2.030/t/109merge-rawdeflate.t
IO-Compress-2.030/t/002any-zip.t
IO-Compress-2.030/t/108anyunc-deflate.t
IO-Compress-2.030/t/cz-01version.t
IO-Compress-2.030/t/002any-gzip.t
IO-Compress-2.030/t/105oneshot-gzip.t
IO-Compress-2.030/t/103newtied-bzip2.t
IO-Compress-2.030/t/050interop-gzip.t
IO-Compress-2.030/t/100generic-deflate.t
IO-Compress-2.030/t/002any-rawdeflate.t
IO-Compress-2.030/t/006zip.t
IO-Compress-2.030/t/110encode-bzip2.t
IO-Compress-2.030/t/106prime-gzip.t
IO-Compress-2.030/t/001zlib-generic-zip.t
IO-Compress-2.030/t/010examples-zlib.t
IO-Compress-2.030/t/103newtied-rawdeflate.t
IO-Compress-2.030/t/001zlib-generic-deflate.t
IO-Compress-2.030/t/109merge-gzip.t
IO-Compress-2.030/t/110encode-rawdeflate.t
IO-Compress-2.030/t/103newtied-zip.t
IO-Compress-2.030/t/102tied-deflate.t
IO-Compress-2.030/t/107multi-bzip2.t
IO-Compress-2.030/t/107multi-rawdeflate.t
IO-Compress-2.030/t/020isize.t
IO-Compress-2.030/t/107multi-gzip.t
IO-Compress-2.030/t/globmapper.t
IO-Compress-2.030/t/100generic-bzip2.t
IO-Compress-2.030/t/999pod.t
IO-Compress-2.030/t/104destroy-zip.t
IO-Compress-2.030/t/107multi-zip.t
IO-Compress-2.030/t/102tied-bzip2.t
IO-Compress-2.030/t/100generic-zip.t
IO-Compress-2.030/t/Test/
IO-Compress-2.030/t/Test/Builder.pm
IO-Compress-2.030/t/Test/More.pm
IO-Compress-2.030/t/Test/Simple.pm
IO-Compress-2.030/t/105oneshot-gzip-only.t
IO-Compress-2.030/t/108anyunc-transparent.t
IO-Compress-2.030/t/000prereq.t
IO-Compress-2.030/t/001zlib-generic-gzip.t
IO-Compress-2.030/t/105oneshot-zip-only.t
IO-Compress-2.030/t/104destroy-rawdeflate.t
IO-Compress-2.030/t/100generic-rawdeflate.t
IO-Compress-2.030/t/105oneshot-zip-bzip2-only.t
IO-Compress-2.030/t/002any-deflate.t
IO-Compress-2.030/t/compress/
IO-Compress-2.030/t/compress/zlib-generic.pl
IO-Compress-2.030/t/compress/merge.pl
IO-Compress-2.030/t/compress/generic.pl
IO-Compress-2.030/t/compress/newtied.pl
IO-Compress-2.030/t/compress/tied.pl
IO-Compress-2.030/t/compress/any.pl
IO-Compress-2.030/t/compress/encode.pl
IO-Compress-2.030/t/compress/CompTestUtils.pm
IO-Compress-2.030/t/compress/multi.pl
IO-Compress-2.030/t/compress/oneshot.pl
IO-Compress-2.030/t/compress/destroy.pl
IO-Compress-2.030/t/compress/truncate.pl
IO-Compress-2.030/t/compress/prime.pl
IO-Compress-2.030/t/compress/anyunc.pl
IO-Compress-2.030/t/001bzip2.t
IO-Compress-2.030/t/101truncate-gzip.t
IO-Compress-2.030/t/104destroy-bzip2.t
IO-Compress-2.030/t/101truncate-zip.t
IO-Compress-2.030/t/104destroy-gzip.t
IO-Compress-2.030/t/106prime-bzip2.t
IO-Compress-2.030/t/103newtied-deflate.t
IO-Compress-2.030/t/cz-14gzopen.t
IO-Compress-2.030/t/01misc.t
IO-Compress-2.030/t/005defhdr.t
IO-Compress-2.030/t/105oneshot-deflate.t
IO-Compress-2.030/t/105oneshot-rawdeflate.t
IO-Compress-2.030/t/108anyunc-gzip.t
IO-Compress-2.030/t/110encode-zip.t
IO-Compress-2.030/t/109merge-zip.t
IO-Compress-2.030/t/102tied-gzip.t
IO-Compress-2.030/t/cz-05examples.t
IO-Compress-2.030/t/105oneshot-zip.t
IO-Compress-2.030/t/104destroy-deflate.t
IO-Compress-2.030/t/001zlib-generic-rawdeflate.t
IO-Compress-2.030/t/106prime-zip.t
IO-Compress-2.030/t/cz-03zlib-v1.t
IO-Compress-2.030/META.yml
IO-Compress-2.030/pod/
IO-Compress-2.030/pod/FAQ.pod
IO-Compress-2.030/examples/
IO-Compress-2.030/examples/io/
IO-Compress-2.030/examples/io/bzip2/
IO-Compress-2.030/examples/io/bzip2/bzgrep
IO-Compress-2.030/examples/io/bzip2/bzcat
IO-Compress-2.030/examples/io/bzip2/bzstream
IO-Compress-2.030/examples/io/gzip/
IO-Compress-2.030/examples/io/gzip/gzstream
IO-Compress-2.030/examples/io/gzip/gzcat
IO-Compress-2.030/examples/io/gzip/gzgrep
IO-Compress-2.030/examples/io/gzip/gzappend
IO-Compress-2.030/examples/io/anycat
IO-Compress-2.030/examples/compress-zlib/
IO-Compress-2.030/examples/compress-zlib/gzstream
IO-Compress-2.030/examples/compress-zlib/filtinf
IO-Compress-2.030/examples/compress-zlib/filtdef
IO-Compress-2.030/examples/compress-zlib/gzcat
IO-Compress-2.030/examples/compress-zlib/gzgrep

  CPAN.pm: Going to build P/PM/PMQS/IO-Compress-2.030.tar.gz

Argument "6.30_01" isn't numeric in subroutine entry at Makefile.PL line 9.
Up/Downgrade not needed.
WARNING: LICENSE is not a known parameter.
Checking if your kit is complete...
Looks good
Warning: prerequisite Compress::Raw::Bzip2 2.030 not found.
Warning: prerequisite Compress::Raw::Zlib 2.030 not found.
'LICENSE' is not a known MakeMaker parameter name.
Writing Makefile for IO::Compress
---- Unsatisfied dependencies detected during [P/PM/PMQS/IO-Compress-2.030.tar.gz] -----
    Compress::Raw::Bzip2
    Compress::Raw::Zlib
Running make test
  Delayed until after prerequisites
Running make install
  Delayed until after prerequisites
Running install for module Compress::Raw::Bzip2
Running make for P/PM/PMQS/Compress-Raw-Bzip2-2.031.tar.gz
Checksum for /root/.cpan/sources/authors/id/P/PM/PMQS/Compress-Raw-Bzip2-2.031.tar.gz ok
Compress-Raw-Bzip2-2.031/
Compress-Raw-Bzip2-2.031/lib/
Compress-Raw-Bzip2-2.031/lib/Compress/
Compress-Raw-Bzip2-2.031/lib/Compress/Raw/
Compress-Raw-Bzip2-2.031/lib/Compress/Raw/Bzip2.pm
Compress-Raw-Bzip2-2.031/MANIFEST
Compress-Raw-Bzip2-2.031/private/
Compress-Raw-Bzip2-2.031/private/MakeUtil.pm
Compress-Raw-Bzip2-2.031/Bzip2.xs
Compress-Raw-Bzip2-2.031/README
Compress-Raw-Bzip2-2.031/ppport.h
Compress-Raw-Bzip2-2.031/Changes
Compress-Raw-Bzip2-2.031/Makefile.PL
Compress-Raw-Bzip2-2.031/typemap
Compress-Raw-Bzip2-2.031/t/
Compress-Raw-Bzip2-2.031/t/09limitoutput.t
Compress-Raw-Bzip2-2.031/t/Test/
Compress-Raw-Bzip2-2.031/t/Test/Builder.pm
Compress-Raw-Bzip2-2.031/t/Test/More.pm
Compress-Raw-Bzip2-2.031/t/Test/Simple.pm
Compress-Raw-Bzip2-2.031/t/000prereq.t
Compress-Raw-Bzip2-2.031/t/99pod.t
Compress-Raw-Bzip2-2.031/t/compress/
Compress-Raw-Bzip2-2.031/t/compress/CompTestUtils.pm
Compress-Raw-Bzip2-2.031/t/01bzip2.t
Compress-Raw-Bzip2-2.031/META.yml
Compress-Raw-Bzip2-2.031/pod/
Compress-Raw-Bzip2-2.031/pod/FAQ.pod
Compress-Raw-Bzip2-2.031/fallback/
Compress-Raw-Bzip2-2.031/fallback/constants.h
Compress-Raw-Bzip2-2.031/fallback/constants.xs
Compress-Raw-Bzip2-2.031/bzip2-src/
Compress-Raw-Bzip2-2.031/bzip2-src/blocksort.c
Compress-Raw-Bzip2-2.031/bzip2-src/bzlib_private.h
Compress-Raw-Bzip2-2.031/bzip2-src/crctable.c
Compress-Raw-Bzip2-2.031/bzip2-src/bzlib.c
Compress-Raw-Bzip2-2.031/bzip2-src/LICENSE
Compress-Raw-Bzip2-2.031/bzip2-src/huffman.c
Compress-Raw-Bzip2-2.031/bzip2-src/decompress.c
Compress-Raw-Bzip2-2.031/bzip2-src/compress.c
Compress-Raw-Bzip2-2.031/bzip2-src/bzlib.h
Compress-Raw-Bzip2-2.031/bzip2-src/randtable.c
Compress-Raw-Bzip2-2.031/bzip2-src/bzip2-cpp.patch

  CPAN.pm: Going to build P/PM/PMQS/Compress-Raw-Bzip2-2.031.tar.gz

Argument "6.30_01" isn't numeric in subroutine entry at Makefile.PL line 7.
Up/Downgrade not needed.
WARNING: LICENSE is not a known parameter.
Checking if your kit is complete...
Looks good
'LICENSE' is not a known MakeMaker parameter name.
Writing Makefile for Compress::Raw::Bzip2
    -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible
Running install for module Compress::Raw::Zlib
Running make for P/PM/PMQS/Compress-Raw-Zlib-2.030.tar.gz
Checksum for /root/.cpan/sources/authors/id/P/PM/PMQS/Compress-Raw-Zlib-2.030.tar.gz ok
Compress-Raw-Zlib-2.030/
Compress-Raw-Zlib-2.030/lib/
Compress-Raw-Zlib-2.030/lib/Compress/
Compress-Raw-Zlib-2.030/lib/Compress/Raw/
Compress-Raw-Zlib-2.030/lib/Compress/Raw/Zlib.pm
Compress-Raw-Zlib-2.030/MANIFEST
Compress-Raw-Zlib-2.030/private/
Compress-Raw-Zlib-2.030/private/MakeUtil.pm
Compress-Raw-Zlib-2.030/README
Compress-Raw-Zlib-2.030/ppport.h
Compress-Raw-Zlib-2.030/Changes
Compress-Raw-Zlib-2.030/config.in
Compress-Raw-Zlib-2.030/Makefile.PL
Compress-Raw-Zlib-2.030/zlib-src/
Compress-Raw-Zlib-2.030/zlib-src/deflate.h
Compress-Raw-Zlib-2.030/zlib-src/uncompr.c
Compress-Raw-Zlib-2.030/zlib-src/infback.c
Compress-Raw-Zlib-2.030/zlib-src/trees.h
Compress-Raw-Zlib-2.030/zlib-src/zconf.h
Compress-Raw-Zlib-2.030/zlib-src/inftrees.h
Compress-Raw-Zlib-2.030/zlib-src/zutil.c
Compress-Raw-Zlib-2.030/zlib-src/crc32.h
Compress-Raw-Zlib-2.030/zlib-src/inflate.h
Compress-Raw-Zlib-2.030/zlib-src/inffast.h
Compress-Raw-Zlib-2.030/zlib-src/inflate.c
Compress-Raw-Zlib-2.030/zlib-src/deflate.c
Compress-Raw-Zlib-2.030/zlib-src/crc32.c
Compress-Raw-Zlib-2.030/zlib-src/zlib.h
Compress-Raw-Zlib-2.030/zlib-src/inffixed.h
Compress-Raw-Zlib-2.030/zlib-src/inftrees.c
Compress-Raw-Zlib-2.030/zlib-src/zutil.h
Compress-Raw-Zlib-2.030/zlib-src/compress.c
Compress-Raw-Zlib-2.030/zlib-src/inffast.c
Compress-Raw-Zlib-2.030/zlib-src/trees.c
Compress-Raw-Zlib-2.030/zlib-src/adler32.c
Compress-Raw-Zlib-2.030/typemap
Compress-Raw-Zlib-2.030/t/
Compress-Raw-Zlib-2.030/t/09limitoutput.t
Compress-Raw-Zlib-2.030/t/18lvalue.t
Compress-Raw-Zlib-2.030/t/01version.t
Compress-Raw-Zlib-2.030/t/02zlib.t
Compress-Raw-Zlib-2.030/t/Test/
Compress-Raw-Zlib-2.030/t/Test/Builder.pm
Compress-Raw-Zlib-2.030/t/Test/More.pm
Compress-Raw-Zlib-2.030/t/Test/Simple.pm
Compress-Raw-Zlib-2.030/t/000prereq.t
Compress-Raw-Zlib-2.030/t/99pod.t
Compress-Raw-Zlib-2.030/t/compress/
Compress-Raw-Zlib-2.030/t/compress/CompTestUtils.pm
Compress-Raw-Zlib-2.030/t/07bufsize.t
Compress-Raw-Zlib-2.030/Zlib.xs
Compress-Raw-Zlib-2.030/META.yml
Compress-Raw-Zlib-2.030/pod/
Compress-Raw-Zlib-2.030/pod/FAQ.pod
Compress-Raw-Zlib-2.030/fallback/
Compress-Raw-Zlib-2.030/fallback/constants.h
Compress-Raw-Zlib-2.030/fallback/constants.xs
Compress-Raw-Zlib-2.030/examples/
Compress-Raw-Zlib-2.030/examples/filtinf
Compress-Raw-Zlib-2.030/examples/filtdef

  CPAN.pm: Going to build P/PM/PMQS/Compress-Raw-Zlib-2.030.tar.gz

Argument "6.30_01" isn't numeric in subroutine entry at Makefile.PL line 7.
Parsing config.in...
Building Zlib enabled
Auto Detect Gzip OS Code..
Setting Gzip OS Code to 3 [Unix/Default]
Looks Good.
Up/Downgrade not needed.
WARNING: LICENSE is not a known parameter.
Checking if your kit is complete...
Looks good
'LICENSE' is not a known MakeMaker parameter name.
Writing Makefile for Compress::Raw::Zlib
    -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible
Running make for P/PM/PMQS/IO-Compress-2.030.tar.gz
  Is already unwrapped into directory /root/.cpan/build/IO-Compress-2.030

  CPAN.pm: Going to build P/PM/PMQS/IO-Compress-2.030.tar.gz

    -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible
Running make for T/TO/TOMHUGHES/IO-Zlib-1.10.tar.gz
  Is already unwrapped into directory /root/.cpan/build/IO-Zlib-1.10

  CPAN.pm: Going to build T/TO/TOMHUGHES/IO-Zlib-1.10.tar.gz

    -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible
Running install for module Compress::Zlib
Running make for P/PM/PMQS/IO-Compress-2.030.tar.gz
  Is already unwrapped into directory /root/.cpan/build/IO-Compress-2.030
  Has already been processed within this session
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible
Running install for module IO::Compress::Base
Running make for P/PM/PMQS/IO-Compress-2.030.tar.gz
  Is already unwrapped into directory /root/.cpan/build/IO-Compress-2.030
  Has already been processed within this session
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible
Running install for module IO::Compress::Gzip
Running make for P/PM/PMQS/IO-Compress-2.030.tar.gz
  Is already unwrapped into directory /root/.cpan/build/IO-Compress-2.030
  Has already been processed within this session
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible
Running install for module IO::Compress::Bzip2
Running make for P/PM/PMQS/IO-Compress-2.030.tar.gz
  Is already unwrapped into directory /root/.cpan/build/IO-Compress-2.030
  Has already been processed within this session
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible
Running make for B/BI/BINGOS/Archive-Tar-1.72.tar.gz
  Is already unwrapped into directory /root/.cpan/build/Archive-Tar-1.72

  CPAN.pm: Going to build B/BI/BINGOS/Archive-Tar-1.72.tar.gz

    -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible

Liraz Siri's picture

This was probably an issue with Ubuntu Hardy itself so it may have been fixed in Lucid. You might want to give it a try and report back. If this happens with TurnKey it probably also happens with generic Ubuntu so you may be able to find more information and possibly a workaround that way. Just a guess but this may be the result of a tug of war between CPAN and the package management system.
JasonWard's picture

Im trying to install a grahics library called GD, which I've been told you do by running the command

cpan GD

However when I do that I get

 

**UNRECOVERABLE ERROR**
Could not find gdlib-config in the search path. Please install libgd 2.0.28 or higher.
If you want to try to compile anyway, please rerun this script with the option --ignore_missing_gd.
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
Warning (usually harmless): 'YAML' not installed, will not store persistent state
  LDS/GD-2.45.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
Could not read '/home/gt/.cpan/build/GD-2.45-yn5vr2/META.yml'. Falling back to other methods to determine prerequisites

I tried installing the webmin module as suggested but it made no difference.

Alon Swartz's picture

Sorry for the late reply. I just confirmed the issue by attempting to use cpan to install Tar::Archive and it errored out with make issues.

So, I installed build-essential then attempted to use cpan again to install Tar::Archive and it worked.

apt-get update
apt-get install build-essential

I hope the above solves your issues...

david delikat's picture

I've just been messing with the same thing; the make command is missing if you want to keep your vm small; download 'make' from your favorite ubuntu repository and use the upload option on the package install page.  that will fix much of the problem with CPAN.  ( the make package will not show up on its own, at least it did not when I tried apt-get; possibly because it is included in build-essential )

Add new comment