Hello all,

I have scanned through the list archives, checked out the online docs 
(http://www.masonhq.com/?ApacheModPerl2 
, etc), and I am still lacking clue on how to solve the problem  
described below.

I am trying to upgrade RT from 3.6.3 to 3.8.4 on a Gentoo box running  
Apache2, with both mod_perl and mod_perl2 installed, as well as a mix  
of Perl modules in vendor_perl and site_perl that occasionally  
conflict (I mention this since this could very well be the source of  
my problem!).

One of the requirements for RT 3.8.4 is a newer HTML::Mason >= 1.36.  
When I try to upgrade HTML::Mason, it tells me that Apache::Request is  
a prerequisite. When I try to install Apache::Request (libapr-1.34)  
that errors out at test:

t/apreq/big_input....# Failed test 1 in t/apreq/big_input.t at line 40
t/apreq/big_input....NOK 1# Failed test 2 in t/apreq/big_input.t at  
line 40 fail #2
t/apreq/big_input....NOK 2# Failed test 3 in t/apreq/big_input.t at  
line 40 fail #3
t/apreq/big_input....NOK 3# Failed test 4 in t/apreq/big_input.t at  
line 40 fail #4
t/apreq/big_input....NOK 4# Failed test 5 in t/apreq/big_input.t at  
line 40 fail #5
<so on>

That's because:

[Wed Jul 22 12:38:19 2009] [error] [client 127.0.0.1] failed to  
resolve handler `TestApReq::big_input':
     Can't locate object method "boot" via package "mod_perl" at
     /usr/lib/perl5/vendor_perl/5.8.7/i386-linux/Apache/Table.pm line 6.

Problem seems to be the use of mod_perl, rather than mod_perl2.

I installed Apache2::Request (libapr2) as well, but HTML::Mason still  
insists that Apache::Request is a prerequisite.

I have looked through the HTML::Mason code and see checks for Apache  
vs Apache2, but those don't seem to be working as I thought they might.

What am I doing wrong?

I don't mind using CGI instead of mod_perl2/Apache2::Request, but I  
want to make sure that I am doing the right thing before I force  
install HTML::Mason.

Thank you,

        --ravi



------------------------------------------------------------------------------
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to