SPUG: installing and configure Mason (Help!!!)

Luis Medrano lmzaldivar at mac.com
Tue Sep 28 14:34:23 CDT 2004


I install Mason using perl -MCPAN -e shell in a fedora core 2 box. I follow the instructions of:

adding this lines one httpd.conf:
    PerlModule HTML::Mason::ApacheHandler

    <Location />
        SetHandler perl-script
        PerlHandler HTML::Mason::ApacheHandler

and I reboot apache and I got this error:

httpd -k start
[Tue Sep 28 14:03:44 2004] [error] Can't locate Apache/Constants.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 13.!BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 13.!Compilation failed in require at (eval 1) line 3.!
[Tue Sep 28 14:03:44 2004] [error] Can't load Perl module HTML::Mason::ApacheHandler for server domain.com:0, exiting...!

More information about the spug-list mailing list