LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 05-31-2008, 11:26 PM   #1
Cronjob
LQ Newbie
 
Registered: May 2004
Posts: 20

Rep: Reputation: 0
Exclamation Bundle::CPAN entirely broken on Debian.


Has anyone gotten CPAN working with Bundle::CPAN on Debian or a Debian derivitive 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.

Here is the problem I ran into using xubuntu 8.04 and Debian Etch. Please note that ALL I did was install the operating system and immediately 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. Why would it? I'm installing the CPAN version and not the apt-gettable version.

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 (presuming we were even dealing with libio-compress-zlib-perl, which we aren't since we're using the cpan utility, right?).

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 WITHOUT libio-compress-zlib-perl or WITH it, I still get the same problem as follows:

Code:
  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-Compress-Zlib-2.011.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'IO::Compress::Gzip => 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 chances to succeed are limited.
Warning: Prerequisite 'Compress::Raw::Zlib => 2.011' for 'P/PM/PMQS/Compress-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 chances to succeed are limited.
Warning: Prerequisite 'IO::Uncompress::Base => 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 chances to succeed are limited.
Warning: Prerequisite 'IO::Compress::Base => 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 chances to succeed 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 chances to succeed are limited.
Can't exec "make": No such file or directory at /usr/share/perl/5.10/CPAN.pm line 7698.
  PMQS/Compress-Zlib-2.011.tar.gz
  make -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store persistent 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-Compress-Base-2.011-W8IUfx
Could not make: Unknown error
Warning (usually harmless): 'YAML' not installed, will not store persistent 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-Compress-Base-2.011-W8IUfx
Could not make: Unknown error
Warning (usually harmless): 'YAML' not installed, will not store persistent 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 persistent 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-Compress-Zlib-2.011-XEu8Od
Could not make: Unknown error
Warning (usually harmless): 'YAML' not installed, will not store persistent 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.

Last edited by Cronjob; 05-31-2008 at 11:28 PM.
 
Old 06-01-2008, 01:59 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,570

Rep: Reputation: 510Reputation: 510Reputation: 510Reputation: 510Reputation: 510Reputation: 510
Can't exec "make": No such file or directory at /usr/share/perl/5.10/CPAN.pm line 7698.

Code:
apt-get install build-essential
 
Old 06-01-2008, 03:52 PM   #3
Cronjob
LQ Newbie
 
Registered: May 2004
Posts: 20

Original Poster
Rep: Reputation: 0
Ah hah. That seems to have been the problem. Rather than trying to make every thing it would be nice if the cpan utility just checked for make and then reported "Hey, you don't have make" rather than embedding "make file not found" among dozens of "make failed" errors.

For some reason I thought make was installed along with gcc and libc6-dev.

Thanks for the help!
 
Old 06-01-2008, 03:56 PM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,570

Rep: Reputation: 510Reputation: 510Reputation: 510Reputation: 510Reputation: 510Reputation: 510
You're welcome, I ran into this once.

For this and other bad experiences with CPAN I will go through hoops to avoid using it. Fortunately, Debian packages up most Perl modules, usually named libFOO-BAR-perl. I don't see Bundle::CPAN packaged though.
 
  


Reply

Tags
apt-get, compress, cpan, debian, etch, lenny, perl


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
fix a debian broken system el_pajaro! Debian 6 06-03-2009 01:23 AM
Having trouble installing Bundle::CPAN laggerific Linux - Software 0 09-28-2007 10:55 AM
KDE on Debian etch broken havok1977 Linux - Desktop 2 11-29-2006 01:18 PM
X broken [debian 2.6.8-2-386 stable+nVidiaGeForce2MX400+via] pyxel Linux - Software 0 12-15-2005 10:38 AM
ipmasq debian broken ? Hubas Linux - Networking 2 01-05-2004 10:32 AM


All times are GMT -5. The time now is 01:59 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration