Has anyone gotten CPAN working with Bundle::CPAN on Debian or a Debian derivative in the last two or three weeks? I have been pulling my hair out, because I can't get it to work on a fresh install of xubuntu. Or Debian stable. Or Debian testing. And since I first ran into this problem, I've only seen one other search result returned for the problem, other than the bug itself. I'm still not even sure I understand this to be a package issue. If I'm using cpan to install Bundle::CPAN, then what would system package bugs have to do with anything?
Here is the problem I ran into using Xubuntu 8.04 and Debian Etch (stable). Please note that ALL I did was install the operating system and immediately install gcc and libc6-dev then configure cpan and run 'install Bundle::CPAN". That is ALL I did. NOTHING else.
I run 'install Bundle::CPAN'. It runs through the installation and at the end, it complains as follows:
Can't call method "value" on an undefined value at /usr/share/perl5/IO/Uncompress/RawInflate.pm line 64.
The very little I could find regarding this is a bug in libio-compress-zlib-perl 2.010-1 (bug
#482056).
While it is the SAME error message, you'll note that bug is for the apt-get package named
libio-compress-zlib-perl. That should have NOTHING to do with what is retrieved by the cpan utility, right? Why would it? I'm installing the CPAN version and not the apt-gettable version, yes?
Besides, the bug is regarding 2.010-1 which is in testing or unstable and obviously shouldn't be part of xubuntu or Debian Etch by default.
However, since the current version of libio-compress-zlib-perl in the repository is 2.08, I installed that and then ran cpan. And it complained that it needed to be 2.011 -- which, of course, fails when it tries to install that from CPAN.
The debian bug says it is going to be fixed in 2.011. I waited for 2.011-2 to get out of unstable and into testing after 10 days. Then I did a fresh debian install, immediately upgrading to lenny (testing). This of course upgraded perl to 5.10 as well. And libio-compress-zlib-perl to 2.011-2.
And it still doesn't work.
If I try to install Bundle::CPAN in Debian
testing WITH or WITHOUT libio-compress-zlib-perl 2.011-2 I still get the same problem as follows:
CPAN.pm: Going to build P/PM/PMQS/Compress-Zlib-2.011.tar.gz
Warning: Prerequisite 'IO::Uncompress::Gunzip => 2.011' for 'P/PM/PMQS
+/Compress-Zlib-2.011.tar.gz' failed when processing 'P/PM/PMQS/IO-Com
+press-Zlib-2.011.tar.gz' with 'make => NO'. Continuing, but chances t
+o succeed are limited.
Warning: Prerequisite 'IO::Compress::Gzip => 2.011' for 'P/PM/PMQS/Com
+press-Zlib-2.011.tar.gz' failed when processing 'P/PM/PMQS/IO-Compres
+s-Zlib-2.011.tar.gz' with 'make => NO'. Continuing, but chances to su
+cceed are limited.
Warning: Prerequisite 'Compress::Raw::Zlib => 2.011' for 'P/PM/PMQS/Co
+mpress-Zlib-2.011.tar.gz' failed when processing 'P/PM/PMQS/Compress-
+Raw-Zlib-2.011.tar.gz' with 'make => NO'. Continuing, but chances to
+succeed are limited.
Warning: Prerequisite 'IO::Compress::Gzip::Constants => 2.011' for 'P/
+PM/PMQS/Compress-Zlib-2.011.tar.gz' failed when processing 'P/PM/PMQS
+/IO-Compress-Zlib-2.011.tar.gz' with 'make => NO'. Continuing, but ch
+ances to succeed are limited.
Warning: Prerequisite 'IO::Uncompress::Base => 2.011' for 'P/PM/PMQS/C
+ompress-Zlib-2.011.tar.gz' failed when processing 'P/PM/PMQS/IO-Compr
+ess-Base-2.011.tar.gz' with 'make => NO'. Continuing, but chances to
+succeed are limited.
Warning: Prerequisite 'IO::Compress::Base => 2.011' for 'P/PM/PMQS/Com
+press-Zlib-2.011.tar.gz' failed when processing 'P/PM/PMQS/IO-Compres
+s-Base-2.011.tar.gz' with 'make => NO'. Continuing, but chances to su
+cceed are limited.
Warning: Prerequisite 'IO::Compress::Base::Common => 2.011' for 'P/PM/
+PMQS/Compress-Zlib-2.011.tar.gz' failed when processing 'P/PM/PMQS/IO
+-Compress-Base-2.011.tar.gz' with 'make => NO'. Continuing, but chanc
+es to succeed are limited.
Can't exec "make": No such file or directory at /usr/share/perl/5.10/C
+PAN.pm line 7698.
PMQS/Compress-Zlib-2.011.tar.gz
make -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store persi
+stent state
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::Uncompress::Base'
Running make for P/PM/PMQS/IO-Compress-Base-2.011.tar.gz
Has already been unwrapped into directory /root/.cpan/build/IO-Compr
+ess-Base-2.011-W8IUfx
Could not make: Unknown error
Warning (usually harmless): 'YAML' not installed, will not store persi
+stent state
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-Base-2.011.tar.gz
Has already been unwrapped into directory /root/.cpan/build/IO-Compr
+ess-Base-2.011-W8IUfx
Could not make: Unknown error
Warning (usually harmless): 'YAML' not installed, will not store persi
+stent state
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.011.tar.gz
Has already been unwrapped into directory /root/.cpan/build/Compress
+-Raw-Zlib-2.011-peC84x
Could not make: Unknown error
Warning (usually harmless): 'YAML' not installed, will not store persi
+stent state
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-Zlib-2.011.tar.gz
Has already been unwrapped into directory /root/.cpan/build/IO-Compr
+ess-Zlib-2.011-XEu8Od
Could not make: Unknown error
Warning (usually harmless): 'YAML' not installed, will not store persi
+stent state
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
ADAMK/File-HomeDir-0.69.tar.gz : make NO
TJENNESS/File-Temp-0.20.tar.gz : make NO
MSCHWERN/ExtUtils-MakeMaker-6.44.tar.gz : make NO
MSHELOR/Digest-SHA-5.47.tar.gz : make NO
MSCHWERN/Test-Simple-0.80.tar.gz : make NO
PMQS/IO-Compress-Base-2.011.tar.gz : make NO
PMQS/Compress-Raw-Zlib-2.011.tar.gz : make NO
JSTOWE/TermReadKey-2.30.tar.gz : make NO
ADAMK/Archive-Zip-1.23.tar.gz : make NO
TOMHUGHES/IO-Zlib-1.09.tar.gz : make NO
ILYAZ/modules/Term-ReadLine-Perl-1.0302.tar.gz: make NO
INGY/YAML-0.66.tar.gz : make NO
PEREINAR/File-Which-0.05.tar.gz : make NO
PMQS/Compress-Zlib-2.011.tar.gz : make NO
PMQS/IO-Compress-Zlib-2.011.tar.gz : make NO
So maybe I misunderstand that bug? The bug report looks very clearly to me to be against the debian package and NOT against the actual perl module. So why is the perl module not working?
I just want a working perl dev environment like I've installed and configured dozens of times before over the years. What am I doing wrong here?!
Thank you for any help you're able to provide.