You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Doug MacEachern <do...@covalent.net> on 2001/01/26 08:26:19 UTC

1.25-tobe

i'd like to release 1.25 tommorrow, i do not plan on making any other
changes unless a showshopper pops up.
if anybody can test the current cvs or this snapshot:
http://perl.apache.org/~dougm/mod_perl-1.24_02-dev.tar.gz

and pass along test results, perl -V and Makefile.PL args, that would be
great, more combos the better.  if there's lots of good test results when
i wake up, i'd feel good about releasing right away.  otherwise, i will
have todo lots of testing myself, might get distracted and not release
till next week, etc.
thanks :)


Re: 1.25-tobe

Posted by "Bruce W. Hoylman" <bh...@qwest.com>.
Even the perlrun test passes this time!  All appears OK.
Configuration:

Makefile.PL args from makepl_args.mod_perl:

APACHE_PREFIX=/www
APACHE_SRC=/www/src/apache-1.3_20010125111201/src
DO_HTTPD=1
USE_APACI=1
EVERYTHING=1
APACI_ARGS=--mandir=/u/stuff/man,--prefix=/www,--enable-module=most,--with-layout=GNU
 
PERL_DEBUG=1
PERL_MARK_WHERE=1

Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=solaris, osvers=2.6, archname=sun4-solaris
    uname='sunos bubbles 5.6 generic_105181-21 sun4u sparc '
    config_args=''
    hint=previous, 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='-O', gccversion=2.95.2 19991024 (release)
    cppflags='-fno-strict-aliasing -I/opt/gnu/include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    ccflags ='-fno-strict-aliasing -I/opt/gnu/include -I/usr/local/include -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 =' -L/opt/gnu/lib -L/usr/local/lib '
    libpth=/opt/gnu/lib /usr/local/lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldb -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 -L/opt/gnu/lib -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES
  Built under solaris
  Compiled at Dec  1 2000 17:58:50
  %ENV:
    PERLROOT="/opt/gnu/lib/perl5/5.6.0"
    PERL_ORACLE_HOME="/db02/orasw/app/oracle/product/8.1.6"
  @INC:
    /opt/gnu/lib/perl5/5.6.0/sun4-solaris
    /opt/gnu/lib/perl5/5.6.0
    /opt/gnu/lib/perl5/site_perl/5.6.0/sun4-solaris
    /opt/gnu/lib/perl5/site_perl/5.6.0
    /opt/gnu/lib/perl5/site_perl/5.005/sun4-solaris
    /opt/gnu/lib/perl5/site_perl/5.005
    /opt/gnu/lib/perl5/site_perl
    .

Re: 1.25-tobe

Posted by Matt Sergeant <ma...@sergeant.org>.
On Thu, 25 Jan 2001, Doug MacEachern wrote:

> i'd like to release 1.25 tommorrow, i do not plan on making any other
> changes unless a showshopper pops up.
> if anybody can test the current cvs or this snapshot:
> http://perl.apache.org/~dougm/mod_perl-1.24_02-dev.tar.gz
>
> and pass along test results, perl -V and Makefile.PL args, that would be
> great, more combos the better.  if there's lots of good test results when
> i wake up, i'd feel good about releasing right away.  otherwise, i will
> have todo lots of testing myself, might get distracted and not release
> till next week, etc.
> thanks :)

Working fine for me - Take23 and axkit.org running smoothly through the
upgrade.

Used my standard template for compiling mod_perl:

 $ perl Makefile.PL \
 > EVERYTHING=1 \
 > USE_APACI=1 \
 > DYNAMIC=1 \
 > APACHE_PREFIX=/opt/apache \
 > APACHE_SRC=../apache_1.3.12/src \
 > DO_HTTPD=1 \
 > APACI_ARGS="--enable-module=so --enable-shared=info
 > --enable-shared=proxy --enable-shared=rewrite
 > --enable-shared=log_agent"
 $ make
 $ su
 $ make install


# perl -V
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=linux, osvers=2.2.15-4mdk, archname=i386-linux
    uname='linux updates.mandrakesoft.com 2.2.15-4mdk #1 wed may 10
