After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 337586 - autogen confused by glib-gettextize version
autogen confused by glib-gettextize version
Status: RESOLVED FIXED
Product: gimp-tiny-fu
Classification: Other
Component: General
Current SVN
Other Linux
: Normal blocker
: 1.2
Assigned To: GIMP Tiny-fu plug-in maintainer alias
GIMP Tiny-fu plug-in maintainer alias
Depends on:
Blocks:
 
 
Reported: 2006-04-07 05:43 UTC by Carol
Modified: 2006-05-11 15:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Carol 2006-04-07 05:43:33 UTC
my recent attempt build gimp-tiny-fu from cvs gets halted with the following message:

checking for glib-gettextize >= 2.2.0 ... Too old (found version 2.10.1)!

since 10 > 2, I wonder if autogen is reading the version number one character at a time instead of reading the whole two digit number.
Comment 1 Kevin Cozens 2006-05-11 15:12:12 UTC
The problem is in the check_version() routine of the autogen.sh. file. It appears that 'expr' is doing a simple ASCII comparison of the input items rather than treating them as numbers.

I wondered if a three part number might have confused expr and caused it to treat the arguments as text rather than as numbers so I ran a test using only two part numbers. The result was the same.
Comment 2 Kevin Cozens 2006-05-11 15:37:42 UTC
2006-05-11  Kevin Cozens  <kcozens@cvs.gnome.org>

        * autogen.sh: Updated check_version() with version from GIMP. The
        routine now properly checks major, minor, and micro version numbers.
        Fixes bug #337586.