Hi,

I am running Solaris 8 and have installed Apache 2:

bash-2.03# /usr/apache/bin/httpd -v
Server version: Apache/2.0.39
Server built:   Aug 20 2002 11:26:54

I also have installed perl 5.8.0:

bash-2.03# perl -v

This is perl, v5.8.0 built for sun4-solaris

I am trying to install mod_perl 2 and I am having problems with the 'make
test' command. I have built apache as follows:

./configure --enable-layout=Solaris --enable-perl=shared --with-mpm=prefork
(as normal user)
make            (as normal user)
make test     (as root user)
make install  (as root user)

this seems to install fine. I have then configured mod_perl as follows:

perl Makefile.PL MP_AP_PREFIX=/usr/apache MP_INST_APACHE2=1 (as normal user)
make (as normal user)
make test (as root user)

And the 'make test' fails:

Failed Test             Stat Wstat Total Fail  Failed  List of Failed
----------------------------------------------------------------------------
---
apache/cgihandler.t                    2    2 100.00%  1-2
apache/compat.t                        3    3 100.00%  1-3
apache/post.t                          2    1  50.00%  2
apache/read.t                          1    1 100.00%  1
apache/scanhdrs.t         29  7424     4    4 100.00%  1-4
api/send_fd.t                          3    2  66.67%  2-3
api/sendfile.t                         3    2  66.67%  2-3
directive/perlmodule.t                 1    1 100.00%  1
directive/perlrequire.t                1    1 100.00%  1
directive/setupenv.t                   3    1  33.33%  2
filter/input_body.t                    2    2 100.00%  1-2
filter/lc.t                            1    1 100.00%  1
hooks/access.t                         4    2  50.00%  2-3
hooks/trans.t                          3    3 100.00%  1-3
modperl/getc.t                         2    1  50.00%  2
modperl/readline.t                     2    1  50.00%  2
modperl/sameinterp.t      29  7424    12   12 100.00%  1-12
modules/include.t                      6    5  83.33%  1 3-6
protocol/echo.t          255 65280     3    2  66.67%  2-3
protocol/echo_filter.t   255 65280     3    2  66.67%  2-3
50 tests skipped.

So, as you can see not very good. After looking at the recommended log file
(t/logs/errorlog) I see the following:

bash-2.03# more t/logs/error_log
END in modperl_extra.pl, pid=29543
[Tue Aug 20 15:01:19 2002] [notice] Apache/2.0.39 (Unix)
mod_perl/1.99_04-dev Perl/v5.8.0 configured -- resuming normal oper
ations
[Tue Aug 20 15:01:19 2002] [info] Server built: Aug 20 2002 11:26:54
[Tue Aug 20 15:01:19 2002] [debug] prefork.c(1035): AcceptMutex: pthread
(default: pthread)
[Tue Aug 20 15:01:20 2002] [error] Can't locate TestHooks/init/first.pm in
@INC (@INC contains: /export/home/software/apache
_download_2_0_39/mod_perl-1.99_04/t
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/blib/lib/Apach
e2 /export/h
ome/software/apache_download_2_0_39/mod_perl-1.99_04/blib/arch/Apache2
/export/home/software/apache_download_2_0_39/mod_perl
-1.99_04/Apache-Test/lib
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/lib
/export/home/software/apache_down
load_2_0_39/mod_perl-1.99_04/blib/lib
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/blib/arch
/export/home/s
oftware/apache_download_2_0_39/mod_perl-1.99_04/t/response
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/t/p
rotocol
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/t/hooks
/export/home/software/apache_download_2_0_39/m
od_perl-1.99_04/t/filter
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/t/htdocs/testd
irective/perlmodule-vh
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/t/htdocs/testd
irective/main /usr/local/lib/perl5/5.8.0/sun4-so
laris /usr/local/lib/perl5/5.8.0
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris
/usr/local/lib/perl5/site_perl/5.8.0 /usr
/local/lib/perl5/site_perl) at (eval 15) line 3.

[Tue Aug 20 15:01:20 2002] [error] failed to resolve handler
`TestHooks::init::first'
[Tue Aug 20 15:01:20 2002] [error] [client 127.0.0.1] Can't locate
TestHooks/init/first.pm in @INC (@INC contains: /export/h
ome/software/apache_download_2_0_39/mod_perl-1.99_04/t
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/blib/li
b/Apache2
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/blib/arch/Apac
he2 /export/home/software/apache_downl
oad_2_0_39/mod_perl-1.99_04/Apache-Test/lib
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/lib
/export/home/s
oftware/apache_download_2_0_39/mod_perl-1.99_04/blib/lib
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/blib/
arch
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/t/response
/export/home/software/apache_download_2_0_39/m
od_perl-1.99_04/t/protocol
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/t/hooks
/export/home/software/apach
e_download_2_0_39/mod_perl-1.99_04/t/filter
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/t/htdocs/testd
irec
tive/perlmodule-vh
/export/home/software/apache_download_2_0_39/mod_perl-1.99_04/t/htdocs/testd
irective/main /usr/local/lib/
perl5/5.8.0/sun4-solaris /usr/local/lib/perl5/5.8.0
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris /usr/local/lib/perl5/s
ite_perl/5.8.0 /usr/local/lib/perl5/site_perl) at (eval 15) line 3.


And this is repeated over and over. I have tried to find reference to these
errors with no such luck, and would appreciate it if anyone on this list can
shed some light on these errors and how I might resolve them.

Thanks,
Tom

Reply via email to