15:31:30 cest 2000 i686 unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O3 -fomit-frame-pointer -fno-exceptions -fno-rtti
-pipe -s -mpentium -mcpu=pentium -march=pentium -ffast-math
-fexpensive-optimizations', gccversion=2.95.2 19991024 (release)
    cppflags='-Dbool=char -DHAS_BOOL'
    ccflags ='-Dbool=char -DHAS_BOOL'
    stdchar='char', d_stdstdio=undef, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    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 -ldl -lm -lc -lposix -lcrypt
    libc=, 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):
  Built under linux
  Compiled at Aug  7 2000 12:43:52
  @INC:
    /usr/lib/perl5/5.00503/i386-linux
    /usr/lib/perl5/5.00503
    /usr/lib/perl5/site_perl/5.005/i386-linux
    /usr/lib/perl5/site_perl/5.005
    .



-- 
<Matt/>

    /||    ** Director and CTO **
   //||    **  AxKit.com Ltd   **  ** XML Application Serving **
  // ||    ** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // **     Personal Web Site: http://sergeant.org/     **
     \\//
     //\\
    //  \\


Re: 1.25-tobe

Posted by Eric Cholet <ch...@logilune.com>.
On 01/25/01 23:26:19 -0800 Doug MacEachern mumbled:
> i'd like to release 1.25 tommorrow, i do not plan on making any other
> changes unless a showshopper pops up.
> if anybody can test the current cvs or this snapshot:
> http://perl.apache.org/~dougm/mod_perl-1.24_02-dev.tar.gz
>
> and pass along test results, perl -V and Makefile.PL args, that would be

Working fine here too using my standard compile script with latest cvs
of mod_perl, apache and php.

% perl Makefile.PL APACHE_SRC=../apache-1.3/src NO_HTTPD=1 \
                 USE_APACI=1 PREP_HTTPD=1 EVERYTHING=1


# perl -V

Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=freebsd, osvers=4.1-release, archname=i386-freebsd
    uname='freebsd artemis.logilune.com 4.1-release freebsd 4.1-release #0: 
fri jul 28 14:30:31 gmt 2000 jkh@ref4.freebsd.org:usrsrcsyscompilegeneric 
i386 '
    config_args='-de'
    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='cc', optimize='-O', gccversion=2.95.2 19991024 (release)
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccflags ='-fno-strict-aliasing -I/usr/local/include'
    stdchar='char', d_stdstdio=undef, usevfork=true
    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='cc', ldflags ='-Wl,-E  -L/usr/local/lib'
    libpth=/usr/lib /usr/local/lib
    libs=-lm -lc -lcrypt
    libc=, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-DPIC -fpic', lddlflags='-shared  -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: USE_LARGE_FILES
  Built under freebsd
  Compiled at Nov 24 2000 17:27:13
  %ENV:
    PERL5LIB="/usr/local/www/modules"
  @INC:
    /usr/local/www/modules
    /usr/local/lib/perl5/5.6.0/i386-freebsd
    /usr/local/lib/perl5/5.6.0
    /usr/local/lib/perl5/site_perl/5.6.0/i386-freebsd
    /usr/local/lib/perl5/site_perl/5.6.0
    /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
    /usr/local/lib/perl5/site_perl/5.005
    /usr/local/lib/perl5/site_perl
    .

--
Eric


Re: 1.25-tobe

Posted by sterling <st...@covalent.net>.
redhat 7 looks good to me
current cvs of apache-1.3 and modperl

perl Makefile.PL EVERYTHING=1

[Fri Jan 26 12:34:25 2001] [notice] Apache/1.3.17-dev 
(Unix) mod_perl/1.24_02-dev configured -- resuming normal operations


[sterling@thresher ~]$ perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.2.5-22smp, archname=i386-linux
    uname='linux porky.devel.redhat.com 2.2.5-22smp #1 smp wed jun 2
09:11:51 edt 1999 i686 unknown '
    config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -Dcc=gcc
-Dcccdlflags=-fPIC -Dinstallprefix=/usr -Dprefix=/usr
-Darchname=i386-linux -Dd_dosuid -Dd_semctl_semun -Di_db -Di_ndbm -Di_gdbm
-Di_shadow -Di_syslog -Dman3ext=3pm -Uuselargefiles'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=undef 
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='gcc', optimize='-O2 -march=i386 -mcpu=i686', gccversion=2.96
20000731 (experimental)
    cppflags='-fno-strict-aliasing'
    ccflags ='-fno-strict-aliasing'
    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=4
    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 -lc -lcrypt
    libc=/lib/libc-2.1.92.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): 
  Compile-time options:
  Built under linux
  Compiled at Aug  7 2000 10:59:51
  @INC:
    /usr/lib/perl5/5.6.0/i386-linux
    /usr/lib/perl5/5.6.0
    /usr/lib/perl5/site_perl/5.6.0/i386-linux
    /usr/lib/perl5/site_perl/5.6.0
    /usr/lib/perl5/site_perl
    .



