Re: mod_perl make test fails

2001-11-15 Thread Marcus Taylor


we had this same problem.

make test expects 3 pre-loaded perl modules to be present
in order to execute.  One of them is LWP::UserAgent (part of libwww-perl)

The problem you specify only occurs if you have installed a version of
libwww-perl that is > 5.53 (probably v. 5.6)

If you don't want to downgrade, you can install 5.53 to a local directory,
set $PERL5LIB to include it, then rerun make test.

Marcus Taylor
Semantico
http://www.semantico.com/

[EMAIL PROTECTED] wrote:

>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]
>
>






Re: mod_perl make test fails

2001-11-21 Thread Marcus Taylor

>
>
> 
>

this fixes it (reposted here)

>
>
>make test expects 3 pre-loaded perl modules to be present
>
>in order to execute.  One of them is LWP::UserAgent (part of libwww-perl)
>
>
>The problem you specify only occurs if you have installed a version of
>
>libwww-perl that is > 5.53 (probably v. 5.6)
>
>
>If you don't want to downgrade, you can install 5.53 to a local directory,
>
>set $PERL5LIB to include it, then rerun make test.
>
>
>Marcus Taylor
>
>Semantico
>
>http://www.semantico.com/
>