This is a bug report for perl from [EMAIL PROTECTED], generated with the help of perlbug 1.34 running under perl v5.8.1.


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

The latest MakeMaker's xsubpp_version (from MM_Unix.pm) fails with the
latest maint perl-5.8.1 (works with 5.8.0). It generates a test .xs files which the latest maint perl doesn't like. Here is the generated file:


temp000
-------

MODULE = fred PACKAGE = fred

int
fred(a)
        int     a;

Here is the error:

perl -le 'qx[perl5.8.1 /home/stas/perl/5.8.1-ithread/lib/5.8.1/ExtUtils/xsubpp temp000]; print "failed" if $?'
Error: No INPUT definition for type 'int', typekind 'T_IV' found in temp000, line 5
Error: No OUTPUT definition for type 'int', typekind 'T_IV' found in temp000, line 5
Please specify prototyping behavior for temp000 (see perlxs manual)
failed


adding '-typemap
/home/stas/perl/5.8.1-ithread/lib/5.8.1/ExtUtils/typemap'
solves the problem, however I'll leave to Michael to decide how the
best to code that.

As I said, I'm using the latest snapshot as of 5 minutes ago:

perl5.8.1 -MExtUtils::MakeMaker -le 'print ExtUtils::MakeMaker->VERSION'
6.11


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

Configured by stas at Wed Jul 23 16:54:48 CEST 2003.

Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
Platform:
osname=linux, osvers=2.4.21-0.18mdkcustom, archname=i686-linux-thread-multi
uname='linux rabbit.stason.org 2.4.21-0.18mdkcustom #6 mon jun 16 16:26:34 est 2003 i686 unknown unknown gnulinux '
config_args='-des -Dprefix=/home/stas/perl/5.8.1-ithread -Dusethreads -Doptimize=-g -Duseshrplib -Dusedevel'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='-g',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)', 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, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.3.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/home/stas/perl/5.8.1-ithread/lib/5.8.1/i686-linux-thread-multi/CORE'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Locally applied patches:
    RC2

---
@INC for perl v5.8.1:
    /home/stas/perl/5.8.1-ithread/lib/5.8.1/i686-linux-thread-multi
    /home/stas/perl/5.8.1-ithread/lib/5.8.1
    /home/stas/perl/5.8.1-ithread/lib/site_perl/5.8.1/i686-linux-thread-multi
    /home/stas/perl/5.8.1-ithread/lib/site_perl/5.8.1
    /home/stas/perl/5.8.1-ithread/lib/site_perl
    .

---
Environment for perl v5.8.1:
    HOME=/home/stas
    LANG=en_AU
    LANGUAGE=en_AU:en_US:en
    LC_ADDRESS=en_AU
    LC_COLLATE=en_AU
    LC_CTYPE=en_AU
    LC_IDENTIFICATION=en_AU
    LC_MEASUREMENT=en_AU
    LC_MESSAGES=en_AU
    LC_MONETARY=en_AU
    LC_NAME=en_AU
    LC_NUMERIC=en_AU
    LC_PAPER=en_AU
    LC_TELEPHONE=en_AU
    LC_TIME=en_AU
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)

PATH=/usr//bin:/bin:/usr/bin:.:/usr/local/bin:/usr/X11R6/bin:/usr/games:/home/stas/bin:/home/stas/bin:/usr/local/bin:/usr/X11R6/bin:/usr/java/j2re1.4.0/bin/
    PERL_BADLANG (unset)
    SHELL=/bin/tcsh


__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com



Reply via email to