Re: 1.25-tobe

Posted by sterling <st...@covalent.net>.
runs fine on win2K (apache && modperl from current cvs) serves up
Apache::Status and a couple of other quick tests.
i'll check my redhat7 box next


sterling


Apache/1.3.17-dev (Win32) mod_perl/1.24_02-dev running...

Summary of my perl5 (revision 5 version 6 subversion 0) configuration:
  Platform:
    osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
    uname=''
    config_args='undef'
    hint=recommended, useposix=true, d_sigaction=undef
    usethreads=undef use5005threads=undef useithreads=define usemultiplicity=define
    useperlio=undef d_sfio=undef uselargefiles=undef 
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='cl', optimize='-O1 -MD -DNDEBUG', gccversion=
    cppflags='-DWIN32'
    ccflags ='-O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT  -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='link', ldflags ='-nologo -nodefaultlib -release  -libpath:"C:\Perl\lib\CORE"  -machine:x86'
    libpth="C:\Perl\lib\CORE"
    libs=  oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib  comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib  netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib msvcrt.lib
    libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl56.lib
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release  -libpath:"C:\Perl\lib\CORE"  -machine:x86'


Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY USE_ITHREADS PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
  Locally applied patches:
  	ActivePerl Build 613
  Built under MSWin32
  Compiled at Mar 24 2000 12:36:25
  @INC:
    c:/perl/lib
    c:/perl/site/lib
    .



Re: 1.25-tobe

Posted by Ken Williams <ke...@forum.swarthmore.edu>.
Duh, the second failure was because the Apache.c file was only halfway
created on the first run.  So the real problem is some memory fault
while creating Apache.c from Apache.xs.


