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

[ID 20000414.006] over-aggressive vendor bashing in Syslog.xs

Thread Next
From:
mgs
Date:
April 14, 2000 13:12
Subject:
[ID 20000414.006] over-aggressive vendor bashing in Syslog.xs
Message ID:
200004142011.QAA14325@kaze.fmr.com
This is a bug report for perl from John.Redford@fmr.com,
generated with the help of perlbug 1.28 running under perl v5.6.0.


-----------------------------------------------------------------
[Please enter your report here]

The "Your vendor has not defined the Sys::Syslog macro ..." messages in
Syslog.xs are over the top. I was just trying to re-build Net-Daemon, and
it has code which checks for the existance of _PATH_LOG. Well, with the
code in Syslog.xs, even checking to see if something is defined causes
this message to be croaked.

The only way to avoid the croaking would be for code to only mention
_PATH_LOG if it could somehow know beforehand it was enabled on the
platform it was run on. How the heck is that supposed to happen?

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=high
---
Site configuration information for perl v5.6.0:

Configured by mgs at Wed Mar 29 19:52:54 EST 2000.

Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=solaris, osvers=2.6, archname=sun4-solaris
    uname='sunos kaze 5.6 generic_105181-11 sun4u sparc '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define 
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='gcc', optimize='-g -O2', gccversion=2.95.2 19991024 (release)
    cppflags='-DDEBUGGING -fno-strict-aliasing'
    ccflags ='-DDEBUGGING -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    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 =' '
    libpth=/lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -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'

Locally applied patches:
    

---
@INC for perl v5.6.0:
    /mgs/sw/lib/perl5/5.6.0/sun4-solaris
    /mgs/sw/lib/perl5/5.6.0
    /mgs/sw/lib/perl5/site_perl/5.6.0/sun4-solaris
    /mgs/sw/lib/perl5/site_perl/5.6.0
    /mgs/sw/lib/perl5/site_perl
    .

---
Environment for perl v5.6.0:
    HOME=/mgs/home/mgs
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH=/mgs/sw/lib:/mgs/appl/sybase/ase/11.9.2/lib:/krb5/lib
    LOGDIR (unset)
    PATH=/mgs/sw/bin:/mgs/sw/sbin:/mgs/appl/sybase/ase/11.9.2/bin:/krb5/bin:/usr/bin:/usr/sbin:/usr/ccs/bin
    PERL_BADLANG (unset)
    SHELL=/bin/sh

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