Dear Mason Buddies:
Finally, I have my mason environment setup and running.
However,trying to deploy the Apprentice example(Apprentice-0.19.tar.gz) from
Chapter 8 of "Embedding Perl in HML with Mason" by Mr. Rolsky and Williams.
<http://www.masonbook.com/>
The following compilation error message showed whenever trying to start
Apache server:
My Mason environment are:
Apache 1.3.41
mod_perl 1.30
Mason 1.41
On CentOS Linux 5.3
and the http.conf configuration is:
PerlModule Apprentice
PerlSetVar MasonCompRoot /opt/apache_1.3.41/htdocs
PerlModule HTML::Mason::ApacheHandler
<Directory /opt/apache_1.3.41/htdocs>
<LocationMatch "(\.html|\.css)$">
SetHandler perl-script
PerlHandler HTML::Mason::ApacheHandler
</LocationMatch>
</Directory>
=================================================
../bin/apachectl start
Syntax error on line 206 of /opt/apache_1.3.41/conf/httpd.conf:
BEGIN failed--compilation aborted at
/opt/ActivePerl-5.10/site/lib/Apprentice/Data.pm line 263.
Compilation failed in require at /opt/ActivePerl-5.10/site/lib/Apprentice.pm
line 12.
BEGIN failed--compilation aborted at
/opt/ActivePerl-5.10/site/lib/Apprentice.pm line 12.
Compilation failed in require at (eval 6) line 3.
===================================================
Thanks for yoru advice in advance
KT
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users