ken@forum.swarthmore.edu (Ken Williams) wrote:
>dougm@covalent.net (Doug MacEachern) wrote:
>>i'd like to release 1.25 tommorrow, i do not plan on making any other
>>changes unless a showshopper pops up.
>>if anybody can test the current cvs or this snapshot:
>>http://perl.apache.org/~dougm/mod_perl-1.24_02-dev.tar.gz
>
>With a freshly downloaded apache 1.3.14, I did "perl Makefile.PL
>EVERYTHING=1".  First time through I got this:
>
>....
>===> modules/perl
>cc -I. -I../../include -I../../include/regex -I../../include/.././os/unix
>-DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -std
>-D_INTRINSICS -I/usr/local/include -D__LANGUAGE_C__
>-I/usr/local/lib/perl5/alpha-dec_osf/5.00404/CORE -I. -I../.. -DUSE_PERL_SSI
>-DMOD_PERL  -I`/usr/local/bin/perl -MConfig -e 'print
>$Config{archlibexp}'`/CORE `/usr/local/bin/perl '-MApache::ExtUtils=%Config'
-e
>'print $Config{ccflags}'`                     
>-DMOD_PERL_VERSION=\"1.24_02-dev\"  -I./os/unix -I../../include     -c
>mod_perl_opmask.c -o mod_perl_opmask.o
>`/usr/local/bin/perl -MExtUtils::Embed -e xsinit -- -std  Apache
>Apache::Constants Apache::ModuleConfig Apache::Log Apache::URI Apache::Util
>Apache::Connection Apache::Server Apache::File Apache::Table` 
>/usr/local/bin/perl `/usr/local/bin/perl -MConfig -e 'print
>$Config{privlibexp}'`/ExtUtils/xsubpp -typemap `/usr/local/bin/perl -MConfig
-e
>'print $Config{privlibexp}'`/ExtUtils/typemap Apache.xs > Apache.c
>/bin/sh: 306636 Memory fault
>make[3]: *** [Apache.c] Error 139
>make[2]: *** [all] Error 1
>make[1]: *** [subdirs] Error 1
>make[1]: Leaving directory `/home/ken/downloads/apache_1.3.14/src'
>make: *** [apache_httpd] Error 2
>
>
>Then I immediately did 'make test' again and got further, but got killed
>here:
>
>
>
>....
>cc -I. -I../../include -I../../include/regex -I../../include/.././os/unix
>-DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -std
>-D_INTRINSICS -I/usr/local/include -D__LANGUAGE_C__
>-I/usr/local/lib/perl5/alpha-dec_osf/5.00404/CORE -I. -I../.. -DUSE_PERL_SSI
>-DMOD_PERL  -I`/usr/local/bin/perl -MConfig -e 'print
>$Config{archlibexp}'`/CORE `/usr/local/bin/perl '-MApache::ExtUtils=%Config'
-e
>'print $Config{ccflags}'`                     
>-DMOD_PERL_VERSION=\"1.24_02-dev\"  -I./os/unix -I../../include     -c
Apache.c
>-o Apache.o
>cc: Error: Apache.xs, line 1863: Missing right parenthesis for macro argument
>list. (noparenarglst)
>    get_set_PVp(r->content_la
>----------------^
>cc: Error: Apache.xs, line 1863: Invalid expression. (badexpr)
>    get_set_PVp(r->content_la
>----^
>cc: Error: Apache.xs, line 1863: Invalid statement. (badstmt)
>    get_set_PVp(r->content_la
>----^
>cc: Error: Apache.xs, line 1863: Invalid statement. (badstmt)
>    get_set_PVp(r->content_la
>-----------------------------^
>make[3]: *** [Apache.o] Error 1
>make[2]: *** [all] Error 1
>make[1]: *** [subdirs] Error 1
>make[1]: Leaving directory `/home/ken/downloads/apache_1.3.14/src'
>make: *** [apache_httpd] Error 2
>
>
>That seems to be where things are stuck now.
>
>
>
>Summary of my perl5 (5.0 patchlevel 4 subversion 4) configuration:
>  Platform:
>    osname=dec_osf, osvers=4.0, archname=alpha-dec_osf
>    uname='osf1 forum.swarthmore.edu v4.0 564 alpha '
>    hint=previous, useposix=true, d_sigaction=define
>    bincompat3=n useperlio=undef d_sfio=undef
>  Compiler:
>    cc='cc', optimize='-O4', gccversion=
>    cppflags='-std -D_INTRINSICS -I/usr/local/include -D__LANGUAGE_C__'
>    ccflags ='-std -D_INTRINSICS -I/usr/local/include -D__LANGUAGE_C__'
>    stdchar='unsigned char', d_stdstdio=define, usevfork=false
>    voidflags=15, castflags=0, d_casti32=define, d_castneg=define
>    intsize=4, alignbytes=8, usemymalloc=y, prototype=define
>  Linker and Libraries:
>    ld='ld', ldflags =' -L/usr/local/lib'
>    libpth=/usr/local/lib /usr/shlib /shlib /lib /usr/lib /usr/ccs/lib
>    libs=-ldbm -ldb -lm
>    libc=/usr/shlib/libc.so, so=so
>    useshrplib=false, libperl=libperl.a
>  Dynamic Linking:
>    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
>    cccdlflags=' ', lddlflags='-shared -expect_unresolved "*" -O4 -msym -s
>-L/usr/local/lib'
>
>
>Characteristics of this binary (from libperl): 
>  Built under dec_osf
>  Compiled at Mar 24 1998 19:54:17
>  @INC:
>    /usr/local/lib/perl5/alpha-dec_osf/5.00404
>    /usr/local/lib/perl5
>    /usr/local/lib/perl5/site_perl/alpha-dec_osf
>    /usr/local/lib/perl5/site_perl
>    .
>
>
>
>Am I missing a required version of something?
>
>Unfortunately I'm going to be away from my computer all day today, so I
>won't be able to help track down the problem.
>
>
>  -------------------                            -------------------
>  Ken Williams                             Last Bastion of Euclidity
>  ken@forum.swarthmore.edu                            The Math Forum
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
>For additional commands, e-mail: dev-help@perl.apache.org
>
>

  -------------------                            -------------------
  Ken Williams                             Last Bastion of Euclidity
  ken@forum.swarthmore.edu                            The Math Forum

Re: 1.25-tobe

Posted by Ken Williams <ke...@forum.swarthmore.edu>.
Finally found some time to test this.  The Apache.xs -> Apache.c
translation now works fine, but the 'make test' phase doesn't get very
far through the tests.  The server process just seems to die after
serving a few requests, somewhere after 'modules/embperl' and before
'modules/file'. 

Here's the error_log:

