You are not logged in.
Hi all!
Cpanplus (cpanp), my prefered tool for installing CPAN modules, seems to be broken for some modules since the update of the perl package in the base repo. Also, my old cpanp-installed modules are gone. As until today I did not care much about how the installation of CPAN modules exactly works, thus happily trusted Cpanplus in handling everything correctly, I would highly appreciate any help.
For the record: Im am using
- perl 5.12.2-1 from base
- perl-cpanplus-dist-arch 1.10-1 from the AUR (I also ran the setupdistarch-script)
So here is what Cpanplus does on my system:
~ $ LC_ALL="en_US" cpanp i Net::IMAP::Simple
Installing Net::IMAP::Simple (1.2019)
Running [/usr/bin/perl /usr/bin/core_perl/cpanp-run-perl /home/carlos/.cpanplus/5.12.2/build/Net-IMAP-Simple-1.2019/Makefile.PL INSTALLDIRS=site]...
Do you wish to include some simple protocol extensions (pulls in Parse::RecDescent)? [y] n
Writing Makefile for Net::IMAP::Simple
[MSG] Module 'Net::IMAP::Simple' depends on 'IO::Select', may need to build a 'CPANPLUS::Dist::Arch' package for it as well
[MSG] Module 'Net::IMAP::Simple' depends on 'IO::Socket', may need to build a 'CPANPLUS::Dist::Arch' package for it as well
[MSG] Module 'Net::IMAP::Simple' depends on 'Parse::RecDescent', may need to build a 'CPANPLUS::Dist::Arch' package for it as well
==> Making package: perl-net-imap-simple 1.2019-1 (Sat Jan 22 15:01:40 CET 2011)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Missing Dependencies:
-> perl-coro
-> perl-datetime
-> perl-datetime-format-mail
-> perl-datetime-format-strptime
-> perl-email-mime>=1.862
-> perl-email-mime-contenttype
-> perl-list-moreutils
-> perl-net-server-coro>=0.3
-> perl-regexp-common
-> perl-universal-require
==> ERROR: Could not resolve all dependencies.
[ERROR] makepkg returned abnormal status: 1[ERROR] Unable to create a new distribution object for 'Net::IMAP::Simple' -- cannot continue
*** Install log written to:
/home/carlos/.cpanplus/install-logs/Net-IMAP-Simple-1.2019-1295704900.logError installing 'Net::IMAP::Simple'
Problem installing one or more modules
. . . shouldn't cpanp and pacman handle those missing dependencies? Whatever, I can still do it myself . . .
~ $ cpanp i Coro DateTime DateTime::Format::Mail DateTime::Format::Strptime Email::MIME Email::MIME::ContentType List::MoreUtils Net::Server::Coro Regexp::Common UNIVERSAL::require
Installing Coro (5.25)
[ERROR] Could not read /home/carlos/.cpanplus/5.12.2/build/Coro-5.25/META.yml: 'Parse::CPAN::Meta failed to classify line '{' at /usr/share/perl5/core_perl/CPANPLUS/Dist.pm line 365
'Running [/usr/bin/perl /usr/bin/core_perl/cpanp-run-perl /home/carlos/.cpanplus/5.12.2/build/Coro-5.25/Makefile.PL INSTALLDIRS=site]...
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ****** Event not found, not build Event support.
EV version 4.03 found, building EV support.
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Coro has a number of configuration options. Due to its maturity, the
defaults that Coro chooses are usually fine, so you can decide to skip
these questions. Only if something went wrong you should select 'n'
here and manually configure Coro, and, of course, report this to the
maintainer :)Skip further questions and use defaults (y/n)? [y] y
[skipping some output]
Writing Makefile for Coro::State
Writing Makefile for Coro::EV
Writing Makefile for Coro
[ERROR] Parse::CPAN::Meta failed to classify line '{' at /usr/share/perl5/vendor_perl/CPANPLUS/Dist/Arch.pm line 1152
While this surely looks like an error in the module, the very same module installed just fine before the perl upgrade. On the other hand, the installation still works for some other modules (just installed Acme::24 for fun).
Edit: This is still unsolved (to my knowledge at least), however I am not pursuing the matter any more since I found all cpan modules I needed in the AUR.
Another edit: I just successfully used cpanp to install a module (Text::WikiCreole). Somehow the problem got fixed.
Last edited by Franek (2011-04-22 18:35:37)
Offline