Hi all,

This is the first time I've tried build mod_perl, although I've compiled 
Apache several times with no trouble.  First of all I just want to use it
to speed up my CGI scripts, then to add footers and stuff like that.
Maybe I'll get into the fancier things later.

I'm using Apache 1.3.9 (for this exercise only - my operational server
is v1.2, running on the machine at 195.224.76.136) and I had to download 
perl 5.00503 to get some of the modules to make.  Apache seems to sort 
of compile (EVERYTHING=1), but then I get the `make test' failures below.

Any ideas/pointers will be much appreciated.

Ged Haywood.

The modules I'm trying to install are these:

CGI.pm          2.56
Crypt:SSLeay    0.14
Digest-MD5      2.09
HTML-Pager      0.01
HTML-Parser     2.23
HTML-Template   0.96
HTML-Validator  0.12
IO-Socket_SSL   0.73
MIME-Base64     2.11
Net::SSLeay     1.05
OpenSSL         0.9.4
URI.pm          1.04
libnet          1.0607
libwww          5.45

Most of these I am installing because the bits I actually wanted 
required other bits that I didn't...

======================== 'perl -V' output =======================
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=linux, osvers=2.0.34, archname=i686-linux
    uname='linux www 2.0.34 #1 thu jun 4 18:59:35 pdt 1998 i686 unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='gcc', optimize='-O2', gccversion=egcs-2.90.29 980515 (egcs-1.0.3 release)
    cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    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
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /shlib /lib /usr/lib
    libs=-lndbm -lgdbm -ldbm -ldb -ldl -lm -lc
    libc=/lib/libc.so.5.4.44, 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 Oct 23 1999 14:49:19
  @INC:
    /usr/lib/perl5/5.00503/i686-linux
    /usr/lib/perl5/5.00503
    /usr/lib/perl5/site_perl/5.005/i686-linux
    /usr/lib/perl5/site_perl/5.005
    .
======================== END OF 'perl -V' output =================

======================== t/logs/errorLog   =======================
[Thu Oct 28 22:24:55 1999] [warn] pid file 
/usr/local/apache_1.3.9/mod_perl-1.21/t/logs/httpd.pid overwritten -- Unclean shutdown 
of previous Apache run?
[notice] Destruction->DESTROY called for $global_object
[Thu Oct 28 22:24:56 1999] [warn] [notice] child_init for process 6086, report any 
problems to [no address given]

[Thu Oct 28 22:25:04 1999] [warn] [client 127.0.0.1] log __ANON__ OK
*** The following [error] is expected, no cause for alarm ***
[Thu Oct 28 22:25:12 1999] [error] Missing right bracket at 
/usr/local/apache_1.3.9/mod_perl-1.21/t/docs/badsyntax.pl line 9, at end of line
syntax error at /usr/local/apache_1.3.9/mod_perl-1.21/t/docs/badsyntax.pl line 9, at 
EOF

*** The following [error] is expected, no cause for alarm ***
[Thu Oct 28 22:25:13 1999] [error] Apache::Death at /dev/null line 0

*** The following [error] is expected, no cause for alarm ***
[Thu Oct 28 22:25:13 1999] [error] Missing right bracket at 
/usr/local/apache_1.3.9/mod_perl-1.21/t/docs/badsyntax.pl line 9, at end of line
syntax error at /usr/local/apache_1.3.9/mod_perl-1.21/t/docs/badsyntax.pl line 9, at 
EOF

*** The following [error] is expected, no cause for alarm ***
[Thu Oct 28 22:25:13 1999] [error] Apache::Death at /dev/null line 0

print on closed filehandle Apache::ROOT::perl::hooks_2epl::FH at 
/usr/local/apache_1.3.9/mod_perl-1.21/t/net/perl/hooks.pl line 15, <fh00001b> chunk 1.
print on closed filehandle Apache::ROOT::perl::hooks_2epl::FH at 
/usr/local/apache_1.3.9/mod_perl-1.21/t/net/perl/hooks.pl line 26, <fh00001b> chunk 1.
[Thu Oct 28 22:25:15 1999] [error] can't open 
/usr/local/apache_1.3.9/mod_perl-1.21/t/docs/.htaccess at 
/usr/local/apache_1.3.9/mod_perl-1.21/t/net/perl/hooks.pl line 51, <fh00001b> chunk 1.

[notice] child process 6086 terminating
[notice] push'd PerlChildExitHandler called, pid=6086
[notice] push'd PerlChildExitHandler called, pid=6086
[notice] END block called for startup.pl
[notice] Destruction->DESTROY called for $global_object
[Thu Oct 28 22:25:41 1999] [warn] pid file 
/usr/local/apache_1.3.9/mod_perl-1.21/t/logs/httpd.pid overwritten -- Unclean shutdown 
of previous Apache run?
[notice] Destruction->DESTROY called for $global_object
[Thu Oct 28 22:25:42 1999] [warn] [notice] child_init for process 6350, report any 
problems to [no address given]

[Thu Oct 28 22:25:49 1999] [warn] [client 127.0.0.1] log __ANON__ OK
*** The following [error] is expected, no cause for alarm ***
[Thu Oct 28 22:25:58 1999] [error] Missing right bracket at 
/usr/local/apache_1.3.9/mod_perl-1.21/t/docs/badsyntax.pl line 9, at end of line
syntax error at /usr/local/apache_1.3.9/mod_perl-1.21/t/docs/badsyntax.pl line 9, at 
EOF

*** The following [error] is expected, no cause for alarm ***
[Thu Oct 28 22:25:58 1999] [error] Apache::Death at /dev/null line 0

*** The following [error] is expected, no cause for alarm ***
[Thu Oct 28 22:25:58 1999] [error] Missing right bracket at 
/usr/local/apache_1.3.9/mod_perl-1.21/t/docs/badsyntax.pl line 9, at end of line
syntax error at /usr/local/apache_1.3.9/mod_perl-1.21/t/docs/badsyntax.pl line 9, at 
EOF

*** The following [error] is expected, no cause for alarm ***
[Thu Oct 28 22:25:58 1999] [error] Apache::Death at /dev/null line 0

print on closed filehandle Apache::ROOT::perl::hooks_2epl::FH at 
/usr/local/apache_1.3.9/mod_perl-1.21/t/net/perl/hooks.pl line 15, <fh00001b> chunk 1.
print on closed filehandle Apache::ROOT::perl::hooks_2epl::FH at 
/usr/local/apache_1.3.9/mod_perl-1.21/t/net/perl/hooks.pl line 26, <fh00001b> chunk 1.
[Thu Oct 28 22:26:00 1999] [error] can't open 
/usr/local/apache_1.3.9/mod_perl-1.21/t/docs/.htaccess at 
/usr/local/apache_1.3.9/mod_perl-1.21/t/net/perl/hooks.pl line 51, <fh00001b> chunk 1.

[notice] child process 6350 terminating
[notice] push'd PerlChildExitHandler called, pid=6350
[notice] push'd PerlChildExitHandler called, pid=6350
[notice] END block called for startup.pl
[notice] Destruction->DESTROY called for $global_object
[Thu Oct 28 22:27:04 1999] [warn] pid file 
/usr/local/apache_1.3.9/mod_perl-1.21/t/logs/httpd.pid overwritten -- Unclean shutdown 
of previous Apache run?
[notice] Destruction->DESTROY called for $global_object
[Thu Oct 28 22:27:05 1999] [warn] [notice] child_init for process 6612, report any 
problems to [no address given]

[Thu Oct 28 22:27:12 1999] [warn] [client 127.0.0.1] log __ANON__ OK
*** The following [error] is expected, no cause for alarm ***
[Thu Oct 28 22:27:21 1999] [error] Missing right bracket at 
/usr/local/apache_1.3.9/mod_perl-1.21/t/docs/badsyntax.pl line 9, at end of line
syntax error at /usr/local/apache_1.3.9/mod_perl-1.21/t/docs/badsyntax.pl line 9, at 
EOF

*** The following [error] is expected, no cause for alarm ***
[Thu Oct 28 22:27:21 1999] [error] Apache::Death at /dev/null line 0

*** The following [error] is expected, no cause for alarm ***
[Thu Oct 28 22:27:21 1999] [error] Missing right bracket at 
/usr/local/apache_1.3.9/mod_perl-1.21/t/docs/badsyntax.pl line 9, at end of line
syntax error at /usr/local/apache_1.3.9/mod_perl-1.21/t/docs/badsyntax.pl line 9, at 
EOF

*** The following [error] is expected, no cause for alarm ***
[Thu Oct 28 22:27:21 1999] [error] Apache::Death at /dev/null line 0

print on closed filehandle Apache::ROOT::perl::hooks_2epl::FH at 
/usr/local/apache_1.3.9/mod_perl-1.21/t/net/perl/hooks.pl line 15, <fh00001b> chunk 1.
print on closed filehandle Apache::ROOT::perl::hooks_2epl::FH at 
/usr/local/apache_1.3.9/mod_perl-1.21/t/net/perl/hooks.pl line 26, <fh00001b> chunk 1.
[Thu Oct 28 22:27:23 1999] [error] can't open 
/usr/local/apache_1.3.9/mod_perl-1.21/t/docs/.htaccess at 
/usr/local/apache_1.3.9/mod_perl-1.21/t/net/perl/hooks.pl line 51, <fh00001b> chunk 1.

[notice] child process 6612 terminating
[notice] push'd PerlChildExitHandler called, pid=6612
[notice] push'd PerlChildExitHandler called, pid=6612
[notice] END block called for startup.pl
[notice] Destruction->DESTROY called for $global_object
======================== END OF t/logs/errorLog   =======================

=================== OUTPUT OF make test TEST_VERBOSE=1 2>&1 =============
(cd ../src &&  make CC="gcc";)
make[1]: Entering directory `/usr/local/apache_1.3.9/src'
===> regex
make[2]: Nothing to be done for `all'.
<=== regex
===> os/unix
make[2]: Nothing to be done for `all'.
<=== os/unix
===> ap
make[2]: Nothing to be done for `all'.
<=== ap
===> main
make[2]: Nothing to be done for `all'.
<=== main
===> lib
===> lib/expat-lite
make[3]: Nothing to be done for `all'.
<=== lib/expat-lite
<=== lib
===> modules
===> modules/standard
make[3]: Nothing to be done for `all'.
<=== modules/standard
===> modules/perl
make[3]: Nothing to be done for `all'.
<=== modules/perl
<=== modules
gcc -c  -I./os/unix -I./include   -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT 
-I./lib/expat-lite -Dbool=char -DHAS_BOOL -I/usr/local/include  
-I/usr/lib/perl5/5.00503/i686-linux/CORE  -I. -I../.. -DUSE_PERL_SSI -DMOD_PERL 
modules.c
gcc -c  -I./os/unix -I./include   -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT 
-I./lib/expat-lite -Dbool=char -DHAS_BOOL -I/usr/local/include  
-I/usr/lib/perl5/5.00503/i686-linux/CORE  -I. -I../.. -DUSE_PERL_SSI -DMOD_PERL 
buildmark.c
gcc  -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -Dbool=char -DHAS_BOOL 
-I/usr/local/include  -I/usr/lib/perl5/5.00503/i686-linux/CORE  -I. -I../.. 
-DUSE_PERL_SSI -DMOD_PERL    \
      -o httpd buildmark.o modules.o modules/perl/libperl.a 
modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a 
regex/libregex.a lib/expat-lite/libexpat.a `perl 
/usr/local/apache_1.3.9/mod_perl-1.21/src/modules/perl/ldopts  ` -lm
make[1]: Leaving directory `/usr/local/apache_1.3.9/src'
make[1]: Entering directory `/usr/local/apache_1.3.9/mod_perl-1.21/Apache'
make[1]: Leaving directory `/usr/local/apache_1.3.9/mod_perl-1.21/Apache'
make[1]: Entering directory `/usr/local/apache_1.3.9/mod_perl-1.21/Connection'
make[1]: Leaving directory `/usr/local/apache_1.3.9/mod_perl-1.21/Connection'
make[1]: Entering directory `/usr/local/apache_1.3.9/mod_perl-1.21/Constants'
make[1]: Leaving directory `/usr/local/apache_1.3.9/mod_perl-1.21/Constants'
make[1]: Entering directory `/usr/local/apache_1.3.9/mod_perl-1.21/File'
make[1]: Leaving directory `/usr/local/apache_1.3.9/mod_perl-1.21/File'
make[1]: Entering directory `/usr/local/apache_1.3.9/mod_perl-1.21/Leak'
make[1]: Leaving directory `/usr/local/apache_1.3.9/mod_perl-1.21/Leak'
make[1]: Entering directory `/usr/local/apache_1.3.9/mod_perl-1.21/Log'
make[1]: Leaving directory `/usr/local/apache_1.3.9/mod_perl-1.21/Log'
make[1]: Entering directory `/usr/local/apache_1.3.9/mod_perl-1.21/ModuleConfig'
make[1]: Leaving directory `/usr/local/apache_1.3.9/mod_perl-1.21/ModuleConfig'
make[1]: Entering directory `/usr/local/apache_1.3.9/mod_perl-1.21/PerlRunXS'
make[1]: Leaving directory `/usr/local/apache_1.3.9/mod_perl-1.21/PerlRunXS'
make[1]: Entering directory `/usr/local/apache_1.3.9/mod_perl-1.21/Server'
make[1]: Leaving directory `/usr/local/apache_1.3.9/mod_perl-1.21/Server'
make[1]: Entering directory `/usr/local/apache_1.3.9/mod_perl-1.21/Symbol'
make[1]: Leaving directory `/usr/local/apache_1.3.9/mod_perl-1.21/Symbol'
make[1]: Entering directory `/usr/local/apache_1.3.9/mod_perl-1.21/Table'
make[1]: Leaving directory `/usr/local/apache_1.3.9/mod_perl-1.21/Table'
make[1]: Entering directory `/usr/local/apache_1.3.9/mod_perl-1.21/URI'
make[1]: Leaving directory `/usr/local/apache_1.3.9/mod_perl-1.21/URI'
make[1]: Entering directory `/usr/local/apache_1.3.9/mod_perl-1.21/Util'
make[1]: Leaving directory `/usr/local/apache_1.3.9/mod_perl-1.21/Util'
cp t/conf/mod_perl_srm.conf t/conf/srm.conf
../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
/usr/bin/perl t/TEST 1
modules/actions.....1..1
fetch: `OK /LoadClass.pm'
ok 1
ok
modules/cgi.........module CGI is installed
1..5
ok 1
ok 2
ok 3
ok 4 (fileupload)
ok 5
ok
modules/constants...1..79
ok 1
ok 2 (OPT_SYM_OWNER|ACCESS_CONF: 64)
ok 3 (AUTH_REQUIRED|AUTH_REQUIRED: 401)
ok 4 (BAD_GATEWAY|BAD_GATEWAY: 502)
ok 5 (BAD_REQUEST|BAD_REQUEST: 400)
ok 6 (DECLINED|CONTINUE: -1)
ok 7 (DECLINED|DECLINED: -1)
ok 8 (DOCUMENT_FOLLOWS|DOCUMENT_FOLLOWS: 200)
ok 9 (M_OPTIONS|FLAG: 5)
ok 10 (FORBIDDEN|FORBIDDEN: 403)
ok 11 (BAD_REQUEST|HTTP_BAD_REQUEST: 400)
ok 12 (FORBIDDEN|HTTP_FORBIDDEN: 403)
ok 13 (SERVER_ERROR|HTTP_INTERNAL_SERVER_ERROR: 500)
ok 14 (HTTP_METHOD_NOT_ALLOWED|HTTP_METHOD_NOT_ALLOWED: 405)
ok 15 (MOVED|HTTP_MOVED_PERMANENTLY: 301)
ok 16 (REDIRECT|HTTP_MOVED_TEMPORARILY: 302)
ok 17 (HTTP_NOT_ACCEPTABLE|HTTP_NOT_ACCEPTABLE: 406)
ok 18 (NOT_FOUND|HTTP_NOT_FOUND: 404)
ok 19 (USE_LOCAL_COPY|HTTP_NOT_MODIFIED: 304)
ok 20 (HTTP_NO_CONTENT|HTTP_NO_CONTENT: 204)
ok 21 (DOCUMENT_FOLLOWS|HTTP_OK: 200)
ok 22 (HTTP_PRECONDITION_FAILED|HTTP_PRECONDITION_FAILED: 412)
ok 23 (HTTP_SERVICE_UNAVAILABLE|HTTP_SERVICE_UNAVAILABLE: 503)
ok 24 (AUTH_REQUIRED|HTTP_UNAUTHORIZED: 401)
ok 25 (HTTP_VARIANT_ALSO_VARIES|HTTP_VARIANT_ALSO_VARIES: 506)
ok 26 (M_DELETE|ITERATE: 3)
ok 27 (OPT_SYM_LINKS|ITERATE2: 4)
ok 28 (OPT_UNSET|METHODS: 16)
ok 29 (MODULE_MAGIC_NUMBER|MODULE_MAGIC_NUMBER: 19990320)
ok 30 (MOVED|MOVED: 301)
ok 31 (OPT_SYM_LINKS|M_CONNECT: 4)
ok 32 (M_DELETE|M_DELETE: 3)
ok 33 (OK|M_GET: 0)
ok 34 (OPT_ALL|M_INVALID: 15)
ok 35 (M_OPTIONS|M_OPTIONS: 5)
ok 36 (OPT_INCLUDES|M_POST: 2)
ok 37 (OPT_INDEXES|M_PUT: 1)
ok 38 (M_TRACE|M_TRACE: 6)
ok 39 (DECLINED|NOT_AUTHORITATIVE: -1)
ok 40 (NOT_FOUND|NOT_FOUND: 404)
ok 41 (NOT_IMPLEMENTED|NOT_IMPLEMENTED: 501)
ok 42 (M_TRACE|NO_ARGS: 6)
ok 43 (OK|OK: 0)
ok 44 (OPT_ALL|OPT_ALL: 15)
ok 45 (OPT_EXECCGI|OPT_EXECCGI: 8)
ok 46 (OPT_INCLUDES|OPT_INCLUDES: 2)
ok 47 (OPT_INCNOEXEC|OPT_INCNOEXEC: 32)
ok 48 (OPT_INDEXES|OPT_INDEXES: 1)
ok 49 (OPT_MULTI|OPT_MULTI: 128)
ok 50 (OK|OPT_NONE: 0)
ok 51 (OPT_SYM_LINKS|OPT_SYM_LINKS: 4)
ok 52 (OPT_SYM_OWNER|OPT_SYM_OWNER: 64)
ok 53 (OPT_UNSET|OPT_UNSET: 16)
ok 54 (OR_ALL|OR_ALL: 31)
ok 55 (OPT_EXECCGI|OR_AUTHCFG: 8)
ok 56 (OPT_SYM_LINKS|OR_FILEINFO: 4)
ok 57 (OPT_UNSET|OR_INDEXES: 16)
ok 58 (OPT_INDEXES|OR_LIMIT: 1)
ok 59 (OK|OR_NONE: 0)
ok 60 (OPT_INCLUDES|OR_OPTIONS: 2)
ok 61 (OPT_INCNOEXEC|OR_UNSET: 32)
ok 62 (OK|RAW_ARGS: 0)
ok 63 (REDIRECT|REDIRECT: 302)
ok 64 (OK|REMOTE_HOST: 0)
ok 65 (OPT_INDEXES|REMOTE_NAME: 1)
ok 66 (OPT_INCLUDES|REMOTE_NOLOOKUP: 2)
ok 67 (RESPONSE_CODES|RESPONSE_CODES: 55)
ok 68 (OPT_MULTI|RSRC_CONF: 128)
ok 69 (OK|SATISFY_ALL: 0)
ok 70 (OPT_INDEXES|SATISFY_ANY: 1)
ok 71 (OPT_INCLUDES|SATISFY_NOSPEC: 2)
ok 72 (SERVER_ERROR|SERVER_ERROR: 500)
ok 73 (OPT_INDEXES|TAKE1: 1)
ok 74 (M_PATCH|TAKE12: 7)
ok 75 (M_MKCOL|TAKE123: 10)
ok 76 (OPT_INCLUDES|TAKE2: 2)
ok 77 (M_PROPPATCH|TAKE23: 9)
ok 78 (OPT_EXECCGI|TAKE3: 8)
ok 79
ok
modules/cookie......1..0
skipping test on this platform
modules/file........module Apache::File is installed
module Apache::File is installed
1..6
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
Wed Apr  7 04:34:39 1999ok
modules/httpdconf...1..5
ok 1
ok 2
DocumentRoot = /usr/local/apache_1.3.9/mod_perl-1.21/t/docs
ok 3
ErrorLog = logs/error_log
ok 4
Port = 8888
ok 5
ok
modules/include.....1..4
ok 1
ok 2
ok 3
ok 4
ok
modules/log.........1..18
method emerg OK
ok 1
ok 2
method alert OK
ok 3
ok 4
method crit OK
ok 5
ok 6
method error OK
ok 7
ok 8
method warn OK
ok 9
ok 10
method notice OK
ok 11
ok 12
method info OK
ok 13
ok 14
method debug OK
ok 15
ok 16
ok 17
ok 18
ok
modules/module......1..0
skipping test on this platform
modules/perlrun.....1..6
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok
modules/perlrunxs...1..0
skipping test on this platform
modules/psections...module Data::Dumper is installed
1..0
skipping test on this platform
modules/request.....1..0
skipping test on this platform
modules/sandwich....1..0
skipping test on this platform
modules/src.........Use of uninitialized value at modules/src.t line 19.
Use of uninitialized value at modules/src.t line 20.
Use of uninitialized value at ../blib/lib/Apache/src.pm line 164.
Use of uninitialized value at modules/src.t line 27.
Use of uninitialized value at ../blib/lib/Apache/src.pm line 215.
Use of uninitialized value at ../blib/lib/Apache/src.pm line 215.
can't stat  No such file or directory
1..6
ok 1
dir=../src
ok 2
main=
not ok 3
module_magic_number = 0
not ok 4
httpd_version = 
not ok 5
-I../src -I../src/modules/perl -I
dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 3-6
        Failed 4/6 tests, 33.33% okay
modules/ssi.........

Hi, I've been pulled in by mod_include via Apache::Include<p>
I'm cached by Apache::Registry in package `Apache::ROOT::perl::ssi_2epl'<p>
1..3
ok 1
ok 2

