[Xfce-bugs] [Bug 4536] New: Compiling SVN: Problems with configure

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Wed Oct 29 15:16:58 CET 2008


           Summary: Compiling SVN: Problems with configure
           Product: Xfce
           Version: 4.5.x (SVN trunk)
          Platform: PC (x86)
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: High
         Component: general
        AssignedTo: xfce-bugs at xfce.org
        ReportedBy: john at jcoppens.com

Hello people,

I just updated my svn copy of SVN to 28495. I can't compile several of
the modules, such as libxfcegui4, because an error appears at configure

checking for intltool >= 0.31...  found
./configure: line 21278: test: : integer expression expected
configure: error: Your intltool is too old.  You need intltool 0.31 or

I have intltool 0.40.5 installed. Though I'm far from being an expert in
the intltool/automake etc toolchain, I thought I'd have a go at
determining the problem.

The issue seems to be reported by configure.in near lin 21278:

    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.31 | awk -F. '{ print $ 1 * 1000 +
$ 2 * 100 + $ 3; }'`
    INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }'
    INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2,
VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERS

    { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
        { { echo "$as_me:$LINENO: error: Your intltool is too old.  You need
intltool 0.31 or later." >&5
echo "$as_me: error: Your intltool is too old.  You need intltool 0.31 or
later." >&2;}
   { (exit 1); exit 1; }; }

The test fails, because the first term, INTLTOOL_APPLIED_VERSION_AS_INT is
empty, so the
problem is with a line a little higher. I don't understand the awk code, but
intltool-update.in exists, and I suspect the code extract the version number:

my $VERSION = "0.35.0";

I'm somewhat confused by this version, as I have 0.40.5:

intltool-update --version
intltool-update (intltool) 0.40.5
Written by Kenneth Christiansen, Maciej Stachowiak, and Darin Adler.

Looking around on the 'net, I found some patches for aclocal.m4, using the 
--version command to determine the version instead of looking into a file. I'm
that file (intltool-update.in) wasn't updated when I upgraded to 0.40.5.

Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the Xfce-bugs mailing list