You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by mo...@datacourse.com on 2001/11/14 21:29:49 UTC
mod_perl make test fails
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
Posted by Marcus Taylor <ma...@semantico.com>.
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/
mod@datacourse.com 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
Posted by Ged Haywood <ge...@www2.jubileegroup.co.uk>.
Hi there,
On Wed, 14 Nov 2001 mod@datacourse.com wrote:
> 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.
Get rid of 5.6.0. It's probably not the problem, but you don't want it.
> These are the last lines of the output of 'make test'
> [snip]
> 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
Can we take it that you have URL.pm somewhere? What happens if you type
perldoc URI::URL
?
Could be that you just have the wrong paths set up (but you don't seem
to have read mod_perl/SUPPORT so nobody knows... :)
Anyway, it probably doesn't matter unless you're going to go live with a
commercial site on your installation. I'd guess your server works OK.
Have you done "make install"? Can you load the Apache test page from a
browser?
73,
Ged.