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

[Corrected/tested PATCH] Re: [ID 20001102.008] Not OK: perlv5.7.0 +DEVEL7503 on i686-linux 2.2.16

Thread Next
From:
Peter J. Farley III
Date:
November 5, 2000 08:54
Subject:
[Corrected/tested PATCH] Re: [ID 20001102.008] Not OK: perlv5.7.0 +DEVEL7503 on i686-linux 2.2.16
Message ID:
4.3.1.0.20001105115341.00b35160@pop5.banet.net
This is a success report for perl from pjfarley@banet.net,
generated with the help of perlbug 1.32 running under perl v5.7.0.

Perl reported to build OK on this system.
---

Modified patch originally provided by Kurt Starsinc, pasted here and
attached:

---------Begin pasted patch--------------
--- t/lib/syslog.t0	Wed Oct 25 20:01:44 2000
+++ t/lib/syslog.t	Sun Nov  5 01:24:20 2000
@@ -8,6 +8,18 @@
  	print "1..0 # Skip: Sys::Syslog was not built\n";
  	exit 0;
      }
+
+    require Socket;
+
+    # This code inspired by Sys::Syslog::connect():
+    require Sys::Hostname;
+    my ($host_uniq) = Sys::Hostname::hostname();
+    my ($host)      = $host_uniq =~ /([A-Za-z0-9_.-]+)/;
+
+    if (! defined Socket::inet_aton($host)) {
+        print "1..0 # Skip: Can't lookup $host\n";
+        exit 0;
+    }
  }

  use Sys::Syslog qw(:DEFAULT setlogsock);
---------End pasted patch----------------

---
Flags:
     category=install
     severity=none
---
Site configuration information for perl v5.7.0:

Configured by pjfarley at Wed Nov  1 20:20:15 PST 2000.

Summary of my perl5 (revision 5.0 version 7 subversion 0) 
configuration:
   Platform:
     osname=linux, osvers=2.2.16, archname=i686-linux
     uname='linux pjfarley36 2.2.16 #1 tue jul 18 16:07:55 edt 2000 
i686 unknown '
     config_args='-Dusedevel -des'
     hint=recommended, useposix=true, d_sigaction=define
     usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
     useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
     use64bitint=undef use64bitall=undef uselongdouble=undef
   Compiler:
     cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
     optimize='-O2',
     cppflags='-fno-strict-aliasing -I/usr/local/include'
     ccversion='', gccversion='2.95.2 20000220 (Debian GNU/Linux)', 
gccosandvers=''
     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
     d_longlong=define, longlongsize=8, d_longdbl=define, 
longdblsize=12
     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
     alignbytes=4, usemymalloc=n, prototype=define
   Linker and Libraries:
     ld='cc', ldflags =' -L/usr/local/lib'
     libpth=/usr/local/lib /lib /usr/lib
     libs=-lnsl -lndbm -ldb -ldl -lm -lc -lposix -lcrypt -lutil
     perllibs=-lnsl -ldl -lm -lc -lposix -lcrypt -lutil
     libc=/lib/libc-2.1.3.so, so=so, useshrplib=false, 
libperl=libperl.a
   Dynamic Linking:
     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, 
ccdlflags='-rdynamic'
     cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:
     DEVEL7503

---
@INC for perl v5.7.0:
     lib
     /usr/local/lib/perl5/5.7.0/i686-linux
     /usr/local/lib/perl5/5.7.0
     /usr/local/lib/perl5/site_perl/5.7.0/i686-linux
     /usr/local/lib/perl5/site_perl/5.7.0
     /usr/local/lib/perl5/site_perl
     .

---
Environment for perl v5.7.0:
     HOME=/home/pjfarley
     LANG (unset)
     LANGUAGE (unset)
     LD_LIBRARY_PATH (unset)
     LOGDIR (unset)
     PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
     PERL_BADLANG (unset)
     SHELL=/bin/bash 
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