ok 3
ok
modules/stage.......1..0
skipping test on this platform
modules/status......1..7
fetch /perl/perl-status
ok 1
fetch /perl/perl-status?script
ok 2
fetch /perl/perl-status?inc
ok 3
fetch /perl/perl-status?rgysubs
ok 4
fetch /perl/perl-status?env
ok 5
fetch /perl/perl-status?myconfig
ok 6
fetch /perl/perl-status?hooks
ok 7
ok
modules/symbol......1..0
skipping test on this platform
modules/uri.........1..44
URI=/perl/uri.pl
ok 1
scheme = `'
ok 2
hostinfo = `'
ok 3
user = `'
ok 4
password = `'
ok 5
hostname = `'
ok 6
path = `/perl/uri.pl'
ok 7
rpath = `/perl/uri.pl'
ok 8
query = `'
ok 9
fragment = `'
ok 10
port = `'
ok 11
unparse = `/perl/uri.pl'
URI=http://perl.apache.org/dist/apache-modlist.html
ok 12
scheme = `http'
ok 13
hostinfo = `perl.apache.org:80'
ok 14
user = `'
ok 15
password = `'
ok 16
hostname = `perl.apache.org'
ok 17
path = `/dist/apache-modlist.html'
ok 18
rpath = `/dist/apache-modlist.html'
ok 19
query = `'
ok 20
fragment = `'
ok 21
port = `80'
ok 22
unparse = `http://perl.apache.org/dist/apache-modlist.html'
URI=/perl/uri.pl
ok 23
scheme = `'
ok 24
hostinfo = `'
ok 25
user = `'
ok 26
password = `'
ok 27
hostname = `'
ok 28
path = `/perl/uri.pl'
ok 29
rpath = `/perl/uri.pl'
ok 30
query = `'
ok 31
fragment = `'
ok 32
port = `'
ok 33
unparse = `/perl/uri.pl'
URI=http://perl.apache.org/dist/apache-modlist.html
ok 34
scheme = `http'
ok 35
hostinfo = `perl.apache.org:80'
ok 36
user = `'
ok 37
password = `'
ok 38
hostname = `perl.apache.org'
ok 39
path = `/dist/apache-modlist.html'
ok 40
rpath = `/dist/apache-modlist.html'
ok 41
query = `'
ok 42
fragment = `'
ok 43
port = `80'
ok 44
unparse = `http://perl.apache.org/dist/apache-modlist.html'
ok
modules/util........1..7
ok 1
ok 2
ok 3
ok 4
C = http://www.apache.org/docs/mod/mod_proxy.html%3fhas%20some%20spaces
Perl = http://www.apache.org/docs/mod/mod_proxy.html?has%20some%20spaces
ok 5
C = Thu, 28 Oct 1999 21:27:19 GMT
Perl = Thu, 28 Oct 1999 21:27:19 GMT
builtin = Thu Oct 28 21:27:19 1999
ok 6
ok 7
ok
internal/api........1..73
ok 1
ENV{MOD_PERL} = mod_perl/1.21
ok 2
GET /perl/api.pl HTTP/1.0
Host: localhost:8529
User-Agent: libwww-perl/5.45

