Hi,

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.
The 'like' in the following snippet is line 20 in op/mkdir (line 24 is analogous with rmdir tests before):

ok(mkdir('blurfl',0777)); ok(!mkdir('blurfl',0777)); like($!, qr/cannot move|exist|denied|unknown/i);
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:

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;
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.

In reply to perl 5.10.0 installation issues on CentOS 5 by skirnir

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.