autogen.sh - autoconf detection is broken in svn

Bug #168915 reported by cleary
4
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Low
Javier Jardón

Bug Description

autogen.sh - autoconf detection is broken in svn Private: (?)
No
When running autogen.sh on sidux (debian sid) I get the following error:

checking for autoconf >= 2.52 ... ./autogen.sh: line 38: [: : integer
expression expected
./autogen.sh: line 38: [: : integer expression expected
Too old (found version )!

`autoconf --version` returns the following string:

autoconf (GNU Autoconf) 2.61
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the terms
of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.

but this is not matched in the autogen.sh script - patch follows:

$ svn diff autogen.sh
Index: autogen.sh
===================================================================
--- autogen.sh (revision 15993)
+++ autogen.sh (working copy)
@@ -74,7 +74,7 @@
 echo -n "checking for autoconf >= $AUTOCONF_REQUIRED_VERSION ... "
 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
     VER=`autoconf --version \
- | grep -iw autoconf | sed -n 's/.*
\([0-9.]*\)[-a-z0-9]*$/\1/p'`
+ | grep autoconf | sed -n 's/.* \([0-9.]*\)[-a-z0-9]*$/\1/p'`
     check_version "$VER" "$AUTOCONF_REQUIRED_VERSION"
 else
     echo

Tags: build linux
Luca Bruno (lucab)
Changed in inkscape:
importance: Undecided → Low
Revision history for this message
vonHalenbach (lustik) wrote :

Is this Patch still applicable?

Changed in inkscape:
assignee: nobody → buliabyak
status: New → Triaged
Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Should be fixed in lp:inkscape r12150

Changed in inkscape:
assignee: bbyak (buliabyak) → Javier Jardón (jjardon)
status: Triaged → Fix Committed
su_v (suv-lp)
Changed in inkscape:
milestone: none → 0.49
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.