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

[gus@debian.org: Bug#203715: libapache-mod-perl: finding -ldebugperl during PERL_DEBUG]



----- Forwarded message from Angus Lees <gus@debian.org> -----

Date: Thu, 31 Jul 2003 16:18:31 +1000
From: Angus Lees <gus@debian.org>
Subject: Bug#203715: libapache-mod-perl: finding -ldebugperl during PERL_DEBUG
To: Debian Bug Tracking System <submit@bugs.debian.org>
Reply-To: Angus Lees <gus@debian.org>, 203715@bugs.debian.org

Package: libapache-mod-perl
Version: 1.26-3.0woody1
Severity: wishlist
Tags: patch

I request that this patch be applied, so Debian's debugging version of
libperl.so can be found correctly, if one was to (manually) enable
$PERL_DEBUG.

the first hunk is obvious, the second hunk might be a bugfix (without
it PERL_LIBS in apaci/Makefile always includes -lperl).

--- Makefile.PL~        Thu Jul 31 04:35:14 2003
+++ Makefile.PL Thu Jul 31 04:32:55 2003
@@ -522,6 +522,9 @@
            if (-e $lib) {
                $LIBPERL = "-lperld";
                $libperl = " -- $LIBPERL";
+           } elsif (-e '/usr/lib/libdebugperl.a') { # Debian perl-debug
+               $LIBPERL = "-ldebugperl";
+               $libperl = " -- $LIBPERL";
            }
            $PERL_EXTRA_CFLAGS .= " -g";
            $PERL_TRACE=1;
--- apaci/mod_perl.config.sh~   Thu Jul 31 06:14:02 2003
+++ apaci/mod_perl.config.sh    Thu Jul 31 06:04:11 2003
@@ -155,7 +155,7 @@
  
 print $ldopts;
 EOT
-perl_libs="`$perl_interp $tmpfile2 $build_type`"
+perl_libs="`$perl_interp $tmpfile2 $build_type $perl_libperl`"
 if test $build_type = OBJ
 then
        case "$os_version" in


 - Gus

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux lambast 2.4.20-3-686 #1 Sat Jun 7 22:34:55 EST 2003 i686
Locale: LANG=en_AU, LC_CTYPE=en_AU

Versions of packages libapache-mod-perl depends on:
ii  apache-common  1.3.26-0woody3 Support files for all Apache webservers
ii  libc6          2.2.5-11.2     GNU C Library: Shared libraries and Timezone
ii  libdevel-symdu 2.02-1         Perl module for inspecting perl's symbol tab
ii  libmime-base64 2.12-4         MIME/Base64 decoding for Perl
ii  libperl5.6     5.6.1-8.2      Shared Perl library.
ii  liburi-perl    1.18-1         Manipulates and accesses URI strings
ii  libwww-perl    5.64-1         WWW client/server library for Perl
ii  perl           5.6.1-8.2      Larry Wall's Practical Extraction and Report
ii  perl-base      5.6.1-8.2      The Pathologically Eclectic Rubbish Lister.

-- no debconf information




----- End forwarded message -----

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



Reply to: