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

Luis Medrano lmzaldivar at mac.com
Tue Sep 28 15:08:30 CDT 2004


List,

I did this:
perl -MCPAN -e'install Apache::Constants'
but now showing this:

Enter `q' to stop search
Please tell me where I can find your apache src
 [../apache_x.x/src]

how can I find apache path?

Thanks,
Luis


On Tuesday, September 28, 2004, at 12:52PM, Tom Heady <tom at heady.org> wrote:

>It seems you are missing the Apache::Constants module:
>
>perl -MCPAN -e'install Apache::Constants'
>
>
>Tom
>
>> List,
>>
>> I install Mason using perl -MCPAN -e shell in a fedora core 2 box. I
>> follow the instructions of:
>> http://www.masonhq.com/docs/manual/Mason.html#installation
>>
>> adding this lines one httpd.conf:
>>     PerlModule HTML::Mason::ApacheHandler
>>
>>     <Location />
>>         SetHandler perl-script
>>         PerlHandler HTML::Mason::ApacheHandler
>>     </Location>
>>
>> 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...!
>>
>> _____________________________________________________________
>> Seattle Perl Users Group Mailing List
>> POST TO: spug-list at mail.pm.org  http://spugwiki.perlocity.org
>> ACCOUNT CONFIG: http://mail.pm.org/mailman/listinfo/spug-list
>> MEETINGS: 3rd Tuesdays, Location Unknown
>> WEB PAGE: http://www.seattleperl.org
>>
>
>
>


More information about the spug-list mailing list