HTTP/1.0 200 OK
Connection: close
Content-Type: text/plain
Content-Language: en

r == Apache=SCALAR(0x864f33c)
ok 3
ok 4
$Apache::Server::CWD == /usr/local/apache_1.3.9/mod_perl-1.21
$0 == /usr/local/apache_1.3.9/mod_perl-1.21/t/net/perl/api.pl
Apache.pm == 30517, /usr/local/apache_1.3.9/mod_perl-1.21/t/net/perl/api.pl == 6772
ok 5
ok 6
<Location /perl>
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
ok 30
ok 31
ok 32
ok 33
ok 34
ok 35
ok 36
ok 37
ok 38
ok 39
ok 40
ok 41
ok 42
ok 43
ok 44
ok 45
ok 46
ok 47
ok 48
ok 49
ok 50
ok 51
ok 52
ok 53
ok 54
ok 55
ok 56
ok 57
ok 58
ok 59
ok 60
ok 61
ok 62
ok 63
ok 64
ok 65
ok 66
ok 67
ok 68
ok 69
ok 70
ok 71
ok 72
ok 73
method `uri' invoked by a `My::Req' object with no `r' key! at 
/usr/local/apache_1.3.9/mod_perl-1.21/t/net/perl/api.pl line 257, <fh00001b> chunk 1.
ok
internal/auth.......1..2
ok 1
ok 2
ok
internal/croak......1..12
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok
internal/dirmagic...1..3
ok 1 (.)
ok 2 (..)
ok 3 (cal.txt)
ok
internal/error......1..1
ok 1
ok
internal/headers....module CGI is installed
1..13
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok
internal/hooks......GET http://localhost:8529/perl/hooks.pl

