[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] building deb package fails

From: Jon Middleton <jjm_at_ixtab.org.uk>
Date: 2002-11-27 23:10:15 CET

On Wed, Nov 27, 2002 at 03:33:00PM -0600, Ben Collins-Sussman wrote:
> Jon Middleton <jjm@ixtab.org.uk> writes:
>
> > David Kimdon is the offical package maintainer, but the main problem
> > is that the current build depends can not be satisfied in Debian
> > unstable at least apr and apr-util are out of date.
>
> Actually, the apr and apr-util shipped with httpd-2.0.43 *aren't* out
> of date. Subversion just *thinks* they are.
>
> I think what I need to do here is make a change to Subversion's
> ./configure again: if "apu-config --version" returns error, then
> attempt to grep for the version-number directly in the script.

* ac-helpers/aprutil.m4(AC_DEFUN): If $apu_config --version fails just
  grep the version string out of the script so that we can build
  against apr as shipped in apache2 2.0.43, this hack can be removed
  when 2.0.44 has been released.

Index: ac-helpers/aprutil.m4
===================================================================
--- ac-helpers/aprutil.m4 (revision 3928)
+++ ac-helpers/aprutil.m4 (working copy)
@@ -35,10 +35,14 @@
   AC_MSG_CHECKING([APR-UTIL version])
   apu_version="`$apu_config --version`"
   if test $? -ne 0; then
- AC_MSG_ERROR([
- apu-config --version failed.
- Your apu-config doesn't support the --version switch, please upgrade
- to APR-UTIL more recent than 2002-Nov-05.])
+ # This is a hack as suggested by Ben Collins-Sussman it can be
+ # removed after apache2 2.0.44 has been released.
+ apu_version=`grep "APRUTIL_DOTTED_VERSION=" $apu_config) | tr -d "APRUTIL_DOTTED_VERSION="| tr -d '"'`
+
+ #AC_MSG_ERROR([
+ # apu-config --version failed.
+ # Your apu-config doesn't support the --version switch, please upgrade
+ # to APR-UTIL more recent than 2002-Nov-05.])
   fi
   AC_MSG_RESULT([$apu_version])
 

-- 
Jon
"First things first -- but not necessarily in that order"
                -- The Doctor, "Doctor Who"		

  • application/pgp-signature attachment: stored
Received on Wed Nov 27 23:11:03 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.