Re: [PHP-DEV] Bug #11010 Updated: current cvs cannot configure
On 24 May 2001 [EMAIL PROTECTED] wrote: ID: 11010 Updated by: bbonev Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: *Install and Config Operating system: PHP Version: 4.0 Latest CVS (2001-05-22) Assigned To: Comments: as far as i can see Sacha fixed this one Autoconf 2.50 still produces some non-portable shell code, so I don't consider it yet to be ready for production. Please use autoconf 2.13. - Sascha Experience IRCG http://schumann.cx/http://schumann.cx/ircg -- 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]
[PHP-DEV] Bug #11010 Updated: current cvs cannot configure
ID: 11010 Updated by: bbonev Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: *Install and Config Operating system: PHP Version: 4.0 Latest CVS (2001-05-22) Assigned To: Comments: as far as i can see Sacha fixed this one Previous Comments: --- [2001-05-22 04:25:19] [EMAIL PROTECTED] freshmeat on autoconf: Changes: This version includes 2 years of accumulated improvements and bugfixes. While almost every line of code has been touched since version 2.13, Autoconf 2.50 aims to be backward compatible for well-written configure.in scripts. i removed 2.50 and put back 2.13 and everything is ok now i've looked further but they do not define well-written... --- [2001-05-22 02:34:54] [EMAIL PROTECTED] after upgrading libtool to 1.4 i have upgraded automake and autoconf to latest stable versions, here is the result: buildconf: checking installation... buildconf: autoconf version 2.50 (ok) build/buildcheck.sh: test: 4-p1: integer expression expected buildconf: automake version 1.4-p1 (ok) buildconf: libtool version 1.4 (ok) WARNING: automake and libtool are installed in different directories. This may cause aclocal to fail. continuing anyway rebuilding Makefile templates automake: configure.in: installing `Zend/ylwrap' rebuilding configure ./aclocal.m4:904: error: m4_defn: undefined: _m4_divert_diversion ./aclocal.m4:452: PHP_SUBST is expanded from... ./aclocal.m4:904: the top level rebuilding acconfig.h rebuilding main/php_config.h.in autoheader: error: shell error while sourcing /tmp/ah26273/traces.sh in build/buildcheck.sh: first problem - automake version is 1.4-p1 and this check fails: IFS=.; set $am_version; IFS=' ' if test $1 = 1 -a $2 -lt 4 || test $1 -lt 1; then fix: Index: build/buildcheck.sh === RCS file: /repository/php4/build/buildcheck.sh,v retrieving revision 1.8 diff -u -r1.8 buildcheck.sh --- build/buildcheck.sh 2001/05/06 18:51:21 1.8 +++ build/buildcheck.sh 2001/05/22 00:25:01 @@ -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]* +*$//' -e 's/-/./'` if test $am_version = ; then echo buildconf: automake not found. echoYou need automake version 1.4 or newer installed second problem - after double checking for libtool, $libtool is set to `which libtool` or `which glibtool`. in the check if libtool and automake are in the same path again which is used that is incorrect because which /bin/libtool founds nothing. fix: Index: build/buildcheck.sh === RCS file: /repository/php4/build/buildcheck.sh,v retrieving revision 1.8 diff -u -r1.8 buildcheck.sh --- build/buildcheck.sh 2001/05/06 18:51:21 1.8 +++ build/buildcheck.sh 2001/05/22 00:30:21 @@ -81,7 +81,7 @@ fi am_prefix=`which automake | sed -e 's#/[^/]*/[^/]*$##'` -lt_prefix=`which $libtool | sed -e 's#/[^/]*/[^/]*$##'` +lt_prefix=`echo $libtool | sed -e 's#/[^/]*/[^/]*$##'` if test $am_prefix != $lt_prefix; then echo WARNING: automake and libtool are installed in different echo directories. This may cause aclocal to fail. i'd update this bug when i find what else is going wrong --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11010edit=2 -- 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]
[PHP-DEV] Bug #11010 Updated: current cvs cannot configure
ID: 11010 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: *Install and Config Operating system: Linux glibc 2.1 PHP Version: 4.0 Latest CVS (2001-05-22) Description: current cvs cannot configure freshmeat on autoconf: Changes: This version includes 2 years of accumulated improvements and bugfixes. While almost every line of code has been touched since version 2.13, Autoconf 2.50 aims to be backward compatible for well-written configure.in scripts. i removed 2.50 and put back 2.13 and everything is ok now i've looked further but they do not define well-written... Previous Comments: --- [2001-05-22 02:34:54] [EMAIL PROTECTED] after upgrading libtool to 1.4 i have upgraded automake and autoconf to latest stable versions, here is the result: buildconf: checking installation... buildconf: autoconf version 2.50 (ok) build/buildcheck.sh: test: 4-p1: integer expression expected buildconf: automake version 1.4-p1 (ok) buildconf: libtool version 1.4 (ok) WARNING: automake and libtool are installed in different directories. This may cause aclocal to fail. continuing anyway rebuilding Makefile templates automake: configure.in: installing `Zend/ylwrap' rebuilding configure ./aclocal.m4:904: error: m4_defn: undefined: _m4_divert_diversion ./aclocal.m4:452: PHP_SUBST is expanded from... ./aclocal.m4:904: the top level rebuilding acconfig.h rebuilding main/php_config.h.in autoheader: error: shell error while sourcing /tmp/ah26273/traces.sh in build/buildcheck.sh: first problem - automake version is 1.4-p1 and this check fails: IFS=.; set $am_version; IFS=' ' if test $1 = 1 -a $2 -lt 4 || test $1 -lt 1; then fix: Index: build/buildcheck.sh === RCS file: /repository/php4/build/buildcheck.sh,v retrieving revision 1.8 diff -u -r1.8 buildcheck.sh --- build/buildcheck.sh 2001/05/06 18:51:21 1.8 +++ build/buildcheck.sh 2001/05/22 00:25:01 @@ -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]* +*$//' -e 's/-/./'` if test $am_version = ; then echo buildconf: automake not found. echoYou need automake version 1.4 or newer installed second problem - after double checking for libtool, $libtool is set to `which libtool` or `which glibtool`. in the check if libtool and automake are in the same path again which is used that is incorrect because which /bin/libtool founds nothing. fix: Index: build/buildcheck.sh === RCS file: /repository/php4/build/buildcheck.sh,v retrieving revision 1.8 diff -u -r1.8 buildcheck.sh --- build/buildcheck.sh 2001/05/06 18:51:21 1.8 +++ build/buildcheck.sh 2001/05/22 00:30:21 @@ -81,7 +81,7 @@ fi am_prefix=`which automake | sed -e 's#/[^/]*/[^/]*$##'` -lt_prefix=`which $libtool | sed -e 's#/[^/]*/[^/]*$##'` +lt_prefix=`echo $libtool | sed -e 's#/[^/]*/[^/]*$##'` if test $am_prefix != $lt_prefix; then echo WARNING: automake and libtool are installed in different echo directories. This may cause aclocal to fail. i'd update this bug when i find what else is going wrong --- Full Bug description available at: http://bugs.php.net/?id=11010 -- 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]