On Mon, 2008-03-17 at 12:30 +0000, Beginner wrote:
> On 17 Mar 2008 at 7:43, Perrin Harkins wrote:
> 
> > On Mon, Mar 17, 2008 at 7:06 AM, Beginner <[EMAIL PROTECTED]> wrote:
> > >  I found an
> > >  upgraded package for my OS.
> > 
> > Do you mean that the OS auto-upgraded something, or that you upgraded
> > something manually?  What exactly was upgraded?
> 
> It looks like logrotate shutdown httpd and http failed to start after 
> that. I did an update to spamassassin, clamav and courier last week 
> but that went fine and there were no issues.
> 
> > >  My startup file has:
> > >
> > >  use Apache2::RequestRec ();
> > >  use Apache::Const -compile qw(ok);
> > >  use Template;
> > >  use Date::Calc;
> 
> I think the Apache::Const should be Apache2::Const but it hasn't 
> stopped the error.
> 
> > That looks fine.
> > 
> > >  Subroutine load redefined at /usr/lib/perl5/Apache2/XSLoader.pm line
> > >  28.\nCompilation failed in require at
> > >  /usr/lib/perl5/Apache2/RequestRec.pm line 24.
> > 
> > That sort of thing usually means that your mod_perl was not compiled
> > with the current perl and needs to be recompiled.
> 
> mod_perl seems to come as part of the package on my version of 
> Debian. If i attempt to install I get "libapache2-mod-perl2 is 
> already the newest version".

Try this:
dpkg -i --force /var/cache/archives/libapache2-mod-perl2-<version>.deb

> 
> I am loath to go down the route of install modperl from source as it 
> kinda breaks the idea behind having a package manager.

Why must you go outside the package manager to install a custom-compiled
mod_perl? You can easily build debian packages on your own. Google is
full of howto's.

> 
> I'm am going to see if I can find a solution that maintains the 
> integrity of my package manager for now. If I haven't found a 
> solution by the end of the day I will have to go down the source 
> route.

I would highly recommend NOT going outside the package manager. Build
your own deb package, it's pretty straightforward.

> 
> Thanx,
> Dp.


Reply via email to