1833759 Members
2413 Online
110063 Solutions
New Discussion

Re: Perl 5.6.1

 
Marc Ahrendt
Super Advisor

Perl 5.6.1

i was able to install it from the source code that i got at www.cpan.org, but when i run "make test" 2 of the 258 tests always fail. the two tests are op/gwent and op.pwent. this has happened both times i've installed perl (on a L2000 and 745 both running 11.00 with June 2001 patches). i ran ./perl harness ...not helpful to me

any help would be greatly appreciated ...i am a very novice programmer
hola
3 REPLIES 3
Victor BERRIDGE
Honored Contributor

Re: Perl 5.6.1

Hi,
Why not go to get the binaires from y proting and archive center such as:
http://hpux.cs.utah.edu/hppd/hpux/Languages/perl-5.6.1/

All the best

Victor
Mike Hassell
Respected Contributor

Re: Perl 5.6.1

Marc,

I ran into a similar problem while installing perl 5.6.1 on one of my 11.0 boxes. I disregarded the issue and went ahead and installed it. I've been using it in production for some time now and have had no issues. All the tests should be successful, however 2 errors out of 258 tests isn't bad. I'm sure someone can shed more light on the technical details as to why these particular tests are failing.

-Mike
The network is the computer, yeah I stole it from Sun, so what?
H.Merijn Brand (procura
Honored Contributor

Re: Perl 5.6.1

From README.hpux:

=head1 nss_delete core dump from op/pwent or op/grent

You may get a bus error core dump from the op/pwent or op/grent
tests. If compiled with -g you will see a stack trace much like
the following:

#0 0xc004216c in () from /usr/lib/libc.2
#1 0xc00d7550 in __nss_src_state_destr () from /usr/lib/libc.2
#2 0xc00d7768 in __nss_src_state_destr () from /usr/lib/libc.2
#3 0xc00d78a8 in nss_delete () from /usr/lib/libc.2
#4 0xc01126d8 in endpwent () from /usr/lib/libc.2
#5 0xd1950 in Perl_pp_epwent () from ./perl
#6 0x94d3c in Perl_runops_standard () from ./perl
#7 0x23728 in S_run_body () from ./perl
#8 0x23428 in perl_run () from ./perl
#9 0x2005c in main () from ./perl

The key here is the C call. One workaround for this
bug seems to be to create add to the file F

(at least) the following lines

group: files
passwd: files

Whether you are using NIS does not matter. Amazingly enough,
the same bug affects also Solaris.


Would this help?
Enjoy, Have FUN! H.Merijn