Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: devel

Re: [8229] mod_perl2 needs mod_apreq2

 

 

Bricolage devel RSS feed   Index | Next | Previous | View Threaded


david at kineticode

May 18, 2008, 3:10 PM

Post #1 of 10 (489 views)
Permalink
Re: [8229] mod_perl2 needs mod_apreq2

On May 18, 2008, at 14:47, steven.pritchard[at]bricolage.cc wrote:

> mod_perl2 needs mod_apreq2
>
> Modified Paths:
> --------------
> bricolage/trunk/inst/htprobe_apache2.pl
>
> Modified: bricolage/trunk/inst/htprobe_apache2.pl
> ===================================================================
> --- bricolage/trunk/inst/htprobe_apache2.pl 2008-05-03 04:29:13 UTC
> (rev 8228)
> +++ bricolage/trunk/inst/htprobe_apache2.pl 2008-05-18 21:47:44 UTC
> (rev 8229)
> @@ -233,7 +233,7 @@
> my (@missing);
> # loop over required modules
> MOD:
> - foreach my $mod (qw(apreq expires perl log_config mime alias
> apache_ssl ssl)) {
> + foreach my $mod (qw(apreq2 expires perl log_config mime alias
> apache_ssl ssl)) {

In my httpd.conf, the line looks like this:

LoadModule apreq_module modules/mod_apreq2.so

Does yours actually have:

LoadModule apreq2_module modules/mod_apreq2.so

? If so, we'll need to detect for the one if it doesn't find the other.

Best,

David


steve at silug

May 18, 2008, 3:36 PM

Post #2 of 10 (467 views)
Permalink
Re: [8229] mod_perl2 needs mod_apreq2 [In reply to]

On Sun, May 18, 2008 at 03:10:52PM -0700, David E. Wheeler wrote:
> In my httpd.conf, the line looks like this:
>
> LoadModule apreq_module modules/mod_apreq2.so
>
> Does yours actually have:
>
> LoadModule apreq2_module modules/mod_apreq2.so

No, it looks the same as yours.

$ grep apreq_module /etc/httpd/conf*/*.conf
/etc/httpd/conf.d/apreq.conf:LoadModule apreq_module modules/mod_apreq2.so

Without that change, I get the following:

Checking for required Apache modules...
###############################################################################

The following Apache modules are required by Bricolage and
are missing from your installation:
mod_apreq


###############################################################################
Failed to launch apache2 probing script inst/htprobe_apache2.pl: 256
make: *** [apache.db] Error 1

With that change, I get "All required modules found."

This is on Fedora 9, BTW. Hopefully I didn't screw up and make a change
for a Fedora-specific problem...

Steve
--
Steven Pritchard - K&S Pritchard Enterprises, Inc.
Email: steve[at]kspei.com http://www.kspei.com/
Phone: (618)624-4440 Mobile: (618)567-7320


david at kineticode

May 19, 2008, 9:22 AM

Post #3 of 10 (459 views)
Permalink
Re: [8229] mod_perl2 needs mod_apreq2 [In reply to]

On May 18, 2008, at 15:36, Steven Pritchard wrote:

> On Sun, May 18, 2008 at 03:10:52PM -0700, David E. Wheeler wrote:
>> In my httpd.conf, the line looks like this:
>>
>> LoadModule apreq_module modules/mod_apreq2.so
>>
>> Does yours actually have:
>>
>> LoadModule apreq2_module modules/mod_apreq2.so
>
> No, it looks the same as yours.
>
> $ grep apreq_module /etc/httpd/conf*/*.conf
> /etc/httpd/conf.d/apreq.conf:LoadModule apreq_module modules/
> mod_apreq2.so
>
> Without that change, I get the following:
>
> Checking for required Apache modules...
> ###############################################################################
>
> The following Apache modules are required by Bricolage and
> are missing from your installation:
> mod_apreq
>
>
> ###############################################################################
> Failed to launch apache2 probing script inst/htprobe_apache2.pl: 256
> make: *** [apache.db] Error 1
>
> With that change, I get "All required modules found."
>
> This is on Fedora 9, BTW. Hopefully I didn't screw up and make a
> change
> for a Fedora-specific problem...

Me, too. It's curious, because the way it was worked fine for me with
a compiled-from-source build. I always suspect Red Hat's builds of
stuff…anyway, what have others found? Anyone else tried to install
from trunk on Apache 2?

Best,

David


lannings at who

May 20, 2008, 1:19 AM

Post #4 of 10 (454 views)
Permalink
Re: [8229] mod_perl2 needs mod_apreq2 [In reply to]

On Mon, 19 May 2008, David E. Wheeler wrote:
> anyway, what have others found? Anyone else tried to install from trunk
> on Apache 2?

I installed and was able to login on the latest Ubuntu.


david at kineticode

May 20, 2008, 8:47 AM

Post #5 of 10 (454 views)
Permalink
Re: [8229] mod_perl2 needs mod_apreq2 [In reply to]

On May 20, 2008, at 01:19, Scott Lanning wrote:

> On Mon, 19 May 2008, David E. Wheeler wrote:
>> anyway, what have others found? Anyone else tried to install from
>> trunk
>> on Apache 2?
>
> I installed and was able to login on the latest Ubuntu.

Before or after the latest patch?

David


lannings at who

May 20, 2008, 9:31 AM

Post #6 of 10 (453 views)
Permalink
Re: [8229] mod_perl2 needs mod_apreq2 [In reply to]

On Tue, 20 May 2008, David E. Wheeler wrote:
> On May 20, 2008, at 01:19, Scott Lanning wrote:
>> On Mon, 19 May 2008, David E. Wheeler wrote:
>>> anyway, what have others found? Anyone else tried to install from trunk
>>> on Apache 2?
>>
>> I installed and was able to login on the latest Ubuntu.
>
> Before or after the latest patch?

Before. After 1.11.0 was released I think.


david at kineticode

May 20, 2008, 9:44 AM

Post #7 of 10 (452 views)
Permalink
Re: [8229] mod_perl2 needs mod_apreq2 [In reply to]

On May 20, 2008, at 09:31, Scott Lanning wrote:

> On Tue, 20 May 2008, David E. Wheeler wrote:
>> On May 20, 2008, at 01:19, Scott Lanning wrote:
>>> On Mon, 19 May 2008, David E. Wheeler wrote:
>>>> anyway, what have others found? Anyone else tried to install from
>>>> trunk
>>>> on Apache 2?
>>> I installed and was able to login on the latest Ubuntu.
>>
>> Before or after the latest patch?
>
> Before. After 1.11.0 was released I think.

So it probably is some Red Hat inanity. As usual. So can the code be
changed to check for both, kind of how we check for two names for the
log module?

Best,

David


steve at silug

May 20, 2008, 10:38 AM

Post #8 of 10 (453 views)
Permalink
Re: [8229] mod_perl2 needs mod_apreq2 [In reply to]

On Tue, May 20, 2008 at 09:44:56AM -0700, David E. Wheeler wrote:
> So it probably is some Red Hat inanity. As usual. So can the code be
> changed to check for both, kind of how we check for two names for the log
> module?

I am going to try to get an Ubuntu VM going this afternoon so I can test
this...

Steve
--
Steven Pritchard - K&S Pritchard Enterprises, Inc.
Email: steve[at]kspei.com http://www.kspei.com/
Phone: (618)624-4440 Mobile: (618)567-7320


steve at silug

May 21, 2008, 2:42 PM

Post #9 of 10 (446 views)
Permalink
Re: [8229] mod_perl2 needs mod_apreq2 [In reply to]

On Tue, May 20, 2008 at 12:38:31PM -0500, Steven Pritchard wrote:
> On Tue, May 20, 2008 at 09:44:56AM -0700, David E. Wheeler wrote:
> > So it probably is some Red Hat inanity. As usual. So can the code be
> > changed to check for both, kind of how we check for two names for the log
> > module?
>
> I am going to try to get an Ubuntu VM going this afternoon so I can test
> this...

It looks like the installer works fine with my change on an Ubuntu 8.04
box with httpd, mod_apreq2, etc. installed via apt.

Steve
--
Steven Pritchard - K&S Pritchard Enterprises, Inc.
Email: steve[at]kspei.com http://www.kspei.com/
Phone: (618)624-4440 Mobile: (618)567-7320


david at kineticode

May 21, 2008, 3:17 PM

Post #10 of 10 (447 views)
Permalink
Re: [8229] mod_perl2 needs mod_apreq2 [In reply to]

On May 21, 2008, at 14:42, Steven Pritchard wrote:

>> I am going to try to get an Ubuntu VM going this afternoon so I can
>> test
>> this...
>
> It looks like the installer works fine with my change on an Ubuntu
> 8.04
> box with httpd, mod_apreq2, etc. installed via apt.

Worked for me too, both with and without your change.

Whatever. Glad it fixes it on RHEL.

Thanks,

David

Bricolage devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.