On Tue, Jul 24, 2007 at 09:13:13PM +1000, Gavin Carr wrote:
> I've got RPMs available here:
> 
>   http://www.openfusion.com.au/mrepo/centos4-i386/
>   http://www.openfusion.com.au/mrepo/centos4-x86_64/
> 
> for mod_perl 2.0.3 and libapreq 2.0.8 that should get you up and running.
> I'm using them on several production sites, so I believe they're reasonably
> solid. I don't have Mason packaged, however - I prefer to install more 
> complex perl modules from cpan.

In case anyone cares, the following combo seems to work:

>From RedHat for:

  Red Hat Enterprise Linux AS release 4 (Nahant Update 4)

  apr-0.9.4-24.5.i386.rpm
  apr-util-0.9.4-21.i386.rpm
  httpd-2.0.52-25.ent.i386.rpm
  httpd-suexec-2.0.52-25.ent.i386.rpm
  mailcap-2.1.17-1.noarch.rpm

>From Gavin's repository above, I have:

  libapreq2-2.08-1.el4.i686.rpm
  mod_perl-2.0.3-1.of.el4.i686.rpm
  perl-libapreq2-2.08-1.el4.i686.rpm

>From the Dries repository, I have (circa late last week):

  perl-Class-Container-0.12-1.2.el4.rf.noarch.rpm
  perl-Class-Data-Inheritable-0.06-1.el4.rf.noarch.rpm
  perl-Devel-StackTrace-1.15-1.el4.rf.noarch.rpm
  perl-Exception-Class-1.23-1.el4.rf.noarch.rpm
  perl-HTML-Mason-1.3101-1.2.el4.rf.noarch.rpm
  perl-Params-Validate-0.86-1.el4.rf.i386.rpm

Collectively, this satisfies reported RPM dependancies.  However,
setting up a simple test of Mason itself yields:

Via 'PerlSetVar MasonArgsMethod CGI' (the default):

  [Tue Jul 24 13:06:03 2007] [error] [client 172.20.100.178] Can't
  locate Apache/Response.pm in @INC (@INC contains: [snip]) at
  /usr/lib/perl5/5.8.5/CGI.pm line 186.\nCompilation failed in
  require at /usr/lib/perl5/vendor_perl/5.8.5/HTML/Mason/ApacheHandler.pm
  line 692.\n

What we see under the hood is 'require CGI'.  This is CGI 3.05,
from RedHat's perl distribution.  I have Apache2::Response from
mod_perl, but not Apache::Response.

But, now the 'mod_perl' argument method _does_ work for me, at least
in simple tests.

So - I thank the list for guidance, and especically Gavin for having
mod_perl and libapreq RPMs on hand for RH4.

I haven't explored updating CGI.pm itself, or whether or not
Apache2::Request is critically still in 'development stage', as
per:

  http://www.masonhq.com/?ApacheModPerl2

Any advice on _that_ topic would be appreciated.  But, hey, I'm
much farther along than I was.

Thanks again...

> Cheers,
> Gavin

-- 
Brian Reichert                          <[EMAIL PROTECTED]>
55 Crystal Ave. #286                    Daytime number: (603) 434-6842
Derry NH 03038-1725 USA                 BSD admin/developer at large    

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to