[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

BUG REPORT: Website META Language 2.0.2200007241800 (22-Jun-2000)

__        ___  __ _     
\ \      / / \/  | |      Website META Language
 \ \ /\ / / |\/| | |      Version 2.0.2200007241800 (22-Jun-2000)
  \ V  V /| |  | | |___ 
   \_/\_/ |_|  |_|_____|  BUG REPORT

From:     Rolf Herzog
Reply-To: her@gmx.de

wml 2.0.2 and higher (snapshot) doesn't compile with ActivePerl 5.6 build 616.
The build stopped with this error message:

eperl_perl5.c: In function `Perl5_XSInit':
eperl_perl5.c:58: `my_perl' undeclared (first use in this function)
eperl_perl5.c:58: (Each undeclared identifier is reported only once
eperl_perl5.c:58: for each function it appears in.)
eperl_perl5.c:58: warning: passing arg 3 of `Perl_newXS' from incompatible pointer type
eperl_perl5.c: In function `Perl5_ForceUnbufferedStdout':
eperl_perl5.c:70: `my_perl' undeclared (first use in this function)
eperl_perl5.c: In function `Perl5_SetScalar':
eperl_perl5.c:98: `my_perl' undeclared (first use in this function)
make[2]: *** [eperl_perl5.o] Error 1
make[2]: Leaving directory `/usr/local/src/wml-2.0.2/wml_backend/p3_eperl'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/usr/local/src/wml-2.0.2/wml_backend'
make: *** [all] Error 1

After I applied this patch, all worked fine.

--- /usr/local/src/wml-2.0.2/wml_backend/p3_eperl/eperl_perl5.h Tue Jun  8 12:12
:53 1999
+++ eperl_perl5.h       Mon Jul 24 22:02:29 2000
@@ -39,7 +39,8 @@
 /*  first include the standard Perl 
     includes designed for embedding   */
 #include <EXTERN.h>
-#include <perl.h>                 
+#include <perl.h>  
+#include <XSUB.h>               
 #include "ppport.h"

Used WML System:
Built Environment:
    Host: i686-pc-linux-gnu2
    Perl: 5.006 (/usr/local/ActivePerl-5.6/bin/perl)
    User: rolf@freeman.gun.de
    Date: 24-Jul-2000
Built Location:
    Prefix: /usr/local
    BinDir: /usr/local/bin
    LibDir: /usr/local/lib/wml
    ManDir: /usr/local/man

Used Perl System:
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
    osname=linux, osvers=2.2.15, archname=i686-linux-thread-multi
    uname='linux churn.activestate.com 2.2.15 #1 smp thu may 25 03:22:16 pdt 2000 i686 unknown '
    config_args='-des -Dcc=gcc -Dcf_email=ActivePerl@ActiveState.com -Uinstallusrbinperl -Dusethreads -Duseithreads -Dprefix=/usr/local/ActivePerl-5.6'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
    useperlio=undef d_sfio=undef uselargefiles=define 
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
    cc='gcc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
    cppflags='-D_REENTRANT -fno-strict-aliasing'
    ccflags ='-D_REENTRANT -fno-strict-aliasing -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', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -ldl -lm -lpthread -lc -lposix -lcrypt
    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'

Characteristics of this binary (from libperl): 
  Locally applied patches:
  	ActivePerl Build 616
  Built under linux
  Compiled at Jul 14 2000 19:10:31
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com