I experienced a similar problem (I was upgrading one thing, which
let to upgrading another,... which led to why not upgrade just about
everything :-)

My configuration/versions are pretty similar.

I modified lib/Apache/test.pm, at line 8 I put

use URI::URL ();

and then I modified t/internal/hooks.t, also at line 8 I added

use URI::URL ();

That seemed to get past the error and the tests passed.

HTH

> Hi there!
> 
> I'm trying to compile apache_1.3.22+mod_perl-1.26 on a redhat 7.1
> linux box. I replace the original gcc  2.xx with gcc version 3.0.2
> and perl 5.6.0 with perl 5.6.1 both compiled in the same box.
> 
> Any help will be highly appreciated
> 
> _ Jose Albert
> 
> These are the last lines of the output of 'make test'
> 
> ../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.
> make: *** [run_tests] Error 255
> 
> ********* This is the error log **************
> [root@lancelot mod_perl-1.26]# cat t/logs/error_log
> [notice] Destruction->DESTROY called for $global_object
> [Wed Nov 14 12:41:28 2001] [warn] [notice] child_init for process
> 4115, report any problems to [no address given]
> 

Reply via email to