Re: Broken 'configure' being generated



Le Thu, May 16, 2002, à 12:31:31PM +0200, Andre Rabello DOS ANJOS a écrit:
Hi,
      I've tried to compile the CVS version of dia on a RH7.2 box, but I get
my 'configure' script being generated broken. The line it seems to find
a problem is:

      INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.12 | awk -F. '{ printf "%d",
0.12 * 100 + ; }'`

automake-1.4p5-2
autoconf-2.13-14
m4-1.4.1-5
intltool-0.18-1.ximian.3
gettext-0.10.38-7
libunicode-0.4.gnome-ximian.4
libunicode-devel-0.4.gnome-ximian.4

If I `grep -v ximian` to get back a mostly a stable system, I see you are 
missing the following required packages:
        intltool, libunicode, libunicode-devel
Please read the NEWS and READMEs, and install the required packages.

(just kidding)

Here is the line as generated on my system:

INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.12 | awk -F. '{ printf "%d", $1 *
100 + $2; }'`

which, when manually executed, returns "12".

This line stems from /usr/share/aclocal/intltool.m4:

    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ printf "%d", $[1]
* 100 + $[2]; }'`

(from Debian sid intltool_0.18-1)

I'm almost sure you have $1 and $2 instead of $[1] and $[2] in intltool.m4
or in aclocal.m4: perhaps you could try regenerating the latter ?

        -- Cyrille

-- 
Grumpf.

Attachment: pgp5KLYvl1bH7.pgp
Description: PGP signature



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