You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Nick Gerakines <ni...@networkdynamicscorp.com> on 2004/08/04 03:13:21 UTC

Error message, leads me to think mod_perl doesn't like me

Hey folks,
  I'm new to the list and have a question right off of the bat. I've
downloaded apache 2.0.50 and mod_perl 1.99_14. Built both and installed
both. Didn't run into any issues until I modified the httpd.conf file to
use mod_perl. This is the error message that I'm getting:

[Tue Aug 03 20:48:42 2004] [error] Can't locate object method "boot" via
package "mod_perl" at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache/Constants.
pm line 8.\nCompilation failed in require at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache.pm line
6.\nBEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache.pm line
6.\nCompilation failed in require at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line
88.\nBEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line
88.\nCompilation failed in require at (eval 2) line 3.\n
[Tue Aug 03 20:48:42 2004] [error] Can't load Perl module
HTML::Mason::ApacheHandler for server ns.eblocs.com:0, exiting...

Redhat 9
Apache/2.0.50
mod_perl-1.99_14
HTML-Mason 1.26

The eventual goal is to have Mason (http://www.masonhq.com) working.
Anyone have any ideas as to how to get this working? I'm a bit lost.
Looks like Apache::Constants but I don't know how to begin to 'fix' it.
Any info would be nice. Any other tips and advice would be great too.
 ~ Nick (nick)


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: Error message, leads me to think mod_perl doesn't like me

Posted by Perrin Harkins <pe...@elem.com>.
On Tue, 2004-08-03 at 21:13, Nick Gerakines wrote:
> [Tue Aug 03 20:48:42 2004] [error] Can't load Perl module
> HTML::Mason::ApacheHandler for server ns.eblocs.com:0, exiting...
[...]
> mod_perl-1.99_14
> HTML-Mason 1.26

You're trying to run Mason::ApacheHandler which is for mod_perl 1 on
mod_perl 2.  You need to follow the instructions for running Mason on
mod_perl 2:
http://masonhq.com/?ApacheModPerl2

- Perrin


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html