Subject: | Error in tempdir() |
[lee@xtdc1-lee xt]$ perl -MCPAN -e "warn CPAN->VERSION";
1.9304 at -e line 1.
[lee@xtdc1-lee xt]$ sudo cpan List::MoreUtils
CPAN: Storable loaded ok (v2.18)
CPAN: LWP::UserAgent loaded ok (v5.832)
CPAN: Time::HiRes loaded ok (v1.86)
Fetching with LWP:
http://mirrorservice.org/sites/ftp.cpan.org/pub/CPAN/authors/01mailrc.tx
t.gz
CPAN: YAML loaded ok (v0.66)
Going to read ~/.cpan/sources/authors/01mailrc.txt.gz
........................................................................
....DONE
Fetching with LWP:
http://mirrorservice.org/sites/ftp.cpan.org/pub/CPAN/modules/02packages.
details.txt.gz
Going to read ~/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Fri, 09 Jul 2010 01:35:26 GMT
...............
New CPAN.pm version (v1.9402) available.
[Currently running version is v1.9304]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.
.............................................................DONE
Fetching with LWP:
http://mirrorservice.org/sites/ftp.cpan.org/pub/CPAN/modules/03modlist.d
ata.gz
Going to read ~/.cpan/sources/modules/03modlist.data.gz
........................................................................
....DONE
Going to write ~/.cpan/Metadata
List::MoreUtils is up to date (0.22).
[lee@xtdc1-lee xt]$ sudo cpan CPAN
CPAN: Storable loaded ok (v2.18)
Going to read ~/.cpan/Metadata
Database was generated on Fri, 09 Jul 2010 01:35:26 GMT
Running install for module 'CPAN'
CPAN: YAML loaded ok (v0.66)
CPAN: CPAN::Kwalify loaded ok (v5.50)
Running make for A/AN/ANDK/CPAN-1.9402.tar.gz
CPAN: LWP::UserAgent loaded ok (v5.832)
CPAN: Time::HiRes loaded ok (v1.86)
Fetching with LWP:
http://mirrorservice.org/sites/ftp.cpan.org/pub/CPAN/authors/id/A/AN/AND
K/CPAN-1.9402.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
Fetching with LWP:
http://mirrorservice.org/sites/ftp.cpan.org/pub/CPAN/authors/id/A/AN/AND
K/CHECKSUMS
Checksum for ~/.cpan/sources/authors/id/A/AN/ANDK/CPAN-1.9402.tar.gz ok
Cannot gzopen ~/.cpan/sources/authors/id/A/AN/ANDK/CPAN-1.9402.tar.gz:
cannot open file '~/.cpan/sources/authors/id/A/AN/ANDK/CPAN-
1.9402.tar.gz': No such file or directory
Cannot gzopen ~/.cpan/sources/authors/id/A/AN/ANDK/CPAN-1.9402.tar.gz:
cannot open file '~/.cpan/sources/authors/id/A/AN/ANDK/CPAN-
1.9402.tar.gz': No such file or directory
CPAN: File::Temp loaded ok (v0.22)
Error in tempdir() using ~/.cpan/build/ANDK-XXXXXX: Parent directory
(~/.cpan/build) does not exist at /opt/xt/xt-perl/lib/5.8.8/CPAN.pm
line 6575
[lee@xtdc1-lee xt]$
[lee@xtdc1-lee xt]$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=linux, osvers=2.6.18-164.11.1.el5xen, archname=x86_64-linux
uname='linux paulo.dave.net-a-porter.com 2.6.18-164.11.1.el5xen #1
smp wed jan 20 08:06:04 est 2010 x86_64 x86_64 x86_64 gnulinux '
config_args='-des -Dprefix=/opt/xt/xt-perl -Aldflags=-L/usr/lib64 -
L/lib64 -lm -Alibs=-lnsl -ldl -lm -lcrypt -lutil -lc -Acccdlflags=-
fpic -Alddlflags=-shared -L/usr/local/lib -Duserelocatableinc -
Dnapversion=5.8.8_1278516367'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=define uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe -Wdeclaration-after-
statement -I/usr/local/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -
I/usr/local/include'
ccversion='', gccversion='4.1.2 20080704 (Red Hat 4.1.2-46)',
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='cc', ldflags =' -L/usr/lib64 -L/lib64 -lm -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs= -lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -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 -L/usr/local/lib -
L/usr/lib64 -L/lib64'
Characteristics of this binary (from libperl):
Compile-time options: PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT
USE_LARGE_FILES USE_PERLIO
Built under linux
Compiled at Jul 8 2010 09:55:35
%ENV:
PERL5LIB="/home/lee/src/xt/lib:/home/lee/src/xt/t/lib/"
@INC:
/home/lee/src/xt/lib
/home/lee/src/xt/t/lib/
/opt/xt/xt-perl/lib/5.8.8/x86_64-linux
/opt/xt/xt-perl/lib/5.8.8
/opt/xt/xt-perl/lib/site_perl/5.8.8/x86_64-linux
/opt/xt/xt-perl/lib/site_perl/5.8.8
/opt/xt/xt-perl/lib/site_perl
.
[lee@xtdc1-lee xt]$