Subject: | File::Spec 0.82 make install does not update site_perl under AIX |
Under AIX 4.3.3 ML-11+Post on RS6K-42W (PPC-604e @ 120MHz, 128MB ECC),
running perl 5.10.0 (output of perl -V appended):
When running build test for Module::Build, the tests all failed with a
File::Spec version error (I could not get a later version than 0.82,
despite the versions listed above, even using CPAN/CPANPLUS). File::Spec
0.7 install was fine, so it took some digging to be sure that the
problem was not in Module::Build. I built File::Spec using CPAN, and by
hand, and both reported 0.82 installed and an 'upgrade File::Spec'
returned "All modules are up to date for File::Spec".
It turns out that the version of File::Spec in
/usr/local/lib/perl5/site_perl
is left undisturbed (and thus at 0.7).
A manual copy of the files from the source directory fixed the test
problem in Module::Build, and a thorough check now matches up the files
from the
/usr/local/lib/perl5/5.10.0 & /site_perl
branches. File::Spec produced no errors, and reported no problems,
during build and install (and perllocal.pod showed File::Spec at 0.82).
Not a big deal, but for those of us who are systems folk rather than
application programmers, a bit disconcerting (all that implicit faith in
'make/Build install').
Output of perl -V:
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=aix, osvers=4.3.3.0, archname=aix-stdio
uname='aix rowena 3 4 000059419100 unknown unknown aix '
config_args='-Dcc=gcc -Dprefix=/usr/local -Dinstallusrbinperl
-DDEBUGGING -Uusethreads -Uuselargefiles'
hint=previous, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=undef, d_sfio=undef, uselargefiles=undef, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-DUSE_NATIVE_DLOPEN -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include',
optimize='-O -g',
cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-DUSE_NATIVE_DLOPEN -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-DUSE_NATIVE_DLOPEN -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-DUSE_NATIVE_DLOPEN -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include'
ccversion='', gccversion='3.4.3', gccosandvers='aix4.3.3.0'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=4
alignbytes=8, prototype=define
Linker and Libraries:
ld='ld', ldflags =' -Wl,-brtl -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lbind -lnsl -lgdbm -ldbm -ldl -lld -lm -lcrypt -lc -lbsd
perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lc -lbsd
libc=/usr/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Xlinker
-bE:/usr/local/lib/perl5/5.10.0/aix-stdio/CORE/perl.exp
-bE:/usr/local/lib/perl5/5.10.0/aix-stdio/CORE/perl.exp
-bE:/usr/local/lib/perl5/5.10.0/aix-stdio/CORE/perl.exp'
cccdlflags='-fpic', lddlflags=' -bhalt:4 -bexpall -G -bnoentry -lc
-L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING PERL_DONT_CREATE_GVSV
Built under aix
Compiled at Feb 25 2009 00:08:55
%ENV:
PERL="/usr/local/bin/perl"
@INC:
/usr/local/lib/perl5/5.10.0/aix-stdio
/usr/local/lib/perl5/5.10.0
/usr/local/lib/perl5/site_perl/5.10.0/aix-stdio
/usr/local/lib/perl5/site_perl/5.10.0
/usr/local/lib/perl5/site_perl
.