HTTP/1.1 200 OK
Connection: close
Date: Thu, 28 Oct 1999 21:27:23 GMT
Server: Apache/1.3.9 (Unix) mod_perl/1.21 Perl/5.00503
Content-Type: text/html
Client-Date: Thu, 28 Oct 1999 21:27:23 GMT
Client-Peer: 127.0.0.1:8529

HTTP/1.1 500 Internal Server Error
Date: Thu, 28 Oct 1999 21:27:23 GMT
Server: Apache/1.3.9 (Unix) mod_perl/1.21 Perl/5.00503
Connection: close
Content-Type: text/plain

ServerError:
can't open /usr/local/apache_1.3.9/mod_perl-1.21/t/docs/.htaccess at 
/usr/local/apache_1.3.9/mod_perl-1.21/t/net/perl/hooks.pl line 51, <fh00001b> chunk 1.

dump of %@:
/perl/hooks.pl = can't open /usr/local/apache_1.3.9/mod_perl-1.21/t/docs/.htaccess at 
/usr/local/apache_1.3.9/mod_perl-1.21/t/net/perl/hooks.pl line 51, <fh00001b> chunk 1.



GET http://localhost:8529/test.html

HTTP/1.1 200 OK
Connection: close
Date: Thu, 28 Oct 1999 21:27:23 GMT
Accept-Ranges: bytes
Server: Apache/1.3.9 (Unix) mod_perl/1.21 Perl/5.00503
Content-Length: 566
Content-Type: text/html
ETag: "4d821-236-348991f7"
Last-Modified: Sat, 06 Dec 1997 17:57:11 GMT
Client-Date: Thu, 28 Oct 1999 21:27:23 GMT
Client-Peer: 127.0.0.1:8529



 And so it was decided the camel should be given magical multi-colored
 feathers so it could fly and journey to once unknown worlds.
 And so it was done...

