develooper Front page | perl.perl5.porters | Postings from December 2000

Re: Not OK: perl v5.7.0 +DEVEL7825 on aix 4.2.1.0 (UNINSTALLED)

Thread Previous | Thread Next
From:
H . Merijn Brand
Date:
December 1, 2000 02:50
Subject:
Re: Not OK: perl v5.7.0 +DEVEL7825 on aix 4.2.1.0 (UNINSTALLED)
Message ID:
20001201114832.8C8B.H.M.BRAND@hccnet.nl
On Thu, 30 Nov 2000 21:01:12 +0100, "H.Merijn Brand" <h.m.brand@hccnet.nl> wrote:
> On Thu, 30 Nov 2000 19:02:35 +0100, "H.Merijn Brand" <h.m.brand@hccnet.nl> wrote:
> > On Thu, 30 Nov 2000 18:01:52 +0100, "H.Merijn Brand" <h.m.brand@hccnet.nl> wrote:
> > > Nailed it down to a failing base function 'getprotobyname':
> > > 
> > > % perl5.00503 -e 'print getprotobyname ("udp"), "\n"'; echo $?
> > > udpUDP17
> > > 0
> > > % ./perl -e 'print getprotobyname ("udp"), "\n"' ; echo $?
> > > 6
> > > %

Well, after almost 8 hours of hacking, I got it all running well, so I think I
need a big hug (preferably from a beautifull girl, so Jarkko won't do ;-))

All boils down to a wrong sequence in lib calls (or a bug in AIX 4.2). Doing

	Configure -Duseperlio -Dusedevel -des

needs manual change to config.sh to get it all working:
*** config.org  Fri Dec  1 11:23:10 2000
--- config.sh   Fri Dec  1 10:56:38 2000
***************
*** 563,565 ****
  libpth='/pro/local/lib /lib /usr/lib /usr/ccs/lib'
! libs='-lbind -lnsl -lgdbm -ldbm -ldb -ldl -lld -lm -lC -lc -lbsd -lPW -liconv'
  libsdirs=' /lib /pro/local/lib'
--- 563,565 ----
  libpth='/pro/local/lib /lib /usr/lib /usr/ccs/lib'
! libs='-lnsl -lgdbm -ldbm -ldb -ldl -lld -lm -lC -lc -lbind -lbsd -lPW -liconv'
  libsdirs=' /lib /pro/local/lib'
***************
*** 644,646 ****
  perladmin='h.m.brand@hccnet.nl'
! perllibs='-lbind -lnsl -ldl -lld -lm -lC -lc -lbsd -lPW -liconv'
  perlpath='/pro/bin/perl'
--- 644,646 ----
  perladmin='h.m.brand@hccnet.nl'
! perllibs='-lnsl -ldl -lld -lm -lC -lc -lbind -lbsd -lPW -liconv'
  perlpath='/pro/bin/perl'
End of patch

(-lbind should be *after* -lc on my AIX 4.2 with cc (xlc 3.1.4.10))

All tests successful.
u=1.76  s=1.22  cu=181.88  cs=43.32  scripts=267  tests=15823

Nick, here are the perlio tests:

-------
default
-------
All tests successful.
u=1.45  s=0.84  cu=179.78  cs=42.67  scripts=267  tests=15823
-------
stdio
-------
All tests successful.
u=1.5  s=0.74  cu=179.89  cs=43.02  scripts=267  tests=15823
-------
perlio
-------
All tests successful.
u=1.66  s=0.6  cu=178.2  cs=40.46  scripts=267  tests=15823
-------
mmap
-------
lib/filehand.........FAILED at test 4
Failed 1 test script out of 267, 99.63% okay.
   ###
u=1.74  s=0.9  cu=177.18  cs=41.14  scripts=267  tests=15823
make: *** [test] Error 1

And here is the OK report.

To: perlbug@perl.org
Subject: OK: perl v5.7.0 +DEVEL7928 on aix 4.2.1.0 (UNINSTALLED)
Reply-To: h.m.brand@hccnet.nl


This is a success report for perl from h.m.brand@hccnet.nl,
generated with the help of perlbug 1.33 running under perl v5.7.0.

Perl reported to build OK on this system.
---
Flags:
    category=install
    severity=none
---
Site configuration information for perl v5.7.0:

Configured by merijn at Fri Dec  1 10:49:57 NFT 2000.

Summary of my perl5 (revision 5.0 version 7 subversion 0) configuration:
  Platform:
    osname=aix, osvers=4.2.1.0, archname=aix
    uname='aix ibm 2 4 000025794c00 '
    config_args='-Duseperlio -Dusedevel -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=undef use64bitall=undef uselongdouble=undef
  Compiler:
    cc='xlc', ccflags ='-DDEBUGGING -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -I/pro/local/include',
    optimize='',
    cppflags='-DDEBUGGING -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -I/pro/local/include'
    ccversion='3.1.4.10', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='ld', ldflags ='-L/pro/local/lib'
    libpth=/pro/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lnsl -lgdbm -ldbm -ldb -ldl -lld -lm -lC -lc -lbind -lbsd -lPW -liconv
    perllibs=-lnsl -ldl -lld -lm -lC -lc -lbind -lbsd -lPW -liconv
    libc=, so=a, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -bE:/pro/lib/perl5/5.7.0/aix/CORE/perl.exp'
    cccdlflags=' ', lddlflags='-bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -b noentry -lC -lc -L/pro/local/lib'

Locally applied patches:
    DEVEL7928

---
@INC for perl v5.7.0:
    lib
    /pro/lib/perl5/5.7.0/aix
    /pro/lib/perl5/5.7.0
    /pro/lib/perl5/site_perl/5.7.0/aix
    /pro/lib/perl5/site_perl/5.7.0
    /pro/lib/perl5/site_perl/5.005/aix
    /pro/lib/perl5/site_perl/5.005
    /pro/lib/perl5/site_perl
    .

---
Environment for perl v5.7.0:
    HOME=/u/usr/merijn
    LANG=en_US
    LANGUAGE (unset)
    LC__FASTMSG=true
    LD_LIBRARY_PATH (unset)
    LIBPATH (unset)
    LOGDIR (unset)
    PATH=.:/u/usr/merijn/bin/private:/u/usr/merijn/bin:/pro/local/bin:/pro/bin:/usr/hosts:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11R6:/usr/bin/X11:/sbin:/pro/pU/bin
    PERL_BADLANG (unset)
    SHELL=/bin/sh

-- 
H.Merijn Brand           Amsterdam Perl Mongers (http://www.amsterdam.pm.org/)
using perl-5.005.03, 5.6.0, 5.7.1 & 620 on HP-UX 10.20 & 11.00, AIX 4.2 & 4.3,
     DEC OSF/1 4.0 and WinNT 4.0 SP-6a,  often with Tk800.022 and/or DBD-Unify
ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/H/HM/HMBRAND/


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About