Alfred Vahau wrote:
Hello,
I am posting this matter to the list because it takes so long from my
end of the world to download the relevant information for trouble
shooting. My problem is as follows:
I downloaded mod_perl-1.26 and apache_1.3.24 in May this year. I
followed all the instructions in the mod_perl guide on how to set up the
server and had it running successfully without any problems.
Now I decided to upgrade to mod_perll-1.27 and apache_1.3.26.
I downlloaded from the mirror site at nagoya.
I am following the same instructions which are, after uncompressing
them:
1. perl Makefile.PL APACH_SRC = ../apache_1.3.26/src \
DO_HTTPD = 1 USE_APACI = 1 EVERYTHING = 1
Everthing goes smoothly. Then:
2. make && make test && make install
The executiion is smooth until the test part which I believe fails and
hence the install leg is aborted?
The error output at the end is:
../apache_1.3.26/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 0
still waiting for server to warm up...............not ok
server failed to start! (please examine t/logs/error_log) at t/TEST line
95.
make: *** [run_tests] Error 9
The t/logs/error_log reads
[notice] Destruction->DESTROY called for $global_object
Prototype mismatch: sub Socket::INADDR_ANY vs () at
/usr/lib/perl5/5.6.0/i386-linux/Socket.pm line 328.
Prototype mismatch: sub Socket::INADDR_BROADCAST vs () at
/usr/lib/perl5/5.6.0/i386-linux/Socket.pm line 329.
Prototype mismatch: sub Socket::INADDR_LOOPBACK vs () at
/usr/lib/perl5/5.6.0/i386-linux/Socket.pm line 330.
Prototype mismatch: sub Socket::INADDR_LOOPBACK vs () at
/usr/lib/perl5/5.6.0/i386-linux/Socket.pm line 331.
[Wed Jul 31 13:12:16 2002] [warn] [notice] child_init for process 3690,
report any problems to [no address given]
[...]
I think the failure is due to incomplete mod_perl installation.
of course. You run:
make && make test && make install
'make test' fails, and therefore 'make install' is not run. simply run it.
regarding the failing 'make test', you say that you run 5.6.1, and the
error shows 5.6.0 in the path, how so? what your 'perl -V' says? I guess
you have libs from 5.6.0 installed and they get on the way.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --->
http://perl.apache.org
mailto:stas@xxxxxxxxxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com