El Capitan wrote:

> I'm trying to install apache 1.3.22 and modperl 1.26 and am running into
> some issues.  I tried running:
> 
> perl Makefile.PL DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
> APACHE_PREFIX=/mydir/apache
> 
> and everything looked ok.  Then I ran "make test" and got this:
> 
> ...
> ...
> cp t/conf/mod_perl_srm.conf t/conf/srm.conf
> ../apache_1.3.22/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
> Can't locate object method "new" via package "URI::URL" (perhaps you forgot
> to load "URI::URL"?) at ../blib/lib/Apache/test.pm line 252.
> 
> Going to the test program shows that its making a call to URI::URL.  I have
> installed URI and it is clearly in the path.  Just for kicks, I put "use
> URI::URL();" in the file but then it does this:


Check the mailing archives, e.g. try:

 http://mathforum.org/epigone/modperl/sehpholzhex

   http://mathforum.org/epigone/modperl/fermspolwhoi

The two indicate broken Perl installation and suggest a fresh download 
of URI::URL/LWP


> make[1]: Leaving directory `/home/thecap/mod_perl-1.26/Util'
> cp t/conf/mod_perl_srm.conf t/conf/srm.conf
> ../apache_1.3.22/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 error_log file has:
> 
> [Tue Oct 16 11:26:01 2001] [crit] (98)Address already in use: make_sock:
> could not bind to port 8529
> 
> Anyone have suggestions?

The server that was started during the previous 'make test' didn't quit. 
Try 'make kill_httpd' or even 'killall httpd' (if you have only test 
httpd running, or check the pid with ps(1))

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

Reply via email to