Operating System - HP-UX
1754014 Members
3973 Online
108811 Solutions
New Discussion юеВ

Re: Perl 5.8.0 and 5.8.2 make test failure at lib/ExtUtils/t/Constant

 
Vinnie Lima
Advisor

Perl 5.8.0 and 5.8.2 make test failure at lib/ExtUtils/t/Constant

Hi,

First, let me start that I have been running the binary version of perl 5.8.2 made available through Merijn's site, and ran into odd problems in my perl code around file handling.

Thus, I am attempting to build it from source. I am using the following config.sh parameters (derived from Merijn's binary build):


Platform:
osname=hpux, osvers=11.11, archname=PA-RISC2.0-LP64
uname='hp-ux h3 b.11.11 u 9000861 2009028909 unlimited-user license '
config_args='-Dusedevel -Dcc=gcc64 -Duse64bitall -des'
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='gcc64', ccflags ='-mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -I/usr/local/pa20_64/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-g -O',
cppflags='-mpa-risc-2-0 -D_HPUX_SOURCE -mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -I/usr/local/pa20_64/include'
ccversion='', gccversion='3.3.2', gccosandvers='hpux11.11'
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
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='/usr/bin/ld', ldflags =' -L/usr/local/pa20_64/lib -L/lib/pa20_64'
libpth=/usr/local/pa20_64/lib /lib/pa20_64 /lib /usr/lib /usr/ccs/lib /usr/local/lib
libs=-lcl -lpthread -lnsl -lnm -lgdbm -ldb -ldl -ldld -lm -lsec -lc
perllibs=-lcl -lpthread -lnsl -lnm -ldl -ldld -lm -lsec -lc
libc=/lib/pa20_64/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E '
cccdlflags='-fPIC', lddlflags='-b -L/usr/local/pa20_64/lib -L/lib/pa20_64'


Make depend and "make" runs fine, but "make test" fails with the following errors:


lib/ExtUtils/t/Constant..............
Stop.
FAILED at test 103


lib/ExtUtils/t/recurs................# Failed test (../lib/ExtUtils/t/recurs.t at line 61)
# got: '256'
# expected: '0'
FAILED at test 6



By doing the following:


export LD_LIBRARY_PATH=`pwd`; cd t; ./perl harness


I eliminate one failure but still remain with the following:


../lib/ExtUtils/t/Constant.............ok 65/272
Stop.
../lib/ExtUtils/t/Constant.............FAILED tests 66-272
Failed 207/272 tests, 23.90% okay


Anyone have any insight into getting rid of this problem? I am trying to enable full 64-bitness and havent tried running in 32-bit mode to see if this problem persists.

Again, it is not an option to run binary distributions. Additionally, would it be safe to go ahead and do "make install" or would perl not be stable with this single error?

Thanks,
Vinnie Lima
vlima@csc.com

7 REPLIES 7
H.Merijn Brand (procura
Honored Contributor

Re: Perl 5.8.0 and 5.8.2 make test failure at lib/ExtUtils/t/Constant

Could you put your Configure command line here? And the output of 'myconfig' after configure has finished.

Do you by any chance hace HP C-ANSI-C available?

Enjoy. Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Vinnie Lima
Advisor

Re: Perl 5.8.0 and 5.8.2 make test failure at lib/ExtUtils/t/Constant

The configure parameter was:

sh ./Configure -Dprefix=/opt/perl -Dcc=gcc

I'll rerun configure to get you output of myconfig.

I dont have an ansi-c compiler, i'm using GCC 3.3.2 w/ 64-bitness.

Thnx,
v.
H.Merijn Brand (procura
Honored Contributor

Re: Perl 5.8.0 and 5.8.2 make test failure at lib/ExtUtils/t/Constant

What happens if you use

# sh ./Configure -Dprefix=/opt/perl -Dcc=gcc -Duse64bitall -des

_could make a difference

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Vinnie Lima
Advisor

Re: Perl 5.8.0 and 5.8.2 make test failure at lib/ExtUtils/t/Constant

Nope, the errors still persist at "make test":

lib/ExtUtils/t/Constant..............
Stop.
FAILED at test 3


lib/ExtUtils/t/recurs................# Failed test (../lib/ExtUtils/t/recurs.t at line 84)
# got: '256'
# expected: '0'
FAILED at test 14

I didnt try the "perl harness" to see they dissapeared there (most likely one has, the other did not).

Thanks,
v.
Vinnie Lima
Advisor

Re: Perl 5.8.0 and 5.8.2 make test failure at lib/ExtUtils/t/Constant

Anyone have any suggestions?

From my research, seems like libiconv is a pre-requisite for HPUX compilation of perl?
Rajesh Athilingam
New Member

Re: Perl 5.8.0 and 5.8.2 make test failure at lib/ExtUtils/t/Constant

I had exactly the same error. Was this problem ever got resolved ?
Sunil Talreja
Occasional Advisor

Re: Perl 5.8.0 and 5.8.2 make test failure at lib/ExtUtils/t/Constant

I got the same exact error. Just ignore them.
Everything seems to be working fine after compiling DBI and DBD::oracle modules.

See the sites below for helpful information:

http://www.codecomments.com/PERL_DBI/message156458.html

http://forums1.itrc.hp.com/service/forums/questionanswer.do?admit=716493758+1105047706636+28353475&threadId=142961