Re: can't locate Apache/Build.pm

[prev] [thread] [next] [Date index for 2005/01/08]

From: Randy Kobes
Subject: Re: can't locate Apache/Build.pm
Date: 06:43 on 08 Jan 2005
On Fri, 7 Jan 2005, Geoffrey Young wrote:

>
> > 5: Line 30 will return IS_MOD_PERL_2 as true
>
> that should only happen if mod_perl.pm is Apache2/mod_perl.pm.  (or if you
> installed mp2 as the only mod_perl on the box...)
>
> > 6: Line 34 will require Apache::Build
> > 7: It must fail because /perl/site/lib/Apache2 is not in @INC
> > and /perl/site/lib/Apache2/Apache/Build.pm is what is being required.
>
> which should be fine, since Apache2.pm has been loaded, otherwise it
> wouldn't have found Apache2/mod_perl.pm... in theory :)
>
> so... if the mod_perl.pm in your standard site_lib is mp2 but everything
> else is under Apache2/ then yeah, it won't work.  but that just shouldn't
> happen unless we're doing something wrong with the mp2 install or you
> previously installed mod_perl 2.0 _not_ relative to Apache2 (such as
> MP_INST_APACHE2=0) and things got genuinely borked...

Hi Geoff,
   As I mentioned in another reply, the problem with
mod_perl.pm not being under Apache2/ was due to a bug (since
fixed) in mp2 on Win32. Unfortunately, in the binary Ron was
using (that I made up), I didn't notice that the extra
mod_perl.pm not under Apache2/ was still there from an old
install using the broken version, and hence the error. I
apologize for this - it wasn't anything that Ron did, or
didn't, do.

> but let's not get into the Apache2 thing again here,
> please.  if there is a real problem with the win32 install
> process then we should fix it.  if it's something that is
> being caused by the Apache2 thing that could have been
> solved by installing mp1 in one perl tree and mp2 in
> another perl tree, then it's a userspace issue (for the
> moment).  otherwise it's just part of the other discussion
> that we are still trying to solve, in which case thanks so
> much for the detail - we'll be sure to add that to our
> list of cases that should have an obvious resolutionn.

I agree completely about your thoughts on Apache2; the
presence of a bug like this on Win32, especially one that's
been fixed :), shouldn't really be a factor in discussing
the pros and cons.

        -- 
        best regards,
randy

(message missing)

Re: [summary] The Conflict of mp1 vs mp2 vs mp22 vs ... vs mpNN
merlyn (Randal L. Schwartz) 22:26 on 31 Dec 2004

can't locate Apache/Build.pm
Randy Kobes 21:23 on 05 Jan 2005

Re: can't locate Apache/Build.pm
Randy Kobes 17:43 on 06 Jan 2005

Re: can't locate Apache/Build.pm
Ron Savage 22:13 on 06 Jan 2005

Re: can't locate Apache/Build.pm
Randy Kobes 23:42 on 06 Jan 2005

Re: can't locate Apache/Build.pm
Ron Savage 22:49 on 07 Jan 2005

Re: can't locate Apache/Build.pm
Randy Kobes 23:07 on 07 Jan 2005

Re: can't locate Apache/Build.pm
Ron Savage 02:32 on 08 Jan 2005

Re: can't locate Apache/Build.pm
Randy Kobes 06:28 on 08 Jan 2005

Re: can't locate Apache/Build.pm
Randy Kobes 15:28 on 08 Jan 2005

Re: can't locate Apache/Build.pm
Ron Savage 00:36 on 09 Jan 2005

Re: can't locate Apache/Build.pm
Ron Savage 22:00 on 08 Jan 2005

Re: can't locate Apache/Build.pm
Geoffrey Young 23:12 on 07 Jan 2005

Re: can't locate Apache/Build.pm
Randy Kobes 06:43 on 08 Jan 2005

Generated at 12:16 on 16 Jan 2005 by mariachi v0.52