----------------------------------
Server is not starting !?
Subroutine main::pid redefined at /home/ken/modperl/t//docs/startup.pl line 103.
Subroutine main::access redefined at /home/ken/modperl/t//docs/startup.pl line 104.
Subroutine Outside::code redefined at /home/ken/modperl/t//docs/startup.pl line 108.
Subroutine PerlTransHandler::handler redefined at /home/ken/modperl/t//docs/startup.pl line 114.
Subroutine MyClass::method redefined at /home/ken/modperl/t//docs/startup.pl line 121.
Subroutine BaseClass::handler redefined at /home/ken/modperl/t//docs/startup.pl line 127.
Subroutine My::child_init redefined at /home/ken/modperl/t//docs/startup.pl line 145.
Subroutine My::child_exit redefined at /home/ken/modperl/t//docs/startup.pl line 155.
Subroutine My::restart redefined at /home/ken/modperl/t//docs/startup.pl line 159.
Subroutine Apache::AuthenTest::handler redefined at /home/ken/modperl/t//docs/startup.pl line 167.
Subroutine My::DirIndex::handler redefined at /home/ken/modperl/t//docs/startup.pl line 189.
Subroutine My::ProxyTest::handler redefined at /home/ken/modperl/t//docs/startup.pl line 207.
Subroutine handler redefined at /home/ken/modperl/t//docs/startup.pl line 241.
Subroutine new redefined at /home/ken/modperl/t//docs/startup.pl line 263.
Subroutine DESTROY redefined at /home/ken/modperl/t//docs/startup.pl line 265.
[notice] Destruction->DESTROY called for $global_object
Subroutine handler redefined at /home/ken/modperl/t//docs/stacked.pl line 6.
Subroutine one redefined at /home/ken/modperl/t//docs/stacked.pl line 14.
Subroutine two redefined at /home/ken/modperl/t//docs/stacked.pl line 25.
Subroutine three redefined at /home/ken/modperl/t//docs/stacked.pl line 31.
Subroutine four redefined at /home/ken/modperl/t//docs/stacked.pl line 37.
[notice] Destruction->DESTROY called for $global_object
Constant subroutine OK redefined at /home/ken/modperl/blib/lib/mod_perl.pm line 65535.
Constant subroutine DECLINED redefined at /home/ken/modperl/blib/lib/Apache/Constants.pm line 65535.
Constant subroutine DONE redefined at /home/ken/modperl/blib/lib/Apache/Constants.pm line 65535.
Constant subroutine NOT_FOUND redefined at /home/ken/modperl/blib/lib/Apache/Constants.pm line 65535.
Constant subroutine FORBIDDEN redefined at /home/ken/modperl/blib/lib/Apache/Constants.pm line 65535.
Constant subroutine AUTH_REQUIRED redefined at /home/ken/modperl/blib/lib/Apache/Constants.pm line 65535.
Constant subroutine SERVER_ERROR redefined at /home/ken/modperl/blib/lib/Apache/Constants.pm line 65535.
Constant subroutine WIN32 redefined at /home/ken/modperl/blib/lib/Apache/test.pm line 34.
Constant subroutine RC_CONTINUE redefined at (eval 141) line 1.
Constant subroutine RC_SWITCHING_PROTOCOLS redefined at (eval 141) line 2.
Constant subroutine RC_OK redefined at (eval 141) line 3.
Constant subroutine RC_CREATED redefined at (eval 141) line 4.
Constant subroutine RC_MULTIPLE_CHOICES redefined at (eval 141) line 5.
Constant subroutine RC_BAD_REQUEST redefined at (eval 141) line 6.
Constant subroutine RC_ACCEPTED redefined at (eval 141) line 7.
Constant subroutine RC_MOVED_PERMANENTLY redefined at (eval 141) line 8.
Constant subroutine RC_INTERNAL_SERVER_ERROR redefined at (eval 141) line 9.
Constant subroutine RC_GONE redefined at (eval 141) line 10.
Constant subroutine RC_UNAUTHORIZED redefined at (eval 141) line 11.
Constant subroutine RC_NON_AUTHORITATIVE_INFORMATION redefined at (eval 141) line 12.
Constant subroutine RC_FOUND redefined at (eval 141) line 13.
Constant subroutine RC_NOT_IMPLEMENTED redefined at (eval 141) line 14.
Constant subroutine RC_LENGTH_REQUIRED redefined at (eval 141) line 15.
Constant subroutine RC_PAYMENT_REQUIRED redefined at (eval 141) line 16.
Constant subroutine RC_NO_CONTENT redefined at (eval 141) line 17.
Constant subroutine RC_SEE_OTHER redefined at (eval 141) line 18.
Constant subroutine RC_BAD_GATEWAY redefined at (eval 141) line 19.
Constant subroutine RC_PRECONDITION_FAILED redefined at (eval 141) line 20.
Constant subroutine RC_FORBIDDEN redefined at (eval 141) line 21.
Constant subroutine RC_RESET_CONTENT redefined at (eval 141) line 22.
Constant subroutine RC_NOT_MODIFIED redefined at (eval 141) line 23.
Constant subroutine RC_SERVICE_UNAVAILABLE redefined at (eval 141) line 24.
Constant subroutine RC_REQUEST_ENTITY_TOO_LARGE redefined at (eval 141) line 25.
Constant subroutine RC_NOT_FOUND redefined at (eval 141) line 26.
Constant subroutine RC_PARTIAL_CONTENT redefined at (eval 141) line 27.
Constant subroutine RC_USE_PROXY redefined at (eval 141) line 28.
Constant subroutine RC_GATEWAY_TIMEOUT redefined at (eval 141) line 29.
Constant subroutine RC_REQUEST_URI_TOO_LARGE redefined at (eval 141) line 30.
Constant subroutine RC_METHOD_NOT_ALLOWED redefined at (eval 141) line 31.
Constant subroutine RC_HTTP_VERSION_NOT_SUPPORTED redefined at (eval 141) line 32.
Constant subroutine RC_UNSUPPORTED_MEDIA_TYPE redefined at (eval 141) line 33.
Constant subroutine RC_NOT_ACCEPTABLE redefined at (eval 141) line 34.
Constant subroutine RC_TEMPORARY_REDIRECT redefined at (eval 141) line 35.
Constant subroutine RC_REQUEST_RANGE_NOT_SATISFIABLE redefined at (eval 141) line 36.
Constant subroutine RC_PROXY_AUTHENTICATION_REQUIRED redefined at (eval 141) line 37.
Constant subroutine RC_EXPECTATION_FAILED redefined at (eval 141) line 38.
Constant subroutine RC_REQUEST_TIMEOUT redefined at (eval 141) line 39.
Constant subroutine RC_CONFLICT redefined at (eval 141) line 40.
Constant subroutine RC_MOVED_TEMPORARILY redefined at /usr/local/lib/perl5/site_perl/HTTP/Status.pm line 154.
[Thu Feb  1 00:33:11 2001] [warn] [notice] child_init for process 174188, report any problems to [no address given]

