Subject: | Module::Build dependency on ExtUtils::Manifest broken |
Given a new 64-bit Amazon Web Services box, couldn't install packages
because of Module::Build install failure. Downloaded cpanm from
https://github.com/miyagawa/cpanminus/raw/master/cpanm at version 1.4004".
[root@ip-10-82-222-116 ~]# perl cpanm Judy
--> Working on Judy
Fetching
http://search.cpan.org/CPAN/authors/id/J/JJ/JJORE/Judy-0.40.tar.gz ... OK
==> Found dependencies: Module::Build
--> Working on Module::Build
Fetching
http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Module-Build-0.3800.tar.gz
... OK
Configuring Module-Build-0.3800 ... N/A
! Configure failed for Module-Build-0.3800. See /root/.cpanm/build.log
for details.
! Bailing out the installation for Judy-0.40. Retry with --prompt or
--force.
[root@ip-10-82-222-116 ~]# less ~/.cpanm/build.log
cpanm (App::cpanminus) 1.4004 on perl 5.010001 built for
x86_64-linux-thread-multi
Work directory is /root/.cpanm/work/1303499775.1474
You have make /usr/bin/make
You have LWP 5.833
You have /bin/tar: tar (GNU tar) 1.23
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
Searching Judy on cpanmetadb ...
--> Working on Judy
Fetching http://search.cpan.org/CPAN/authors/id/J/JJ/JJORE/Judy-0.40.tar.gz
-> OK
Unpacking Judy-0.40.tar.gz
Entering Judy-0.40
Checking configure dependencies from META.yml
Checking if you have warnings 0 ... Yes (1.06)
Checking if you have strict 0 ... Yes (1.04)
Checking if you have File::Spec 0 ... Yes (3.30)
Checking if you have vars 0 ... Yes (1.01)
Checking if you have Module::Build 0 ... No
==> Found dependencies: Module::Build
Searching Module::Build on cpanmetadb ...
--> Working on Module::Build
Fetching
http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Module-Build-0.3800.tar.gz
-> OK
Unpacking Module-Build-0.3800.tar.gz
Entering Module-Build-0.3800
Checking configure dependencies from META.yml
Configuring Module-Build-0.3800
Running Build.PL
*** BOOTSTRAPPING Perl::OSType ***
*** BOOTSTRAPPING version ***
*** BOOTSTRAPPING Module::Metadata ***
Can't locate ExtUtils/Manifest.pm in @INC (@INC contains: t/lib
t/bundled lib /usr/local/lib64/perl5 /usr/local/share/perl5
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl
/usr/lib64/perl5 /usr/share/perl5 .) at lib/Module/Build/Base.pm line 1983.
These additional prerequisites must be installed:
requires:
! Perl::OSType (we need version 1.00)
! version (we need version 0.87)
! Module::Metadata (we need version 1.000002)
Running Makefile.PL
*** BOOTSTRAPPING Perl::OSType ***
*** BOOTSTRAPPING version ***
*** BOOTSTRAPPING Module::Metadata ***
# running Build.PL
*** BOOTSTRAPPING Perl::OSType ***
*** BOOTSTRAPPING version ***
*** BOOTSTRAPPING Module::Metadata ***
Can't locate ExtUtils/Manifest.pm in @INC (@INC contains: t/lib
t/bundled lib /usr/local/lib64/perl5 /usr/local/share/perl5
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl
/usr/lib64/perl5 /usr/share/perl5 .) at lib/Module/Build/Base.pm line 1983.
These additional prerequisites must be installed:
requires:
! Perl::OSType (we need version 1.00)
! version (we need version 0.87)
! Module::Metadata (we need version 1.000002)
Couldn't run Build.PL: at lib/Module/Build/Compat.pm line 341.
These additional prerequisites must be installed:
requires:
! Perl::OSType (we need version 1.00)
! version (we need version 0.87)
! Module::Metadata (we need version 1.000002)
-> N/A
-> FAIL Configure failed for Module-Build-0.3800. See
/root/.cpanm/build.log for details.
-> FAIL Bailing out the installation for Judy-0.40. Retry with --prompt
or --force.
[root@ip-10-82-222-116 ~]# perl -V
Summary of my perl5 (revision 5 version 10 subversion 1) configuration:
Platform:
osname=linux, osvers=2.6.18-164.el5az00,
archname=x86_64-linux-thread-multi
uname='linux gobi-build-31004.sea31.amazon.com 2.6.18-164.el5az00 #1
smp tue sep 15 14:19:07 edt 2009 x86_64 x86_64 x86_64 gnulinux '
config_args='-des -Doptimize=-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -DDEBUGGING=-g
-Dversion=5.10.1 -Dmyhostname=localhost -Dperladmin=root@localhost
-Dcc=gcc -Dcf_by=Red Hat, Inc. -Dprefix=/usr -Dvendorprefix=/usr
-Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl5
-Dsitearch=/usr/local/lib64/perl5 -Dprivlib=/usr/share/perl5
-Darchlib=/usr/lib64/perl5 -Dvendorlib=/usr/share/perl5/vendor_perl
-Dvendorarch=/usr/lib64/perl5/vendor_perl -Dinc_version_list=5.10.0
-Darchname=x86_64-linux-thread-multi -Dlibpth=/usr/local/lib64 /lib64
/usr/lib64 -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles
-Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow
-Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n
-Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr
-Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto
-Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto
-Ud_setservent_r_proto -Dscriptdir=/usr/bin'
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 -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.4.4 20100726 (Red Hat 4.4.4-13)',
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 =' -fstack-protector'
libpth=/usr/local/lib64 /lib64 /usr/lib64
libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.12'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-rpath,/usr/lib64/perl5/CORE'
cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic'
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 Jan 15 2011 12:52:31
@INC:
/usr/local/lib64/perl5
/usr/local/share/perl5
/usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl
/usr/lib64/perl5
/usr/share/perl5
.