Hey Ryan,
Thanks, you actually caught something I forgot to do. I did install
the libapreq2 module by hand and used the Makefile.PL with the apxs
flag because I wanted to get ::Request and ::Cookie in one shot. I
did add the LoadModule line to my httpd.conf file.
BUT... I never restarted apache, so it never loaded in the libapreq2
module. I should have caught that when I pasted in the Apache
signature string in that one email.
This is what the signature string looks like now that the module is
loaded...
Apache/2.0.55 (Unix) DAV/2 PHP/4.4.2 SVN/1.3.1
mod_apreq2-20051231/2.5.7 mod_perl/2.0.2 Perl/v5.8.6 Server at
sfinteractive Port 80
I am still in the process of configuring the RT software, so I will
let you know how things work out.
Thanks for jogging my memory on that last email.
Cheers,
Matt Duffy
On May 8, 2006, at 7:49 PM, Ryan Perry wrote:
How did you install libapreq2?
The following is a bit dated, but #3 is correct. This may or may
not help.
2. Install libapreq2.
If you still want to use "MasonArgsMethod mod_perl", be advised
that it is still in development. Because of this, you cannot search
for the "Apache2::Request" module on CPAN. Only a search for
"libapreq2" will find it.
3. Do not install libapreq2 with "configure".
As noted in libapreq2's INSTALL file, there are two ways to
configure libapreq2. If you use the "configure" command, it will
not install the perl modules. Use this command instead:
perl Makefile.PL --with-apache2-apxs=/path/to/apache2/bin/apxs
4. Just in case you missed the message as it flew by in the "make
install" output, remember to add this line you your httpd.conf file:
LoadModule apreq_module modules/mod_apreq2.so
On May 8, 2006, at 9:29 PM, Matthew Duffy wrote:
OKAY, I think I have made some progress.
As per your suggestion of using 'force', that was the first thing
I tried when my first attempt to install Mason failed. That's
basically the extent of my CPAN knowledge. But that still fails
because as far as I can tell, telling Mason to force install
doesn't seem to filter the 'force' command to any dependencies it
might have to resolve. The tests still fail at the t/14a-
fake_apache.t test.
What I ended up doing was trying a couple of different edits to
the /private/var/root/.cpan/build/HTML-Mason-1.32/Build.PL
script. The original script looks like this:
...
eval { require mod_perl };
my $has_mod_perl_1 = $@ ? 0 : 1;
if ($has_mod_perl_1)
{
$prereq{mod_perl} = 1.24;
}
eval { require mod_perl2 };
my $has_mod_perl_2 = $@ ? 0 : 1;
my $has_only_mp2 = ! $has_mod_perl_1 && $has_mod_perl_2;
...
I essentially edited the script so that the first eval is bypassed
and $has_mod_perl_1 = 0. Then I set $has_mod_perl_1 =1 and reran
the build.
This seems to have worked to far. It looks like Mason may be
installed now, so the next step is to move on to finish building RT.
Hopefully this will work.
Cheers,
Matt
On May 8, 2006, at 6:55 PM, Ryan Perry wrote:
Ok, so no darwin ports. You could just do a force install. (in
cpan> force install HTML::Mason)
That will keep it easy and shouldn't make a difference.
Ryan
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users