> On Tue, 25 Sep 2001, Gerald Richter wrote:
>
> > MP_INST_APACHE2=1 ...
>
> that could be the problem, haven't tested in a while.

Yes, without that setting the INST_LIB is set correctly, however make test
fails:

/usr/bin/perl5.6.1 -Iblib/arch -Iblib/lib \
t/TEST -clean
setting ulimit to allow core files
ulimit -c unlimited
exec t/TEST -clean
APACHE_USER= APXS= APACHE_PORT= APACHE_GROUP= APACHE= \
/usr/bin/perl5.6.1 -Iblib/arch -Iblib/lib \
t/TEST
setting ulimit to allow core files
ulimit -c unlimited
exec t/TEST
/opt/apache2/bin/httpd  -d /usr/msrc/cvs/modperl-2.0/t -f
/usr/msrc/cvs/modperl-2.0/t/conf/httpd.conf -DAPACHE2 -DPERL_USEITHREADS
using Apache/2.0.26-dev (threaded MPM)
waiting for server to warm up...ok
server localhost:8529 started
apache/cgihandler...FAILED tests 1-2
        Failed 2/2 tests, 0.00% okay
apache/compat.......FAILED tests 1-2
        Failed 2/2 tests, 0.00% okay
apache/constants....ok
apache/post.........FAILED test 2
        Failed 1/2 tests, 50.00% okay
apache/read.........FAILED test 1
        Failed 1/1 tests, 0.00% okay
apache/scanhdrs.....NOK 2Use of uninitialized value in string eq at
apache/scanhdrs.t line 18.
apache/scanhdrs.....dubious
        Test returned status 9 (wstat 2304, 0x900)
DIED. FAILED tests 1-4
        Failed 4/4 tests, 0.00% okay
api/access..........FAILED before any test output arrived
api/aplog...........FAILED before any test output arrived
api/conn_rec........FAILED before any test output arrived
api/lookup_uri......FAILED before any test output arrived
api/module..........FAILED before any test output arrived
api/r_subclass......FAILED before any test output arrived
api/request_rec.....FAILED before any test output arrived
api/response........FAILED before any test output arrived
api/rutil...........FAILED before any test output arrived
api/send_fd.........FAILED test 2
        Failed 1/3 tests, 66.67% okay
api/sendfile........FAILED test 2
        Failed 1/3 tests, 66.67% okay
api/server_rec......FAILED before any test output arrived
api/uri.............FAILED before any test output arrived
apr/constants.......ok
directive/perlrequire.Use of uninitialized value in concatenation (.) or
string at directive/perlrequire.t line 25.
directive/perlrequire.dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
        Failed 2/2 tests, 0.00% okay
filter/input_body...FAILED tests 1-2
        Failed 2/2 tests, 0.00% okay
filter/input_msg....Use of uninitialized value in concatenation (.) or
string at filter/input_msg.t line 11.
Use of uninitialized value in concatenation (.) or string at
/usr/msrc/cvs/modperl-2.0/blib/lib/Apache/TestRequest.pm line 101.
filter/input_msg....dubious
        Test returned status 29 (wstat 7424, 0x1d00)
filter/lc...........FAILED test 1
        Failed 1/1 tests, 0.00% okay
hooks/access........FAILED tests 2-3
        Failed 2/4 tests, 50.00% okay
hooks/authen........FAILED tests 2-3
        Failed 2/4 tests, 50.00% okay
hooks/authz.........FAILED tests 2-3
        Failed 2/4 tests, 50.00% okay
hooks/trans.........FAILED tests 2-3
        Failed 2/3 tests, 33.33% okay
modules/cgi.........NOK 5Use of uninitialized value in string eq at
modules/cgi.t line 26.
modules/cgi.........dubious
        Test returned status 9 (wstat 2304, 0x900)
DIED. FAILED tests 2-6
        Failed 5/6 tests, 16.67% okay
modules/cgiupload...FAILED tests 1-2
        Failed 2/2 tests, 0.00% okay
protocol/echo.......NOK 1Can't use an undefined value as a symbol reference
at protocol/echo.t line 17.
protocol/echo.......dubious
        Test returned status 22 (wstat 5632, 0x1600)
DIED. FAILED tests 1-3
        Failed 3/3 tests, 0.00% okay
protocol/echo_filter.NOK 1Can't use an undefined value as a symbol reference
at protocol/echo_filter.t line 17.
protocol/echo_filter.dubious
        Test returned status 22 (wstat 5632, 0x1600)
DIED. FAILED tests 1-3
        Failed 3/3 tests, 0.00% okay
protocol/eliza......skipped test on this platform
Failed Test             Status Wstat Total Fail  Failed  List of Failed
----------------------------------------------------------------------------
----
apache/cgihandler.t                    2    2 100.00%  1-2
apache/compat.t                        2    2 100.00%  1-2
apache/post.t                          2    1  50.00%  2
apache/read.t                          1    1 100.00%  1
apache/scanhdrs.t          9  2304     4    4 100.00%  1-4
api/access.t                          ??   ??       %  ??
api/aplog.t                           ??   ??       %  ??
api/conn_rec.t                        ??   ??       %  ??
api/lookup_uri.t                      ??   ??       %  ??
api/module.t                          ??   ??       %  ??
api/r_subclass.t                      ??   ??       %  ??
api/request_rec.t                     ??   ??       %  ??
api/response.t                        ??   ??       %  ??
api/rutil.t                           ??   ??       %  ??
api/send_fd.t                          3    1  33.33%  2
api/sendfile.t                         3    1  33.33%  2
api/server_rec.t                      ??   ??       %  ??
api/uri.t                             ??   ??       %  ??
directive/perlrequire.t  255 65280     2    2 100.00%  1-2
filter/input_body.t                    2    2 100.00%  1-2
filter/input_msg.t        29  7424    ??   ??       %  ??
filter/lc.t                            1    1 100.00%  1
hooks/access.t                         4    2  50.00%  2-3
hooks/authen.t                         4    2  50.00%  2-3
hooks/authz.t                          4    2  50.00%  2-3
hooks/trans.t                          3    2  66.67%  2-3
modules/cgi.t              9  2304     6    5  83.33%  2-6
modules/cgiupload.t                    2    2 100.00%  1-2
protocol/echo.t           22  5632     3    3 100.00%  1-3
protocol/echo_filter.t    22  5632     3    3 100.00%  1-3
1 test skipped.
server localhost:8529 shutdown
error running tests (please examine t/logs/error_log)
Failed 30/33 test scripts, 9.09% okay. 38/67 subtests failed, 43.28% okay.

and the error log contains

[Tue Sep 25 19:57:38 2001] [notice] Apache/2.0.26-dev (Unix)
mod_perl/1.99_01-dev Perl/v5.6.1 configured -- resuming normal operations
[Tue Sep 25 19:57:38 2001] [info] Server built: Sep 25 2001 09:10:37
[Tue Sep 25 19:57:41 2001] [error] [client 127.0.0.1] File does not exist:
/usr/msrc/cvs/modperl-2.0/t/htdocs/TestApache::cgihandler
[Tue Sep 25 19:57:41 2001] [error] [client 127.0.0.1] File does not exist:
/usr/msrc/cvs/modperl-2.0/t/htdocs/TestApache::cgihandler
[Tue Sep 25 19:57:44 2001] [error] [client 127.0.0.1] File does not exist:
/usr/msrc/cvs/modperl-2.0/t/htdocs/TestApache::compat
[Tue Sep 25 19:57:44 2001] [error] [client 127.0.0.1] File does not exist:
/usr/msrc/cvs/modperl-2.0/t/htdocs/TestApache::compat
[Tue Sep 25 19:57:47 2001] [error] [client 127.0.0.1] File does not exist:
/usr/msrc/cvs/modperl-2.0/t/htdocs/TestApache::post
[Tue Sep 25 19:57:47 2001] [error] [client 127.0.0.1] File does not exist:
/usr/msrc/cvs/modperl-2.0/t/htdocs/TestApache::post
[Tue Sep 25 19:57:50 2001] [error] server reached MaxClients setting,
consider raising the MaxClients setting
[Tue Sep 25 19:57:52 2001] [error] [client 127.0.0.1] File does not exist:
/usr/msrc/cvs/modperl-2.0/t/htdocs/TestApache::read
[Tue Sep 25 19:57:54 2001] [error] [client 127.0.0.1] File does not exist:
/usr/msrc/cvs/modperl-2.0/t/htdocs/TestApache::scanhdrs
[Tue Sep 25 19:57:57 2001] [error] [client 127.0.0.1] File does not exist:
/usr/msrc/cvs/modperl-2.0/t/htdocs/TestAPI::access
[Tue Sep 25 19:58:00 2001] [error] [client 127.0.0.1] File does not exist:
/usr/msrc/cvs/modperl-2.0/t/htdocs/TestAPI::aplog
[Tue Sep 25 19:58:03 2001] [error] [client 127.0.0.1] File does not exist:
/usr/msrc/cvs/modperl-2.0/t/htdocs/TestAPI::conn_rec
[Tue Sep 25 19:58:07 2001] [error] [client 127.0.0.1] File does not exist:
/usr/msrc/cvs/modperl-2.0/t/htdocs/TestAPI::lookup_uri
[Tue Sep 25 19:58:11 2001] [error] [client 127.0.0.1] File does not exist:
/usr/msrc/cvs/modperl-2.0/t/htdocs/TestAPI::module


This looks to me like still something with @INC is wrong....

If anybody has a quick idea how to fix this or where to look for the problem
let me know. Otherwise I try to investigate myself.

>
> no, t/conf/mime.types should either be inherited from the httpd.conf found
> by t/TEST (using apxs) or it should be generated by t/TEST.
>

I have retried, no t/conf/mime.types is generated and Apache doesn't start
without copying that file into t/conf.


Gerald

P.S. Here is perl -V if this helps:

Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=linux, osvers=2.4.2, archname=i686-linux-thread-multi
    uname='linux venus 2.4.2 #2 thu mar 22 14:15:00 cet 2001 i686 unknown '




config_args='-des -Uinstallusrbinperl -Dusethreads -Dprefix=/opt/perlt5.6.1'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
  Compiler:
    cc='cc', ccflags
='-D_REENTRANT -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-D_REENTRANT -fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='2.95.2 19991024 (release)', 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 -lpthread -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
    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):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
  Built under linux
  Compiled at Apr 23 2001 06:50:06
  %ENV:
    PERL5DB="BEGIN { require Devel::ptkdb }"
  @INC:
    /opt/perlt5.6.1/lib/5.6.1/i686-linux-thread-multi
    /opt/perlt5.6.1/lib/5.6.1
    /opt/perlt5.6.1/lib/site_perl/5.6.1/i686-linux-thread-multi
    /opt/perlt5.6.1/lib/site_perl/5.6.1
    /opt/perlt5.6.1/lib/site_perl
    .


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to