Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 27184
Status: resolved
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: imacat [...] mail.imacat.idv.tw
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Recursive Prerequisites CPANPLUS requires CPANPLUS::Shell::Default
Dear Jos Boumans, Hi. This is imacat from Taiwan. I found that, while I was installing CPANPLUS-0.78 on my newly-install system with CPAN, it enters an infinite loop that requires CPANPLUS::Shell::Default to install CPANPLUS. But your Makefile.PL is a little complicated. I cannot figure out why it is so. The terminal log is attached below. Hope that it helps. Please tell me if you need any more information. Thank you. root@rinse:~# /opt/perl/5.8.8/bin/cpan Terminal does not support AddHistory. cpan shell -- CPAN exploration and modules installation (v1.9102) ReadLine support available (maybe install Bundle::CPAN or Bundle::CPANxxl?) cpan[1]> install CPANPLUS CPAN: Storable loaded ok (v2.16) Going to read /root/.cpan/Metadata Database was generated on Wed, 16 May 2007 22:11:34 GMT Running install for module 'CPANPLUS' Running make for K/KA/KANE/CPANPLUS-0.78.tar.gz CPAN: checksum security checks disabled because Digest::SHA not installed. Please consider installing the Digest::SHA module. CPAN: Time::HiRes loaded ok (v1.9707) Scanning cache /root/.cpan/build for sizes .......................................................................-----DONE CPAN: Compress::Zlib loaded ok (v2.004) CPANPLUS-0.78/ ... CPANPLUS-0.78/t/inc/conf.pl CPAN: File::Temp loaded ok (v0.18) CPAN.pm: Going to build K/KA/KANE/CPANPLUS-0.78.tar.gz ### IMPORTANT! ###################################################### As of CPANPLUS 0.070, configuration during 'perl Makefile.PL' is no longer required. A default config is now shipped that should work out of the box on most machines, for priviliged and unprivileged users. If you wish to configure CPANPLUS to your environment, you can either do that from the interactive shell after installation: $ cpanp CPAN Terminal> s conf user # per user config CPAN Terminal> s conf system # system wide config Or you can invoke this program as follows, to do it now: $ /opt/perl/5.8.8/bin/perl Makefile.PL --setup This also means that any config created by any CPANPLUS older than 0.070 will no longer work, and you are required to reconfigure. See the ChangeLog file for details. We appologize for the inconvenience. ### PLEASE NOTE ################################################### Since CPANPLUS 0.050 has a few prerequisites that are not core perl (yet), they are bundled with the distribution for boot- strapping purposes. You should install these prerequisites before continueing to install CPANPLUS. You can use the bootstrapped CPANPLUS to do this for you with the following commands: /opt/perl/5.8.8/bin/perl bin/cpanp-boxed -s selfupdate dependencies /opt/perl/5.8.8/bin/perl bin/cpanp-boxed -s selfupdate enabled_features Or let your package manager take care of it. ################################################################### Checking if your kit is complete... Looks good Warning: prerequisite Crypt::OpenPGP 0.0 not found. Writing Makefile for CPANPLUS Could not read '/root/.cpan/build/CPANPLUS-0.78-wAqqRm/META.yml'. Falling back to other methods to determine prerequisites Show quoted text
---- Unsatisfied dependencies detected during ---- ---- KANE/CPANPLUS-0.78.tar.gz ---- CPANPLUS::Shell::Default [requires] Crypt::OpenPGP [requires] Warning (usually harmless): 'YAML' not installed, will not store persistent state Recursive dependency detected: CPANPLUS::Shell::Default (have: N/A; want: 0.78) => KANE/CPANPLUS-0.78.tar.gz => CPANPLUS::Shell::Default (have: N/A; requires: 0.0). Cannot resolve. KANE/CPANPLUS-0.78.tar.gz [depend] -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: KANE/CPANPLUS-0.78.tar.gz : make NO cannot resolve circular dependency cpan[2]> q Terminal does not support GetHistory. Lockfile removed. root@rinse:~#
On Thu May 17 21:07:10 2007, IMACAT wrote: Show quoted text
> Dear Jos Boumans, > > Hi. This is imacat from Taiwan. I found that, while I was > installing CPANPLUS-0.78 on my newly-install system with CPAN, it > enters > an infinite loop that requires CPANPLUS::Shell::Default to install > CPANPLUS. But your Makefile.PL is a little complicated. I cannot > figure out why it is so.
This has been reported before and fixed with 0.79_01. See the changelog here: http://search.cpan.org/src/KANE/CPANPLUS-0.79_02/ChangeLog Thanks, Jos