GNOME Bugzilla – Bug 337586
autogen confused by glib-gettextize version
Last modified: 2006-05-11 15:37:42 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.
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.
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.