Re: Help in MP1 to MP2[Scanned]

[prev] [thread] [next] [Date index for 2005/03/03]

From: Stas Bekman
Subject: Re: Help in MP1 to MP2[Scanned]
Date: 13:30 on 03 Mar 2005
Darryl Waterhouse wrote:
> Hi All,
> 
> First time post to this list, hope this is relevant, and/or doesn't
> offend/upset anyone.
> 
> I'm in the process of migrating from MP1 to MP2.
> MP1 was a static installation (performed by myself), and MP2 obviously
> under AP2 is the standard installation under RH EL 4 ES version.
> I've followed the migration guidelines as per instruction, but can sill
> only get my Handlers running under MP2 if I use the Apache::compat
> directive.
> 
> Thing is, I want a clean running pacey system, and need to alleviate
> this problem.
> Now, I've adjusted the httpd.conf and other startup files as I've needed
> to, and the issue I have when attempting to fire up Apache is that is
> can't find Apache::Constants...
> Okay,  okay, I'm aware we now use the more granular distributed name
> spaces, and have tried to make adjustments accordingly, using APR:: and
> ModPerl:: where I need to.
> What I can't quite understand is *why* the handler is still looking for
> Apache::Constants?! Or more to the point, where do I look to find this
> out?
> It's my code, but trying to find out what calls whom is really annoying
> me!

Darryl, add:

   use Carp;
   $SIG{__DIE__} = \&Carp::confess;

somewhere in your code (startup.pl?), and it will show you who wants those 
mp1 constants at the point of failure.

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Help in MP1 to MP2[Scanned]
Darryl Waterhouse 09:15 on 03 Mar 2005

Re: Help in MP1 to MP2[Scanned]
Stas Bekman 13:30 on 03 Mar 2005

Generated at 20:12 on 07 Mar 2005 by mariachi v0.52