[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#225287: Workaround -- Rebuild



Some people in this bug have been asking for a workaround that doesn't
involve upgrading or downgrading outside of Sarge.  Here's the
workaround I used.

First, rebuild the package:
  apt-get source libapache-mod-perl
  cd libapache-mod-perl-1.27
  patch -p0 <libapache-mod-perl.patch
  dpkg-buildpackage -rfakeroot
  cd ..

Where "libapache-mod-perl.patch" is the attached patch file.  It
basically changes debian/control to specify a different build
dependency (libgdbm-dev rather than libgdbmg1-dev) that works properly
in a sarge installation.

If you can't run patch or dpkg-buildpackage, do (as root)
  apt-get install build-essential
and try again.

If dpkg-buildpackage complains about unmet build dependencies, install
the package it asks for.

After the above steps, you should be in a directory containing the file:
  libapache-mod-perl_1.27-4_i386.deb

As root, go back to that directory, install the rebuilt package and
"hold" it (until the fixed apache/libapache-mod-perl combination comes
out of unstable):
  dpkg -i libapache-mod-perl_1.27-4_i386.deb
  echo libapache-mod-perl hold | dpkg --set-selections


Disclaimer: This workaround is only partially tested, I have yet to
run mod_perl through its paces

Disclaimer: I have only tried this on my own environment, your
mileage may vary.

-Gleef (David Zoll, NYSCUL)
--- debian/control.orig	2004-01-05 09:46:52.000000000 -0500
+++ debian/control	2004-01-05 09:42:25.000000000 -0500
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Daniel Jacobowitz <dan@debian.org>
 Standards-Version: 3.1.1.1
-Build-Depends: perl (>= 5.8.0-7), libperl-dev (>= 5.8.0-7), apache-dev (>= 1.3.26-1.1), debhelper, libwww-perl, libdevel-symdump-perl, libhtml-parser-perl, libgdbmg1-dev
+Build-Depends: perl (>= 5.8.0-7), libperl-dev (>= 5.8.0-7), apache-dev (>= 1.3.26-1.1), debhelper, libwww-perl, libdevel-symdump-perl, libhtml-parser-perl, libgdbm-dev
 
 Package: libapache-mod-perl
 Architecture: any

Reply to: