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
In reply to Apache::Request causing Mason to fail. by thunders
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |