Re: Apache::Request for apache2, mod_perl2, mason1.28
[prev]
[thread]
[next]
[Date index for 2005/02/18]
On Wed, 16 Feb 2005 09:05:20 -0500, Kurt Hansen wrote
> Bart Lenoir wrote:
>
> >I've been building perl-5.8.6, httpd-2.0.53, mod_perl-2.0.0-RC4(static) and
> >HTML-Mason-1.28 in /usr/local on Linux 2.4 (Debian). Everything went fine
> >until one of the last of Mason's requirements was Apache::Request, which
> >wasn't compatible with mod_perl2.
> >
> >Is this setup possible or should i stick to apache 1.3/mod_perl 1.27?
> >There Mason works like a charm with Apache::Request for perl in /usr/bin.
> >
> >Without Mason, i don't mind using mod_perl-2 without Apache::Request.
> >(I didn't manage libapreq2-2.04_03-dev to build either.)
> >
> I've copied the Mason list in case others have the same question.
> Though, it seems your problem is in compiling libapreq2.
>
> I'm using perl-5.8.5, apache-2.0.52, mod_perl-1.9917 (DSO), Mason-
> 1.27, and libapreq2-2.04_03-dev. I've recently started testing
> mod_perl-2.0.0-RC4 (still DSO) and the latest version of apreq, and
> things are running smoothly.
>
> What problems are you having with libapreq2? You probably should get
> the most recent version; some bugs have been fixed since 2.04_03-
> dev. You can get the most recent version here:
>
> http://svn.apache.org/snapshots/apreq/
>
> Take care,
>
> Kurt Hansen
> khansen@xxxxxxxxxx.xxx
Hi,
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.
Just now i tried mod_perl-2.0.0-RC4 again and everything went fine!
It's kind of funny:
Installing apache-perl (1.3.33-3), libapache-request-perl (1.1-0.1),
libhtml-mason-perl (1:1.26-1) as Debian packages, takes less than one minute
and everything is functional right away.
Cheers,
Bart
--
A travelling fool is better than a sitting wise man. Nomadic Wisdom