[Thu Feb  1 00:33:49 2001] [error]      (in cleanup) Insecure dependency in unlink while running with -T switch at (eval 1
69) line 3, <b> chunk 1.

----------------------------------

The on-screen test output is a big mess, because the server is gone by
the 'modules/file' test.


dougm@covalent.net (Doug MacEachern) wrote:
>ok, here's a fix to make 5.004_04 happy..
>

  -------------------                            -------------------
  Ken Williams                             Last Bastion of Euclidity
  ken@forum.swarthmore.edu                            The Math Forum

Re: 1.25-tobe

Posted by Doug MacEachern <do...@covalent.net>.
ok, here's a fix to make 5.004_04 happy..

Index: src/modules/perl/Makefile
===================================================================
RCS file: /home/cvs/modperl/src/modules/perl/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- src/modules/perl/Makefile	2001/01/26 16:42:49	1.13
+++ src/modules/perl/Makefile	2001/01/29 18:06:11
@@ -129,7 +129,7 @@
 	$(XS_INIT) 
 
 .xs.c:
-	$(PERL) $(PRIVLIB)/ExtUtils/xsubpp -typemap $(PRIVLIB)/ExtUtils/typemap $*.xs > $@
+	$(PERL) $(PRIVLIB)/ExtUtils/xsubpp -nolinenumbers -typemap $(PRIVLIB)/ExtUtils/typemap $*.xs > $@
 
 PERLSRC=mod_perl_opmask.c mod_perl.c perlxsi.c perl_config.c perl_util.c perlio.c $(STATIC_SRC)
 



Re: 1.25-tobe

Posted by Doug MacEachern <do...@covalent.net>.
i can reproduce this with 5.004_04.  the problem isn't related to the
PERL5LIB stuff, seems more like a bug with 5.004_04.  if i drop in the
Apache.xs from 1.24_01 all is well and i'm pretty sure the reason is just
that 1.24_01's is smaller.  i'll sort it out somehow.



Re: 1.25-tobe

Posted by Doug MacEachern <do...@covalent.net>.
On Fri, 26 Jan 2001, Ken Williams wrote:
 
> That doesn't seem to do it for me, I still get the same error and it
> craps out halfway through building Apache.c.

looking closer at your error messages, seems what i saw is different from
your problem.  the line that your make is crapping out on hasn't changed
for years, only suspect is the PERL5LIB that is now being passed around.
does this patch help at all?
and, any difference if you add USE_APACI=1 to Makefile.PL args?
i also just noticed you're using 5.004_04, i'll see if i can reproduce
with that.

