skirnir has asked for the wisdom of the Perl Monks concerning the following question:
Due to this bug report I decided to install perl 5.10.0 on a CentOS 5 server using the following configuration:
# /opt/perl/bin/perl -V Summary of my perl5 (revision 5 version 10 subversion 0) configuration +: Platform: osname=linux, osvers=2.6.16.33-xen_3.0.4.1, archname=i686-linux-th +read-multi uname='linux devtest 2.6.16.33-xen_3.0.4.1 #1 smp fri jan 5 10:40: +15 est 2007 i686 i686 i386 gnulinux ' config_args='-Dprefix=/opt/perl' hint=previous, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=und +ef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-DDEBUGGING -D_LARGEFILE_SOURCE -D_FILE_OFFSET_ +BITS=64', optimize='-O2', cppflags='-DDEBUGGING -DDEBUGGING -D_LARGEFILE_SOURCE -D_FILE_OFFS +ET_BITS=64' ccversion='', gccversion='4.1.1 20070105 (Red Hat 4.1.1-52)', gcco +sandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=1 +2 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', + lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib 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: DEBUGGING MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_TRACK_MEMPOOL USE_ITHREADS USE_LARGE_FILE +S USE_PERLIO USE_REENTRANT_API Built under linux Compiled at May 29 2008 14:10:38 @INC: /opt/perl/lib/5.10.0/i686-linux-thread-multi /opt/perl/lib/5.10.0 /opt/perl/lib/site_perl/5.10.0/i686-linux-thread-multi /opt/perl/lib/site_perl/5.10.0 .
When running make test, the following is the interesting part of the output:
op/mkdir.........................................................# Fai +led at op/mkdir.t line 20 # got '17' # expected /(?i-xsm:cannot move|exist|denied|unknown)/ # Failed at op/mkdir.t line 24 # got '2' # expected /(?i-xsm:cannot find|such|exist|not found|not a directory|u +nknown)/ op/mkdir.........................................................FAILE +D tests 3, 7 Failed 2/22 tests, 90.91% okay ../ext/PerlIO/t/PerlIO...........................................ok ../ext/PerlIO/t/scalar...........................................# + You named your test '9'. You shouldn't use numbers for your test na +mes. # Very confusing. # You named your test '22'. You shouldn't use numbers for your te +st names. # Very confusing. # You named your test '9'. You shouldn't use numbers for your tes +t names. # Very confusing. # You named your test '22'. You shouldn't use numbers for your te +st names. # Very confusing. # You named your test '22'. You shouldn't use numbers for your te +st names. # Very confusing. # You named your test '22'. You shouldn't use numbers for your te +st names. # Very confusing. ../lib/constant.................................................. # Failed test at ../lib/constant.t line 113. # '1' # > # '6' # Looks like you failed 1 test of 97. ../lib/constant..................................................dubio +us Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 33 Failed 1/97 tests, 98.97% okay Failed Test Stat Wstat Total Fail List of Failed ---------------------------------------------------------------------- +--------- ../lib/constant.t 1 256 97 1 33 op/mkdir.t 22 2 3 7 30 tests and 864 subtests skipped. Failed 2/1461 test scripts. 3/189213 subtests failed. Files=1461, Tests=189213, 818 wallclock secs (241.37 cusr + 26.83 csys + = 268.20 CPU) Failed 2/1461 test programs. 3/189213 subtests failed.
I first attributed this to $! returning errno in numeric context and put the $! in double quotes in both lines which didn't make any difference. Ok, it wasn't very likely anyway that it had to do with the tests, I did that out of curiosity for the most part. line 113 in constant.t is the last one of the following snippet:ok(mkdir('blurfl',0777)); ok(!mkdir('blurfl',0777)); like($!, qr/cannot move|exist|denied|unknown/i);
Here I have no idea at all what this is supposed to test. Could anyone please give me a hint on what these results mean and how I can possibly pass those? I compiled perl 5.10.0 on Ubuntu Hardy Heron (64bit) with the same configuration later yesterday and it passed all tests on first try.use constant E2BIG => $! = 7; cmp_ok E2BIG, '==', 7; # This is something like "Arg list too long", but the actual message # text may vary, so we can't test much better than this. cmp_ok length(E2BIG), '>', 6;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl 5.10.0 installation issues on CentOS 5
by Anonymous Monk on May 31, 2008 at 08:09 UTC |