Front page | perl.perl5.porters |
Postings from June 2008
perl 5.10.0 installation issues on CentOS 5
Thread Next
From:
Jochen Luig
Date:
June 2, 2008 03:24
Subject:
perl 5.10.0 installation issues on CentOS 5
Message ID:
4843CA47.8050802@gmx.net
Hi,
someone on perlmonks suggested that I report this here.
Due to a bug in the CentOS package described here:
http://lists.scsys.co.uk/pipermail/dbix-class/2007-October/005119.html
and here: https://bugzilla.redhat.com/show_bug.cgi?id=196836 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-thread-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=undef
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_OFFSET_BITS=64'
ccversion='', gccversion='4.1.1 20070105 (Red Hat 4.1.1-52)',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
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_FILES
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.........................................................#
Failed 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|unknown)/
op/mkdir.........................................................FAILED
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 names.
# Very confusing.
# You named your test '22'. You shouldn't use numbers for your test
names.
# Very confusing.
# You named your test '9'. You shouldn't use numbers for your test
names.
# Very confusing.
# You named your test '22'. You shouldn't use numbers for your test
names.
# Very confusing.
# You named your test '22'. You shouldn't use numbers for your test
names.
# Very confusing.
# You named your test '22'. You shouldn't use numbers for your test
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..................................................dubious
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 that day and it passed all tests on first try.
Thread Next
-
perl 5.10.0 installation issues on CentOS 5
by Jochen Luig