<hr>
<!-- for testing perl mod_include's -->
Child <!--#perl sub="main::pid" --> accessed
<!--#perl sub="main::access" --> times. <br>

<hr>

<!--#perl sub="sub { print qq(__ANON__ works [@_])}" -->
<p>
<!--#perl sub="Apache::Include" arg="/perl/ssi.pl" -->

<!--#include virtual="/perl/io/ssi1.pl" -->

<!--#include virtual="/perl/io/ssi2.pl" -->

<!--#perl sub="SSI::one" -->

<!--#perl sub="SSI::two" -->

1..1
ok 1
no callbacks defined, skipping tests...
ok
internal/http-get...1..12
GET http://localhost:8529/perl/test?query

HTTP/1.1 200 OK
Connection: close
Date: Thu, 28 Oct 1999 21:27:24 GMT
Server: Apache/1.3.9 (Unix) mod_perl/1.21 Perl/5.00503
Content-Type: text/plain
Client-Date: Thu, 28 Oct 1999 21:27:24 GMT
Client-Peer: 127.0.0.1:8529
X-Perl-Script: test

KeyForPerlSetVar = OK
ARGS: "query"

SERVER_SOFTWARE=Apache/1.3.9 (Unix) mod_perl/1.21 Perl/5.00503
DOCUMENT_ROOT=/usr/local/apache_1.3.9/mod_perl-1.21/t/docs
GATEWAY_INTERFACE=CGI-Perl/1.1
REMOTE_ADDR=127.0.0.1
REQUEST_METHOD=GET
QUERY_STRING=query
REMOTE_PORT=4121
SERVER_ADDR=127.0.0.1
MOD_PERL=mod_perl/1.21
SCRIPT_FILENAME=/usr/local/apache_1.3.9/mod_perl-1.21/t/net/perl/test
SERVER_NAME=localhost
SERVER_PORT=8529
SERVER_ADMIN=[no address given]
SERVER_PROTOCOL=HTTP/1.0
SERVER_SIGNATURE=
HTTP_USER_AGENT=libwww-perl/5.45
PATH=/bin
SCRIPT_NAME=/perl/test
REQUEST_URI=/perl/test?query
KeyForPerlSetEnv=OK
HTTP_HOST=localhost:8529
TOTAL: 21


ok 1
ok 2
ok 3
GET http://localhost:8529/perl/perl-status?query

HTTP/1.1 200 OK
Connection: close
Date: Thu, 28 Oct 1999 21:27:24 GMT
Server: Apache/1.3.9 (Unix) mod_perl/1.21 Perl/5.00503
Content-Type: text/html
Client-Date: Thu, 28 Oct 1999 21:27:24 GMT
Client-Peer: 127.0.0.1:8529
Title: Apache::Status

<html>
<head><title>Apache::Status</title></head>
<body>
Embedded Perl version <b>5.00503</b> for <b>Apache/1.3.9 (Unix) mod_perl/1.21 
Perl/5.00503</b> process <b>6612</b>, 
<br> running since Thu Oct 28 22:27:03 1999<hr>
<a href="/perl/perl-status?sig">Signal Handlers</a><br>
<a href="/perl/perl-status?hooks">Enabled mod_perl Hooks</a><br>
<a href="/perl/perl-status?script">PerlRequire'd Files</a><br>
<a href="/perl/perl-status?env">Environment</a><br>
<a href="/perl/perl-status?inc">Loaded Modules</a><br>
<a href="/perl/perl-status?myconfig">Perl Configuration</a><br>
<a href="/perl/perl-status?isa_tree">ISA Tree</a><br>
<a href="/perl/perl-status?inh_tree">Inheritance Tree</a><br>
<a href="/perl/perl-status?rgysubs">Compiled Registry Scripts</a><br>
<a href="/perl/perl-status?symdump">Symbol Table Dump</a><br>
</body></html>