Index: src/modules/perl/Makefile
===================================================================
RCS file: /home/cvs/modperl/src/modules/perl/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- src/modules/perl/Makefile	2001/01/26 16:42:49	1.13
+++ src/modules/perl/Makefile	2001/01/29 17:19:57
@@ -129,7 +129,7 @@
 	$(XS_INIT) 
 
 .xs.c:
-	$(PERL) $(PRIVLIB)/ExtUtils/xsubpp -typemap $(PRIVLIB)/ExtUtils/typemap $*.xs > $@
+	PERL5LIB="" $(PERL) $(PRIVLIB)/ExtUtils/xsubpp -typemap $(PRIVLIB)/ExtUtils/typemap $*.xs > $@
 
 PERLSRC=mod_perl_opmask.c mod_perl.c perlxsi.c perl_config.c perl_util.c perlio.c $(STATIC_SRC)
 


Re: 1.25-tobe

Posted by Ken Williams <ke...@forum.swarthmore.edu>.
dougm@covalent.net (Doug MacEachern) wrote:
>On Fri, 26 Jan 2001, Ken Williams wrote:
>
>> With a freshly downloaded apache 1.3.14, I did "perl Makefile.PL
>> EVERYTHING=1".  First time through I got this:
>
>ok, i see the problem (USE_APACI=1 hid it for me).  patch below should
>fix, you can also just run
>perl -pi -e 's/PERL5LIB/PRIVLIB/g' apache_x.xx/src/modules/perl/Makefile
>
>and re-run make && make test
>thanks ken.


That doesn't seem to do it for me, I still get the same error and it
craps out halfway through building Apache.c.


  -------------------                            -------------------
  Ken Williams                             Last Bastion of Euclidity
  ken@forum.swarthmore.edu                            The Math Forum

Re: 1.25-tobe

Posted by Doug MacEachern <do...@covalent.net>.
On Fri, 26 Jan 2001, Ken Williams wrote:

> With a freshly downloaded apache 1.3.14, I did "perl Makefile.PL
> EVERYTHING=1".  First time through I got this:

ok, i see the problem (USE_APACI=1 hid it for me).  patch below should
fix, you can also just run
perl -pi -e 's/PERL5LIB/PRIVLIB/g' apache_x.xx/src/modules/perl/Makefile

and re-run make && make test
thanks ken.

Index: src/modules/perl/Makefile
===================================================================
RCS file: /home/cvs/modperl/src/modules/perl/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- src/modules/perl/Makefile	2000/12/23 02:23:09	1.12
+++ src/modules/perl/Makefile	2001/01/26 16:38:39
@@ -102,7 +102,7 @@
 #APACHE_SSL = 
 PERL=/usr/bin/perl
 PERL_STATIC_EXTS =
-PERL5LIB=`$(PERL) -MConfig -e 'print $$Config{privlibexp}'`
+PRIVLIB=`$(PERL) -MConfig -e 'print $$Config{privlibexp}'`
 EXTUTILS_EMBED = $(PERL) -MExtUtils::Embed
 #CONFIG_PM=-MConfig
 CONFIG_PM='-MApache::ExtUtils=%Config'
@@ -129,7 +129,7 @@
 	$(XS_INIT) 
 
 .xs.c:
-	$(PERL) $(PERL5LIB)/ExtUtils/xsubpp -typemap $(PERL5LIB)/ExtUtils/typemap $*.xs > $@
+	$(PERL) $(PRIVLIB)/ExtUtils/xsubpp -typemap $(PRIVLIB)/ExtUtils/typemap $*.xs > $@
 
 PERLSRC=mod_perl_opmask.c mod_perl.c perlxsi.c perl_config.c perl_util.c perlio.c $(STATIC_SRC)
 


Re: 1.25-tobe

Posted by Ken Williams <ke...@forum.swarthmore.edu>.
dougm@covalent.net (Doug MacEachern) wrote:
>i'd like to release 1.25 tommorrow, i do not plan on making any other
>changes unless a showshopper pops up.
>if anybody can test the current cvs or this snapshot:
>http://perl.apache.org/~dougm/mod_perl-1.24_02-dev.tar.gz

With a freshly downloaded apache 1.3.14, I did "perl Makefile.PL
EVERYTHING=1".  First time through I got this:

...
===> modules/perl
cc -I. -I../../include -I../../include/regex -I../../include/.././os/unix
-DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -std
-D_INTRINSICS -I/usr/local/include -D__LANGUAGE_C__
-I/usr/local/lib/perl5/alpha-dec_osf/5.00404/CORE -I. -I../.. -DUSE_PERL_SSI
-DMOD_PERL  -I`/usr/local/bin/perl -MConfig -e 'print
$Config{archlibexp}'`/CORE `/usr/local/bin/perl '-MApache::ExtUtils=%Config' -e
'print $Config{ccflags}'`                     
-DMOD_PERL_VERSION=\"1.24_02-dev\"  -I./os/unix -I../../include     -c
mod_perl_opmask.c -o mod_perl_opmask.o
`/usr/local/bin/perl -MExtUtils::Embed -e xsinit -- -std  Apache
Apache::Constants Apache::ModuleConfig Apache::Log Apache::URI Apache::Util
Apache::Connection Apache::Server Apache::File Apache::Table` 
/usr/local/bin/perl `/usr/local/bin/perl -MConfig -e 'print
$Config{privlibexp}'`/ExtUtils/xsubpp -typemap `/usr/local/bin/perl -MConfig -e
'print $Config{privlibexp}'`/ExtUtils/typemap Apache.xs > Apache.c
/bin/sh: 306636 Memory fault
make[3]: *** [Apache.c] Error 139
make[2]: *** [all] Error 1
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/ken/downloads/apache_1.3.14/src'
make: *** [apache_httpd] Error 2


Then I immediately did 'make test' again and got further, but got killed
here:



...
cc -I. -I../../include -I../../include/regex -I../../include/.././os/unix
-DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -std
-D_INTRINSICS -I/usr/local/include -D__LANGUAGE_C__
-I/usr/local/lib/perl5/alpha-dec_osf/5.00404/CORE -I. -I../.. -DUSE_PERL_SSI
-DMOD_PERL  -I`/usr/local/bin/perl -MConfig -e 'print
$Config{archlibexp}'`/CORE `/usr/local/bin/perl '-MApache::ExtUtils=%Config' -e
'print $Config{ccflags}'`                     
-DMOD_PERL_VERSION=\"1.24_02-dev\"  -I./os/unix -I../../include     -c Apache.c
-o Apache.o
cc: Error: Apache.xs, line 1863: Missing right parenthesis for macro argument
list. (noparenarglst)
    get_set_PVp(r->content_la
----------------^
cc: Error: Apache.xs, line 1863: Invalid expression. (badexpr)
    get_set_PVp(r->content_la
----^
cc: Error: Apache.xs, line 1863: Invalid statement. (badstmt)
    get_set_PVp(r->content_la
----^
cc: Error: Apache.xs, line 1863: Invalid statement. (badstmt)
    get_set_PVp(r->content_la
-----------------------------^
make[3]: *** [Apache.o] Error 1
make[2]: *** [all] Error 1
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/ken/downloads/apache_1.3.14/src'
make: *** [apache_httpd] Error 2


That seems to be where things are stuck now.



Summary of my perl5 (5.0 patchlevel 4 subversion 4) configuration:
  Platform:
    osname=dec_osf, osvers=4.0, archname=alpha-dec_osf
    uname='osf1 forum.swarthmore.edu v4.0 564 alpha '
    hint=previous, useposix=true, d_sigaction=define
    bincompat3=n useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O4', gccversion=
    cppflags='-std -D_INTRINSICS -I/usr/local/include -D__LANGUAGE_C__'
    ccflags ='-std -D_INTRINSICS -I/usr/local/include -D__LANGUAGE_C__'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=0, d_casti32=define, d_castneg=define
    intsize=4, alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /usr/shlib /shlib /lib /usr/lib /usr/ccs/lib
    libs=-ldbm -ldb -lm
    libc=/usr/shlib/libc.so, so=so
    useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-shared -expect_unresolved "*" -O4 -msym -s
-L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Built under dec_osf
  Compiled at Mar 24 1998 19:54:17
  @INC:
    /usr/local/lib/perl5/alpha-dec_osf/5.00404
    /usr/local/lib/perl5
    /usr/local/lib/perl5/site_perl/alpha-dec_osf
    /usr/local/lib/perl5/site_perl
    .



Am I missing a required version of something?

Unfortunately I'm going to be away from my computer all day today, so I
won't be able to help track down the problem.


  -------------------                            -------------------
  Ken Williams                             Last Bastion of Euclidity
  ken@forum.swarthmore.edu                            The Math Forum