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

[ID 20000224.003] Not OK: perl v5.5.660 on i86pc-solaris 2.7

From:
Lupe Christoph
Date:
February 24, 2000 03:03
Subject:
[ID 20000224.003] Not OK: perl v5.5.660 on i86pc-solaris 2.7
Message ID:
200002241054.LAA06808@lupe-christoph.de

This is a build failure report for perl from lupe@alanya.lupe-christoph.de,
generated with the help of perlbug 1.27 running under perl v5.5.660.


-----------------------------------------------------------------
Two problemlets:

1) Configure picks up /opt/local/include/arpa/inet.h which
   redefines inet_ntoa to __inet_ntoa, but it does not pick
   up -lbind which defines this symbol. Workaround is to use
   -Dlibs as below.

   I remember seeing bug reports due to this on perl5porters
   several times. So I think adding this check would reduce
   the necessity to explain to people what causes a
	ld.so.1: ./perl: fatal: relocation error: file ../lib/auto/Socket/Socket.so: symbol __inet_ntoa: referenced symbol not found
   
2) t/op/numconvert.t punts because of the 32 bit/64 bit issue.
   A comment in t/op/numconvert.t that points to perldelta.pod
   "64-bit support" would make it easier for people like me
   to find out why it punts.
-----------------------------------------------------------------

---
Site configuration information for perl v5.5.660:

Configured by lupe at Thu Feb 24 10:40:30 MET 2000.

Summary of my perl5 (revision 5.0 version 5 subversion 660) configuration:
  Platform:
    osname=solaris, osvers=2.7, archname=i86pc-solaris
    uname='sunos alanya.lupe-christoph.de 5.7 generic_106542-04 i86pc i386 i86pc '
    config_args='-dsO -Dprefix=/opt/perl5.5.660 -Doptimize=-O2 -Duseshrplib -Uusemymalloc -Duse64bits -Dcc=gcc -Dldflags=-L/opt/local/i386/lib -Dlddlflags=-G -L/opt/local/i386/lib -Dlibpth=/opt/local/i386/lib /usr/ccs/lib /usr/lib -Dlibs=-lbind -lgdbm -ldb -ldl -lm -lc -lcrypt -lsec -lsocket -lnsl'
    hint=previous, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
    usesocks=undef useperlio=undef d_sfio=undef
    use64bits=define uselargefiles=define usemultiplicity=undef
  Compiler:
    cc='gcc', optimize='-O2', gccversion=2.95.2 19991024 (release)
    cppflags='-fno-strict-aliasing -I/opt/local/include -DUSE_64_BITS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    ccflags ='-fno-strict-aliasing -I/opt/local/include -DUSE_64_BITS -D_LARGEFILE_SOURCE -D_FILE_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=12
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags ='-L/opt/local/i386/lib'
    libpth=/opt/local/i386/lib /usr/ccs/lib /usr/lib
    libs=-lbind -lgdbm -ldb -ldl -lm -lc -lcrypt -lsec -lsocket -lnsl
    libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -R /opt/perl5.5.660/lib/5.5.660/i86pc-solaris/CORE'
    cccdlflags='-fPIC', lddlflags='-G -L/opt/local/i386/lib'

Locally applied patches:
    

---
@INC for perl v5.5.660:
    lib
    /opt/perl5.5.660/lib/5.5.660/i86pc-solaris
    /opt/perl5.5.660/lib/5.5.660
    /opt/perl5.5.660/lib/perl5/site_perl
    .

---
Environment for perl v5.5.660:
    HOME=/home/lupe
    LANG=en_US
    LANGUAGE (unset)
    LD_LIBRARY_PATH=.:/opt/local/i386/lib:/usr/dt/lib:/usr/openwin/lib
    LOGDIR (unset)
    PATH=.:/home/lupe/scripts:/home/lupe/i386/bin:/opt/local/scripts:/opt/local/i386/sbin:/opt/local/i386/bin:/opt/SUNWspro/bin:/usr/ccs/bin:/opt/local/kvm-5.x-i86pc:/etc:/sbin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/opt/local/i386/x11bin:/usr/bin
    PERL_BADLANG (unset)
    SHELL=/bin/tcsh



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