ok 4
GET http://localhost:8529/perl/io/perlio.pl?query

HTTP/1.1 200 (OK) Bottles of beer on the wall
Connection: close
Date: Thu, 28 Oct 1999 21:27:24 GMT
Server: Apache/1.3.9 (Unix) mod_perl/1.21 Perl/5.00503
Content-Type: text/plain
Client-Date: Thu, 28 Oct 1999 21:27:24 GMT
Client-Peer: 127.0.0.1:8529
X-Message: hello
X-Perl-Script: perlio.pl
X-Perl-Version: 5.00503

perlio test...
$^X is httpd
WRITE to STDOUT works with 5.00503 without sfio
<Location /perl/io>
ARGS: "query"

SERVER_SOFTWARE=Apache/1.3.9 (Unix) mod_perl/1.21 Perl/5.00503
DOCUMENT_ROOT=/usr/local/apache_1.3.9/mod_perl-1.21/t/docs
GATEWAY_INTERFACE=CGI-Perl/1.1
PERL_SEND_HEADER=On
REMOTE_ADDR=127.0.0.1
REQUEST_METHOD=GET
QUERY_STRING=query
REMOTE_PORT=4123
SERVER_ADDR=127.0.0.1
MOD_PERL=mod_perl/1.21
SCRIPT_FILENAME=/usr/local/apache_1.3.9/mod_perl-1.21/t/net/perl/io/perlio.pl
SERVER_NAME=localhost
SERVER_PORT=8529
SERVER_ADMIN=[no address given]
SERVER_PROTOCOL=HTTP/1.0
SERVER_SIGNATURE=
HTTP_USER_AGENT=libwww-perl/5.45
PATH=D@
SCRIPT_NAME=/perl/io/perlio.pl
REQUEST_URI=/perl/io/perlio.pl?query
KeyForPerlSetEnv=OK
HTTP_HOST=localhost:8529


ok 5
ok 6
ok 7
ok 8
Server: Apache/1.3.9 (Unix) mod_perl/1.21 Perl/5.00503
ok 9
pounding a bit...
ok 10
ok 11
ok 12
ok
internal/http-post..1..7
HTTP/1.1 200 OK
Connection: close
Date: Thu, 28 Oct 1999 21:27:24 GMT
Server: Apache/1.3.9 (Unix) mod_perl/1.21 Perl/5.00503
Content-Type: text/plain
Client-Date: Thu, 28 Oct 1999 21:27:25 GMT
Client-Peer: 127.0.0.1:8529
X-Perl-Script: test

KeyForPerlSetVar = OK
No command line arguments passed to script

SERVER_SOFTWARE=Apache/1.3.9 (Unix) mod_perl/1.21 Perl/5.00503
DOCUMENT_ROOT=/usr/local/apache_1.3.9/mod_perl-1.21/t/docs
GATEWAY_INTERFACE=CGI-Perl/1.1
REMOTE_ADDR=127.0.0.1
REQUEST_METHOD=POST
QUERY_STRING=
REMOTE_PORT=4128
SERVER_ADDR=127.0.0.1
MOD_PERL=mod_perl/1.21
SCRIPT_FILENAME=/usr/local/apache_1.3.9/mod_perl-1.21/t/net/perl/test
SERVER_NAME=localhost
SERVER_PORT=8529
SERVER_ADMIN=[no address given]
SERVER_PROTOCOL=HTTP/1.0
SERVER_SIGNATURE=
HTTP_USER_AGENT=libwww-perl/5.45
PATH=/bin
SCRIPT_NAME=/perl/test
REQUEST_URI=/perl/test
KeyForPerlSetEnv=OK
CONTENT_TYPE=application/x-www-form-urlencoded
CONTENT_LENGTH=20
HTTP_HOST=localhost:8529
TOTAL: 23
Content
-------
searchtype=Substring


ok 1
ok 2
HTTP/1.1 200 (OK) Bottles of beer on the wall
Connection: close
Date: Thu, 28 Oct 1999 21:27:25 GMT
Server: Apache/1.3.9 (Unix) mod_perl/1.21 Perl/5.00503
Content-Type: text/plain
Client-Date: Thu, 28 Oct 1999 21:27:25 GMT
Client-Peer: 127.0.0.1:8529
X-Message: hello
X-Perl-Script: perlio.pl
X-Perl-Version: 5.00503

