On Fri, 18 Feb 2005, Bart Lenoir wrote: [ ... ] > I started all over but with mod_perl2 as DSO this time. > The static installation of mod_perl-2.0.0-RC4 at the time > went ok, but now it failed for the test t/api/module. So, > I took mod_perl-1.99_17 which compiled very well. > libapreq2-2.04_03-dev I also managed to install but Mason > is still not as it should be: > > Checking for Scalar::Util...ok > Checking for File::Spec...ok > Checking for CGI...ok > Checking for Cache::Cache...ok > Checking for Exception::Class...ok > Checking for Test::More...ok > Checking for Params::Validate...ok > Checking for Class::Container...ok > Checking for Apache::Request...ok > > *** If you plan to use Mason with Apache::Filter > you will need to install Apache::Filter 1.021 or newer. > Warning: prerequisite Apache::Filter 1.021 not found. We have 0.01. > > Whilst reïnstalling (did that a couple of times already) > Apache-Filter-1.022, it keeps on looking for > Apache::Constants which is also already present.
That's admittedly confusing, but when using mod_perl-2, you should ignore the recommendation to install version 1.022 of Apache::Filter, which is for use with mod_perl-1. The mod_perl-2 package contains it's own Apache::Filter, which is at version 0.01. A trigger here you can use to infer this is the requirement of Apache::Constants, which is a mod_perl-1-specific package; in mod_perl-2, this functionality has been split up into three packages: Apache::Const, APR::Const, and ModPerl::Const. -- best regards, randy kobes