Subject: | cpanp fails to find metadata for Errno, which is included with perl-5.10.0 |
Date: | Mon, 22 Jun 2009 14:07:12 -0400 |
To: | bug-cpanplus [...] rt.cpan.org |
From: | Phillip Moore <pmoore6448 [...] gmail.com> |
Using a freshly installed perl-5.10.0 distribution, and trying to use cpanp
to install a number of modules, I've found that if you specify at least one
module in the core itself, you'll get a bizarre error. Now, I suspect
this is an error with the way the metadata is setup for Errno, which is in
the core, but no longer available on CPAN independently. if you specify a
dependency on Errno in your Makefile.PL, then this will result in an error
if you try to use cpanp to install it.
------
root@efs-as5-3$ cpanp
CPANPLUS::Shell::Default -- CPAN exploration and module installation (v0.84)
*** Please report bugs to <bug-cpanplus@rt.cpan.org>.
*** Using CPANPLUS::Backend v0.84.
*** ReadLine support available (try 'i Term::ReadLine::Perl').
*** Type 'p' now to show start up log
Did you know...
You can update CPANPLUS by running: 's selfupdate'
CPAN Terminal> s conf verbose 1
Key 'verbose' was set to '1'
CPAN Terminal> i Errno
[MSG] Checking if source files are up to date
[MSG] Retrieving /root/.cpanplus/sourcefiles.2.18.stored
[MSG] No '/root/.cpanplus/custom-sources' dir, skipping custom sources
[ERROR] 'Errno' does not contain an author part
[ERROR] Cannot find 'Errno' in the module tree
No such module: Errno
No modules found to operate on!
Nothing done
--------
I doubt it matter, but here's the perl version info:
root@efs-as5-3$ perl -V
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=linux, osvers=2.6.18-128.1.6.el5,
archname=x86_64-linux-thread-multi
uname='linux efs-as5-3 2.6.18-128.1.6.el5 #1 smp tue mar 24 12:05:57 edt
2009 x86_64 x86_64 x86_64 gnulinux '
config_args='-ds -e -Dprefix=/var/efs -Duseithreads -Dcc=gcc'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-I/usr/local/include'
ccversion='', gccversion='4.1.2 20080704 (Red Hat 4.1.2-44)',
gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64
libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.5.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.5'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
USE_64_BIT_ALL
USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_REENTRANT_API
Built under linux
Compiled at Jun 22 2009 13:26:52
@INC:
/var/efs/lib/perl5/5.10.0/x86_64-linux-thread-multi
/var/efs/lib/perl5/5.10.0
/var/efs/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
/var/efs/lib/perl5/site_perl/5.10.0
.