perlio test...
$^X is httpd
WRITE to STDOUT works with 5.00503 without sfio
<Location /perl/io>
No command line arguments passed to script

SERVER_SOFTWARE=Apache/1.3.9 (Unix) mod_perl/1.21 Perl/5.00503
DOCUMENT_ROOT=/usr/local/apache_1.3.9/mod_perl-1.21/t/docs
GATEWAY_INTERFACE=CGI-Perl/1.1
PERL_SEND_HEADER=On
REMOTE_ADDR=127.0.0.1
REQUEST_METHOD=POST
QUERY_STRING=
REMOTE_PORT=4129
SERVER_ADDR=127.0.0.1
MOD_PERL=mod_perl/1.21
SCRIPT_FILENAME=/usr/local/apache_1.3.9/mod_perl-1.21/t/net/perl/io/perlio.pl
SERVER_NAME=localhost
SERVER_PORT=8529
SERVER_ADMIN=[no address given]
SERVER_PROTOCOL=HTTP/1.0
SERVER_SIGNATURE=
HTTP_USER_AGENT=libwww-perl/5.45
PATH=/bin
SCRIPT_NAME=/perl/io/perlio.pl
REQUEST_URI=/perl/io/perlio.pl
KeyForPerlSetEnv=OK
CONTENT_TYPE=application/x-www-form-urlencoded
CONTENT_LENGTH=20
HTTP_HOST=localhost:8529

Content
-------
searchtype=Substring

ok 3
ok 4
pounding a bit...
ok 5
ok 6
ok 7
ok
internal/proxy......1..1
ok 1
ok
internal/redirect...module CGI is installed
1..5
ok 1
ok 2
ok 3
content=`OK'
ok 4
content=`'
ok 5
content=`OK'
ok
internal/rwrite.....1..2
ok 1
ok 2
ok
internal/stacked....1..4
ok 1
ok 2
ok 3
ok 4
ok
internal/table......module Apache::Table is installed
1..32
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
@notes = 3 tre
ok 15
DO: three => 3
DO: two => 2
DO: three => tre
ok 16
ok 17
DO: three => 3
DO: three => tre
ok 18
as_string match
headers_in:
Accept = application/x-perl
User-Agent = libwww-perl/5.45
Host = localhost:8529
TOTAL: 3

ok 19
ok 20
headers_out:
Connection = close
Content-Type = text/plain
TOTAL: 2

ok 21
ok 22
err_headers_out:
TOTAL: 0

ok 23
ok 24
notes:
three = 3
two = 2
three = 3
TOTAL: 3

ok 25
ok 26
dir_config:
UndefOnReload = On
KeyForPerlSetVar = OK
TOTAL: 2

ok 27
ok 28
subprocess_env:
DOCUMENT_ROOT = /usr/local/apache_1.3.9/mod_perl-1.21/t/docs
HTTP_HOST = localhost:8529
HTTP_USER_AGENT = libwww-perl/5.45
PATH = 

REMOTE_ADDR = 127.0.0.1
REMOTE_PORT = 4146
SCRIPT_FILENAME = /usr/local/apache_1.3.9/mod_perl-1.21/t/net/perl/tie_table.pl
SERVER_ADDR = 127.0.0.1
SERVER_ADMIN = [no address given]
SERVER_NAME = localhost
SERVER_PORT = 8529
SERVER_SIGNATURE = 
SERVER_SOFTWARE = Apache/1.3.9 (Unix) mod_perl/1.21 Perl/5.00503
GATEWAY_INTERFACE = CGI-Perl/1.1
SERVER_PROTOCOL = HTTP/1.0
REQUEST_METHOD = GET
QUERY_STRING = 
REQUEST_URI = /perl/tie_table.pl
SCRIPT_NAME = /perl/tie_table.pl
TOTAL: 19

ok 29
ok 30
ok 31
ok 32
ok
internal/taint......1..3
GET http://localhost:8529/perl/taint.pl?args

HTTP/1.1 200 OK
Connection: close
Date: Thu, 28 Oct 1999 21:27:28 GMT
Server: Apache/1.3.9 (Unix) mod_perl/1.21 Perl/5.00503
Content-Type: text/plain
Client-Date: Thu, 28 Oct 1999 21:27:28 GMT
Client-Peer: 127.0.0.1:8529

OK

ok 1
GET http://localhost:8529/perl/taint.pl?env

HTTP/1.1 200 OK
Connection: close
Date: Thu, 28 Oct 1999 21:27:28 GMT
Server: Apache/1.3.9 (Unix) mod_perl/1.21 Perl/5.00503
Content-Type: text/plain
Client-Date: Thu, 28 Oct 1999 21:27:28 GMT
Client-Peer: 127.0.0.1:8529

OK

ok 2
GET http://localhost:8529/perl/taint.pl?header_in

HTTP/1.1 200 OK
Connection: close
Date: Thu, 28 Oct 1999 21:27:28 GMT
Server: Apache/1.3.9 (Unix) mod_perl/1.21 Perl/5.00503
Content-Type: text/plain
Client-Date: Thu, 28 Oct 1999 21:27:28 GMT
Client-Peer: 127.0.0.1:8529

OK

ok 3
ok
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
modules/src.t     2   512     6    4  66.67%  3-6
8 tests skipped.
httpd terminated
httpd terminated
make: *** [run_tests] Error 29
==================== OUTPUT OF make test TEST_VERBOSE=1 2>&1  ===========

Reply via email to