On Wed, Mar 11, 2009 at 06:42:33PM -0700, Bill Walz wrote:
> Do you have libapreq2 installed?  I have found that I have to download  
> it and manually install from CPAN with the standard perl Makefile.pl -- 
> with-apache2-apxs=/somewhere/bin/apxs
> 
> The exact arg may be wrong but it's in the install.txt
> 
> -Bill

I think I'm ok there--although I've used binaries for Debian Lenny as
described here:
   http://www.masonhq.com/?WithApacheSession
In fact, I found this page while googling the error generated by a
missing libapreq2.

The way I read it, the pair args_method => 'mod_perl' is needed in the
ApacheHandler declaration because it is no longer the default with
Apache2.  In fact, I need it in order for Mason to generate my pages.

But then, by the time the "_initialize" sub in "new" is called
args_method has "forgotten" it is mod_perl.  How can that be?

Mark

> 
> On Mar 11, 2009, at 5:37 PM, Mark Copper wrote:
> 
> >I've just moved to apache2/mod_perl2.  And I've added
> > args_method   => "mod_perl"
> >to my HTML::Mason::ApacheHandler->new definition in my handler
> >definition.  Nevertheless, I'm still getting the warning
> > Loading CGI at runtime.  You could increase shared memory....
> >in my Apache2 error log.  Indicating that Mason is not seeing  
> >mod_perl.
> >
> >Can someone take a moment to set me aright?
> >
> >Thanks.
> >
> >Mark
> >
> >------------------------------------------------------------------------------
> >Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM)  
> >are
> >powering Web 2.0 with engaging, cross-platform capabilities. Quickly  
> >and
> >easily build your RIAs with Flex Builder, the Eclipse(TM)based  
> >development
> >software that enables intelligent coding and step-through debugging.
> >Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> >_______________________________________________
> >Mason-users mailing list
> >Mason-users@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/mason-users

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to