jim_neophyte has asked for the wisdom of the Perl Monks concerning the following question:

Hello, i am able to compile perltk 804.027 with both 5.8.7 and 5.8.8 in both 32-bit and 64-bit modes. whenever i run "gmake test" only about 21% tests pass. i have been able to definitively say that it is related to the "update" method; does not seem to matter what the object is.

are other people able to compile on hp11 and run tests with most tests passing? is anyone able to spot what might be wrong in my config? other suggestions? thanks.

my config:
[osiris:jaw2]$ perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=hpux, osvers=11.11, archname=PA-RISC2.0 uname='hp-ux osiris b.11.11 u 9000785 2014861074 unlimited-user li +cense ' config_args='-des -Dprefix=/sw/System/perl/5.8.8/hp11' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultipl +icity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags =' -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -D_L +ARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ', optimize='+O2 +Onolimit', cppflags='-Aa -D__STDC_EXT__ -D_HPUX_SOURCE -Ae -D_HPUX_SOURCE -Wl +,+vnocompatwarnings' ccversion='B.11.11.16', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=1 +6 ivtype='long', ivsize=4, 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/lib' libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib libs=-lnsl -lnm -lndbm -lmalloc -ldld -lm -lcrypt -lsec -lc perllibs=-lnsl -lnm -lmalloc -ldld -lm -lcrypt -lsec -lc libc=/lib/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 -Wl +,-B,deferred ' cccdlflags='+Z', lddlflags='-b +vnocompatwarnings -L/usr/local/lib +' Characteristics of this binary (from libperl): Compile-time options: PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO Built under hpux

Replies are listed 'Best First'.
Re: compiling perltk on hp11
by syphilis (Archbishop) on Jul 27, 2007 at 00:14 UTC
    Assuming that the failures are basically the same, there's certainly no need to show us the entire test results, but it would be handy if you could show us the output of running:
    perl -Mblib t/fail.t
    where you replace fail.t with one of the actual test files that demonstrates the failure.

    Other than that, you might find something helpful listed among the Tk bug reports. And, looking at the cpantesters results, I notice there's an 804.027_500 release that hasn't got any failures reported (though it's not extensively tested). Perhaps you'd have better luck with it.

    Cheers,
    Rob
Re: compiling perltk on hp11
by zentara (Cardinal) on Jul 27, 2007 at 12:14 UTC
    The tests failing messages appear on linux too.... they are harmless. Just make sure the "widget" demo runs as it should. (Of course, you MAY have a real problem :-) )

    I'm not really a human, but I play one on earth. Cogito ergo sum a bum
Re: compiling perltk on hp11
by zentara (Cardinal) on Jul 27, 2007 at 12:13 UTC
    Please delete this duplicate. How did that happen?

    The tests failing messages appear on linux too.... they are harmless. Just make sure the "widget" demo runs as it should. (Of course, you MAY have a real problem :-) )


    I'm not really a human, but I play one on earth. Cogito ergo sum a bum