Comment 3 for bug 935059

Revision history for this message
YunQiang Su (wzssyqa) wrote :

It can be build with this patch

--- a/configure
+++ b/configure
@@ -21396,11 +21396,7 @@
 # Check whether --with-libperl was given.
 if test "${with_libperl+set}" = set; then :
   withval=$with_libperl;
- if test -x "$withval"
- then
- perl_interpreter="$withval"
- with_libperl="yes"
- else if test "x$withval" != "xno" && test "x$withval" != "xyes"
+ if test "x$withval" != "xno" && test "x$withval" != "xyes"
  then
   LDFLAGS="$LDFLAGS -L$withval/lib"
   CPPFLAGS="$CPPFLAGS -I$withval/include"
@@ -21408,7 +21404,7 @@
   with_libperl="yes"
  else
   with_libperl="$withval"
- fi; fi
+ fi

 else

and in debian/rules

confflags = --host=$(DEB_HOST_GNU_TYPE) \
   --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \
   --mandir=\$${prefix}/share/man \
   --localstatedir=/var --sysconfdir=/etc \
+ --with-libperl=/usr \
   --with-perl-bindings="INSTALLDIRS=vendor" \
   --without-libstatgrab \
   --without-included-ltdl \
   --disable-static \
   --enable-all-plugins

At least, the one in wheey (5.1.0-3) can be build on precise