On Fri, 6 Jul 2001, Doug MacEachern wrote:

> this is a 1.26 canidate, test reports most appreciated as always..

 - Linux 2.2.19-4.1mdk i686 unknown.
 - perl 5.6.1
 - apache 1.20
 - mod_perl 1.25_01
 - perl Makefile.PL APACHE_SRC=../apache_1.3.20/src \
        DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 \
        APACHE_PREFIX=/home/httpd/httpd_perl \
        APACI_ARGS='--prefix=/home/httpd/httpd_perl --enable-module=info \
        --enable-module=rewrite --enable-module=proxy \
        --without-execstrip' \
        PERL_TRACE=1 PERL_DEBUG=1

all tests pass cleanly.

====================================

under bleed-perl (one week old compilation) (the rest is the same) there
are some problems: (perl build args are at the end of this post)

$ ./t/TEST -v modules/cgi
fails to start the server, whereas
$ make start_httpd
cp t/conf/mod_perl_srm.conf t/conf/srm.conf
../apache_1.3.20/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t &
httpd listening on port 8529
will write error_log to: t/logs/error_log
letting apache warm up...\c
done

(it reports 'done' even if it's failed to start the server, because there
was another server running already on the same port. try to run 'make
start_httpd' twice in a row and you will see)

$ more t/logs/error_log
[Sat Jul  7 20:55:01 2001] [crit] (98)Address already in use: make_sock:
could not bind to port 8529

------

./t/TEST -v modules/cgi
modules/cgi.........module CGI is installed
1..5
ok 1
ok 2
ok 3
ok 4 #(fileupload)
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>500 Internal Server Error</TITLE>
</HEAD><BODY>
<H1>Internal Server Error</H1>
The server encountered an internal error or
misconfiguration and was unable to complete
your request.<P>
Please contact the server administrator,
 [no address given] and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.<P>
More information about this error may be available
in the server error log.<P>
</BODY></HTML>
FAILED test 5
        Failed 1/5 tests, 80.00% okay
Failed Test   Status Wstat Total Fail  Failed  List of Failed
--------------------------------------------------------------------------------modules/cgi.t
5    1  20.00%  5
Failed 1/1 test scripts, 0.00% okay. 1/5 subtests failed, 80.00% okay.

reason:
[Sat Jul  7 20:57:02 2001] [error] (13)Permission denied: exec of
/usr/src/httpd_perl/mod_perl-1.25_01/t/net/perl/cgi.pl failed
[Sat Jul  7 20:57:02 2001] [error] [client 127.0.0.1] Premature end of
script headers: /usr/src/httpd_perl/mod_perl-1.25_01/t/net/perl/cgi.pl

but it shouldn't be a problem:

 ~stas/perl-bleed/bin/perl
/usr/src/httpd_perl/mod_perl-1.25_01/t/net/perl/cgi.pl
x-perl-script: cgi.pl
Content-Type: text/plain; charset=ISO-8859-1

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

./t/TEST -v modules/include
modules/include.....1..4
ok 1
ok 3
FAILED tests 2, 4
        Failed 2/4 tests, 50.00% okay
Failed Test       Status Wstat Total Fail  Failed  List of Failed
--------------------------------------------------------------------------------modules/include.t
4    2  50.00%  2, 4
Failed 1/1 test scripts, 0.00% okay. 2/4 subtests failed, 50.00% okay.

reason:
[Sat Jul  7 20:59:17 2001] [error] (13)Permission denied: exec of
/usr/src/httpd_perl/mod_perl-1.25_01/t/net/perl/cgi.pl failed
[Sat Jul  7 20:59:17 2001] [error] [client 127.0.0.1] Premature end of
script headers: /usr/src/httpd_perl/mod_perl-1.25_01/t/net/perl/cgi.pl
[Sat Jul  7 20:59:17 2001] [error] (13)Permission denied: exec of
/usr/src/httpd_perl/mod_perl-1.25_01/t/net/perl/cgi.pl failed
[Sat Jul  7 20:59:17 2001] [error] [client 127.0.0.1] Premature end of
script headers: /usr/src/httpd_perl/mod_perl-1.25_01/t/net/perl/cgi.pl

the same as for modules/cgi:

-rwxr-xr-x    1 stas     stas          452 Jul  7 20:42 /usr/src/http
d_perl/mod_perl-1.25_01/t/net/perl/cgi.pl*

I didn't have all the tests running since I miss some modules, will try
later

--------
build warnings:

===> src/modules/perl
cc -g -I/home/stas/perl-bleed/lib/5.7.1/i686-linux-thread-multi/CORE
-D_REENTRANT -Wall -DDEBUGGING -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_PERL_VERSION=\"1.25_01\"
-DMOD_PERL_STRING_VERSION=\"mod_perl/1.25_01\" -DPERL_TRACE=1 -I../..
-I/home/stas/perl-bleed/lib/5.7.1/i686-linux-thread-multi/CORE
-I../../os/unix -I../../include    -DLINUX=22 -I/usr/include/db1
-DMOD_PERL -DUSE_PERL_SSI -D_REENTRANT -Wall -DDEBUGGING
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DNO_DL_NEEDED -D_REENTRANT -Wall
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -DPERL_DESTRUCT_LEVEL=2 `../../apaci` -c
mod_perl.c
mod_perl.c: In function `perl_restart':
mod_perl.c:333: warning: unused variable `my_perl'
mod_perl.c:359: warning: unused variable `my_perl'
mod_perl.c: In function `perl_handler':
mod_perl.c:853: warning: unused variable `my_perl'
mod_perl.c:879: warning: unused variable `my_perl'
mod_perl.c:826: warning: unused variable `my_perl'
mod_perl.c: In function `mod_perl_cleanup_handler':
mod_perl.c:1175: warning: unused variable `my_perl'
mod_perl.c:1177: warning: unused variable `my_perl'
mod_perl.c: In function `perl_run_stacked_handlers':
mod_perl.c:1348: warning: unused variable `my_perl'
mod_perl.c:1350: warning: unused variable `my_perl'
mod_perl.c:1294: warning: unused variable `my_perl'
mod_perl.c: In function `perl_call_handler':
mod_perl.c:1590: warning: unused variable `my_perl'
mod_perl.c:1667: warning: unused variable `my_perl'

cc -g -I/home/stas/perl-bleed/lib/5.7.1/i686-linux-thread-multi/CORE
-D_REENTRANT -Wall -DDEBUGGING -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_PERL_VERSION=\"1.25_01\"
-DMOD_PERL_STRING_VERSION=\"mod_perl/1.25_01\" -DPERL_TRACE=1 -I../..
-I/home/stas/perl-bleed/lib/5.7.1/i686-linux-thread-multi/CORE
-I../../os/unix -I../../include    -DLINUX=22 -I/usr/include/db1
-DMOD_PERL -DUSE_PERL_SSI -D_REENTRANT -Wall -DDEBUGGING
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DNO_DL_NEEDED -D_REENTRANT -Wall
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -DPERL_DESTRUCT_LEVEL=2 `../../apaci` -c
perl_config.c
perl_config.c: In function `perl_perl_create_cfg':
perl_config.c:906: warning: unused variable `my_perl'
perl_config.c:919: warning: unused variable `my_perl'
perl_config.c: In function `perl_perl_merge_cfg':
perl_config.c:971: warning: unused variable `my_perl'
perl_config.c:983: warning: unused variable `my_perl'
perl_config.c: In function `perl_cmd_perl_TAKE123':
perl_config.c:1042: warning: unused variable `my_perl'
perl_config.c:1065: warning: unused variable `my_perl'
perl_config.c: In function `perl_section_hash_init':
perl_config.c:1621: warning: unused variable `my_perl'
perl_config.c:1627: warning: unused variable `my_perl'


cc -g -I/home/stas/perl-bleed/lib/5.7.1/i686-linux-thread-multi/CORE
-D_REENTRANT -Wall -DDEBUGGING -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_PERL_VERSION=\"1.25_01\"
-DMOD_PERL_STRING_VERSION=\"mod_perl/1.25_01\" -DPERL_TRACE=1 -I../..
-I/home/stas/perl-bleed/lib/5.7.1/i686-linux-thread-multi/CORE
-I../../os/unix -I../../include    -DLINUX=22 -I/usr/include/db1
-DMOD_PERL -DUSE_PERL_SSI -D_REENTRANT -Wall -DDEBUGGING
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DNO_DL_NEEDED -D_REENTRANT -Wall
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -DPERL_DESTRUCT_LEVEL=2 `../../apaci` -c
perl_util.c
perl_util.c: In function `mod_perl_slurp_filename':
perl_util.c:219: warning: unused variable `my_perl'
perl_util.c:227: warning: unused variable `my_perl'
perl_util.c: In function `perl_tie_hash':
perl_util.c:260: warning: unused variable `my_perl'
perl_util.c:277: warning: unused variable `my_perl'
perl_util.c: In function `perl_run_blocks':
perl_util.c:293: warning: unused variable `my_perl'
perl_util.c:296: warning: unused variable `my_perl'
perl_util.c:304: warning: unused variable `my_perl'
perl_util.c: In function `perl_run_rgy_endav':
perl_util.c:406: warning: unused variable `my_perl'
perl_util.c:410: warning: unused variable `my_perl'
perl_util.c: In function `perl_call_halt':
perl_util.c:453: warning: unused variable `my_perl'
perl_util.c:457: warning: unused variable `my_perl'

cc -g -I/home/stas/perl-bleed/lib/5.7.1/i686-linux-thread-multi/CORE
-D_REENTRANT -Wall -DDEBUGGING -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_PERL_VERSION=\"1.25_01\"
-DMOD_PERL_STRING_VERSION=\"mod_perl/1.25_01\" -DPERL_TRACE=1 -I../..
-I/home/stas/perl-bleed/lib/5.7.1/i686-linux-thread-multi/CORE
-I../../os/unix -I../../include    -DLINUX=22 -I/usr/include/db1
-DMOD_PERL -DUSE_PERL_SSI -D_REENTRANT -Wall -DDEBUGGING
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DNO_DL_NEEDED -D_REENTRANT -Wall
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -DPERL_DESTRUCT_LEVEL=2 `../../apaci` -c Log.c
Log.c: In function `ApacheLog':
Log.c:58: warning: unused variable `my_perl'
Log.c:65: warning: unused variable `my_perl'

cc -g -I/home/stas/perl-bleed/lib/5.7.1/i686-linux-thread-multi/CORE
-D_REENTRANT -Wall -DDEBUGGING -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_PERL_VERSION=\"1.25_01\"
-DMOD_PERL_STRING_VERSION=\"mod_perl/1.25_01\" -DPERL_TRACE=1 -I../..
-I/home/stas/perl-bleed/lib/5.7.1/i686-linux-thread-multi/CORE
-I../../os/unix -I../../include    -DLINUX=22 -I/usr/include/db1
-DMOD_PERL -DUSE_PERL_SSI -D_REENTRANT -Wall -DDEBUGGING
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DNO_DL_NEEDED -D_REENTRANT -Wall
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -DPERL_DESTRUCT_LEVEL=2 `../../apaci` -c Table.c
Table.c: In function `Apache_table_do':
Table.c:26: warning: unused variable `my_perl'
Table.c:36: warning: unused variable `my_perl'

cc -c  -D_REENTRANT -Wall -DDEBUGGING -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g
-DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -fpic
-I/home/stas/perl-bleed/lib/5.7.1/i686-linux-thread-multi/CORE  Leak.c
/home/stas/perl-bleed/lib/5.7.1/i686-linux-thread-multi/CORE/patchlevel.h:71:
warning: `local_patches' defined but not used


Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=linux, osvers=2.2.17-21mdk, archname=i686-linux
    uname='linux llp.extropia.com 2.2.17-21mdk #1 thu oct 5 13:16:08 cest 2000 i686 
unknown '
    config_args='-des -Dusethreads -Doptimize=-g -Dprefix=/home/stas/perl-5.6.1 
-Duseshrplib'
    hint=previous, 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 ='-DDEBUGGING -fno-strict-aliasing -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-g',
    cppflags='-DDEBUGGING -fno-strict-aliasing -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    ccversion='', gccversion='2.96 20000731 (Linux-Mandrake 8.0 2.96-0.48mdk)', 
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 -lgdbm -ldl -lm -lc -lposix -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lc -lposix -lcrypt -lutil
    libc=/lib/libc-2.2.2.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: DEBUGGING USE_LARGE_FILES
  Built under linux
  Compiled at Apr 20 2001 22:58:59
  @INC:
    /usr/lib/perl5/5.6.1/i686-linux
    /usr/lib/perl5/5.6.1
    /usr/lib/perl5/site_perl/5.6.1/i686-linux
    /usr/lib/perl5/site_perl/5.6.1
    /usr/lib/perl5/site_perl/5.6.0
    /usr/lib/perl5/site_perl/5.005
    /usr/lib/perl5/site_perl
    .

_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


Reply via email to