thunders has asked for the wisdom of the Perl Monks concerning the following question:
and I get a 500 error, with the following log:<html><body> %my $planet = "World"; Hello <% planet %>! </body></html>
Mason seems ok when i run it standalone[Tue Sep 16 06:08:39 2003] [error] [client 10.0.1.159] Can't locate ob +ject method "new" via package "Apache::Request" at /usr/lib/perl5/sit +e_perl/5.8.0/i386-linux-thread-multi/Apache/Request.pm line 22.
Apparently the problem is only with Apache Request which seems to have installed fine according to cpan. Except that the test phase did return an error..use strict; use HTML::Mason; my $interp = HTML::Mason::Interp->new(); my $comp = $interp->make_component(comp_source => <<'END'); % my $planet = "World"; Hello <% $planet %> END $interp->exec($comp);
Has anyone ever encountered anything similar with Apache::Request? I googled and found a few similar messages, but no clear cut solution to the problem. My PC runs Mandrake 9.1, which runs a seperate apache process for mod_perl, if that matters.!!! no test server configured, please specify an httpd or an apxs othe +r than /usr/sbin/apxs or put either in your PATH. For example: t/TEST -httpd /path/to/bin/httpd make: *** [run_tests] Error 1 /usr/bin/make test -- NOT OK
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Apache::Request causing Mason to fail.
by perrin (Chancellor) on Sep 16, 2003 at 14:51 UTC | |
by thunders (Priest) on Sep 16, 2003 at 15:10 UTC | |
by jeffa (Bishop) on Sep 16, 2003 at 15:19 UTC | |
by perrin (Chancellor) on Sep 16, 2003 at 16:02 UTC | |
|
Re: Apache::Request causing Mason to fail.
by thunders (Priest) on Sep 16, 2003 at 21:48 UTC | |
|
Re: Apache::Request causing Mason to fail.
by Anonymous Monk on Sep 16, 2003 at 15:15 UTC | |
by thunders (Priest) on Sep 16, 2003 at 15:47 UTC |