Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Need help with module problem specific to sun-solaris

by jlongino (Parson)
on Nov 08, 2002 at 16:28 UTC ( [id://211461]=note: print w/replies, xml ) Need Help??


in reply to Need help with module problem specific to sun-solaris

Summary for my boxes:
  • Solaris 2.6, Perl 5.6.1 ++OK
  • Solaris 2.7, Perl 5.6.0 ++OK
  • Solaris 2.8, Perl 5.6.0 --Errors
  • Solaris 2.7, Perl 5.005_02 --Errors
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuratio +n: Platform: osname=solaris, osvers=2.8, archname=sun4-solaris uname='sunos solaris 5.8 generic sun4u sparc sunw,ultra-5_10 ' config_args='-Dcc=gcc' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultipl +icity=unde f useperlio=undef d_sfio=undef uselargefiles=define use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=u +ndef Compiler: cc='gcc', optimize='-O', gccversion=2.95.2 19991024 (release) cppflags='-fno-strict-aliasing -I/usr/local/include' ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_S +OURCE -D_F ILE_OFFSET_BITS=64' stdchar='char', d_stdstdio=define, usevfork=false intsize=4, longsize=4, ptrsize=4, doublesize=8 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, usemymalloc=y, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib ' libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc -lcrypt -lsec libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under solaris Compiled at Jul 4 2000 20:38:47 %ENV: PERL5LIB="/home/root/sas/fac-staff/perllib" @INC: /home/root/sas/fac-staff/perllib /usr/local/lib/perl5/5.6.0/sun4-solaris /usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .
PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/lo +cal/lib/pe rl5/5.6.0/sun4-solaris -I/usr/local/lib/perl5/5.6.0 -e 'use Test::Harn +ess qw(&ru ntests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/cookie......Can't locate CGI/Util.pm in @INC (@INC contains: blib/li +b blib/arc h t/lib /usr/local/lib/perl5/5.6.0/sun4-solaris /usr/local/lib/perl5/5 +.6.0 /home /root/sas/fac-staff/perllib /usr/local/lib/perl5/site_perl/5.6.0/sun4- +solaris /u sr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .) a +t t/cookie .t line 15. BEGIN failed--compilation aborted at t/cookie.t line 15. t/cookie......dubious Test returned status 2 (wstat 512, 0x200) Prototype mismatch: sub Test::Harness::_LARGEFILE_SOURCE vs () at (eva +l 25) line 1. DIED. FAILED tests 1-86 Failed 86/86 tests, 0.00% okay t/function....ok t/request.....ok t/simple......ok t/standard....ok t/util........ok Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t/cookie.t 2 512 86 86 100.00% 1-86 Failed 1/6 test scripts, 83.33% okay. 86/839 subtests failed, 89.75% o +kay. make: *** [test_dynamic] Error 9

It also failed on:

Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration: Platform: osname=solaris, osvers=2.7, archname=sun4-solaris uname='sunos 5.7 s998_18 sun4u sparc sunw,ultra-1 ' hint=previous, useposix=true, d_sigaction=define usethreads=undef useperlio=undef d_sfio=undef Compiler: cc='gcc', optimize='-O', gccversion=2.8.1 cppflags='-I/usr/local/include' ccflags ='-I/usr/local/include' stdchar='char', d_stdstdio=define, usevfork=false intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=1 +6 alignbytes=8, usemymalloc=y, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib libs=-lsocket -lnsl -lgdbm -ldl -lm -lc -lcrypt libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib' Characteristics of this binary (from libperl): Built under solaris Compiled at Oct 24 1998 01:11:27 @INC: /usr/local/lib/perl5/5.00502/sun4-solaris /usr/local/lib/perl5/5.00502 /usr/local/lib/perl5/site_perl/5.005/sun4-solaris /usr/local/lib/perl5/site_perl/5.005 .
PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/lo +cal/lib/pe rl5/5.00502/sun4-solaris -I/usr/local/lib/perl5/5.00502 -e 'use Test:: +Harness qw (&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/cookie............Can't locate CGI/Util.pm in @INC (@INC contains: b +lib/lib bl ib/arch t/lib blib/arch blib/lib /usr/local/lib/perl5/5.00502/sun4-sol +aris /usr/ local/lib/perl5/5.00502/sun4-solaris /usr/local/lib/perl5/5.00502/sun4 +-solaris / usr/local/lib/perl5/5.00502 /usr/local/lib/perl5/5.00502/sun4-solaris +/usr/local /lib/perl5/5.00502/sun4-solaris /usr/local/lib/perl5/5.00502 /usr/loca +l/lib/perl 5/site_perl/5.005/sun4-solaris /usr/local/lib/perl5/site_perl/5.005/su +n4-solaris /usr/local/lib/perl5/site_perl/5.005 . /usr/local/lib/perl5/5.00502/s +un4-solari s /usr/local/lib/perl5/5.00502 /usr/local/lib/perl5/site_perl/5.005/su +n4-solaris /usr/local/lib/perl5/site_perl/5.005 .) at t/cookie.t line 15. BEGIN failed--compilation aborted at t/cookie.t line 15. # No tests run! dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-86 Failed 86/86 tests, 0.00% okay t/function..........ok t/request...........ok t/simple............ok t/standard..........ok t/util..............ok Failed Test Status Wstat Total Fail Failed List of failed ---------------------------------------------------------------------- +--------- t/cookie.t 255 65280 86 86 100.00% 1-86 Failed 1/6 test scripts, 83.33% okay. 86/839 subtests failed, 89.75% o +kay. *** Error code 29 make: Fatal error: Command failed for target `test_dynamic'

--Jim

Replies are listed 'Best First'.
Re: Re: Need help with module problem specific to sun-solaris
by tachyon (Chancellor) on Nov 08, 2002 at 20:40 UTC

    Oops, much egg on face for me. You do not have a full version of CGI.pm installed which has revealed an error in my test scripts. I had been calling CGI::Util instead of CGI::Simple::Util in this test script. As the APIs are identical this does not show up if you have CGI::Util installed (usual case). Fortunately changing the line

    # use CGI::Util qw(escape unescape); # Oops :o/ # I actually meant this.... use CGI::Simple::Util qw(escape unescape);

    should fix the problem.

    Thanks very much for your time.

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://211461]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2024-04-16 11:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found