On 21 Oct 2001, Bug Database wrote: > ID: 13674 > Updated by: sniper > Reported By: [EMAIL PROTECTED] > Old Status: Open > Status: Feedback > Bug Type: *Configuration Issues > Operating System: RedHat Linux 6.2 + updates > PHP Version: 4.0.6 > New Comment: > > What is this automake version? I have stock RH 6.2 automake > installed and it reports the version to be 1.4 > > --Jani >
You're right, automake has been upgraded separately (it's not part of RHL6.2 updates). Sorry. $ automake --version automake (GNU automake) 1.4-p1 I had to upgrade it for some reasons I can't remember now. I was compiling php 4.0.5 some time ago with a lot of extensions and I think one of them required a newer automake. I had to upgrade libtool, too. It could be mcrypt, but I'm not sure. Anyway, the script should be more robust in checking version strings, don't you think so? Quoting the NEWS file in the automake tarball: New in 1.4-p1: * The version numbering system now allows fork identifiers (such as the p1 in this version of automake). * Cope gracefully with various versions of libtool which may or may not require ltconfig, ltcf-c.sh, ltcf-cxx.sh or ltcf-gcj.sh. * Bugfixes. that's all. Note the comment on the version string. The -p1 is part of the official automake versioning system and I believe the script should be able to parse it. > > Previous Comments: > ------------------------------------------------------------------------ > > [2001-10-15 15:40:07] [EMAIL PROTECTED] > > automake version here is 1.4-p1, and buildcheck fails to > parse it. > > build/buildcheck.sh: test: integer expression expected > before -lt > > the following patch fixes it (maybe also \. and caps should > be added): > > --- php-4.0.6/build/buildcheck.sh.ver Sat May 12 11:03:58 2001 > +++ php-4.0.6/build/buildcheck.sh Mon Oct 15 21:21:57 2001 > @@ -22,7 +22,7 @@ > echo "buildconf: checking installation..." > > # autoconf 2.13 or newer > -ac_version=`autoconf --version 2>/dev/null|head -1|sed -e > 's/^[^0-9]*//' -e 's/[a-z]* *$//'` > +ac_version=`autoconf --version 2>/dev/null|head -1|sed -e > 's/^[^0-9]*//' -e 's/[-a-z][-0-9a-z]* *$//'` > if test -z "$ac_version"; then > echo "buildconf: autoconf not found." > echo " You need autoconf version 2.13 or newer > installed" > @@ -40,7 +40,7 @@ > fi > > # automake 1.4 or newer > -am_version=`automake --version 2>/dev/null|head -1|sed -e > 's/^[^0-9]*//' -e 's/[a-z]* *$//'` > +am_version=`automake --version 2>/dev/null|head -1|sed -e > 's/^[^0-9]*//' -e 's/[-a-z][-0-9a-z]* *$//'` > if test "$am_version" = ""; then > echo "buildconf: automake not found." > echo " You need automake version 1.4 or newer > installed" > > > ------------------------------------------------------------------------ > > > > ATTENTION! Do NOT reply to this email! > To reply, use the web interface found at http://bugs.php.net/?id=13674&edit=2 > > .TM. -- ____/ ____/ / / / / Marco Colombo ___/ ___ / / Technical Manager / / / ESI s.r.l. _____/ _____/ _/ [EMAIL PROTECTED] -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]