buildconf stopped working for me

php.internals

Sebastian Bergmann

21 years ago
Haven't built HEAD on Linux for a while but when I tried today buildconf didn't like my autoconf: sb@wopr-mobile php-5.1 % ./buildconf using default Zend directory buildconf: checking installation... buildconf: autoconf version 2.13 (ok) buildconf: libtool version 1.5.10 (ok) rebuilding aclocal.m4 rebuilding configure FATAL ERROR: Autoconf version 2.50 or higher is required for this script rebuilding acconfig.h rebuilding main/php_config.h.in FATAL ERROR: Autoconf version 2.50 or higher is required for this script This is on a Gentoo Linux (~x86) box that has, as part of the standard toolchain, both autoconf 2.13 and 2.59 installed which are wrapped by autoconf-wrapper.
-- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69

Sebastian Bergmann

21 years ago
Sebastian Bergmann wrote:
> buildconf: autoconf version 2.13 (ok)
It finds autoconf 2.13 because buildcheck.sh explicitly calls autoconf-2.13 (instead of just autoconf).
> FATAL ERROR: Autoconf version 2.50 or higher is required
And then it uses autoconf 2.59 because it calls autoconf.
-- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69

Derick Rethans

21 years ago
On Tue, 11 Jan 2005, Sebastian Bergmann wrote:
> Sebastian Bergmann wrote: > > buildconf: autoconf version 2.13 (ok) > > It finds autoconf 2.13 because buildcheck.sh explicitly calls > autoconf-2.13 (instead of just autoconf). > > > FATAL ERROR: Autoconf version 2.50 or higher is required > > And then it uses autoconf 2.59 because it calls autoconf.
Sounds like a problem in your wrapper scripts then... Derick
-- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org

Sebastian Bergmann

21 years ago
Derick Rethans wrote:
> Sounds like a problem in your wrapper scripts then...
buildcheck.sh calls "autoconf-2.13". This does not involve the wrapper script. Later "autoconf" is called. This one is handled by the wrapper which defaults to autoconf 2.5x. It might be a problem with the wrapper after all, since WANT_AUTOCONF=2.1 ./buildconf fails as well. (The WANT_AUTOCONF variable specifies the autoconf version to be used.) Then again, it used to work fine until recently.
-- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69

Sebastian Bergmann

21 years ago
Sebastian Bergmann wrote:
> Then again, it used to work fine until recently.
Reverting build/build2.mk to revision 1.30 seems to fix the issue. The checks introduced in revision 1.31 seem to find both /usr/bin/autoconf (wrapper, defaults to 2.5x) and /usr/bin/autoconf-2.13 (no wrapper) and get confused by this.
-- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69

Magnus Maatta

21 years ago
Hello Sebastian, On Tuesday 11 January 2005 07.39, Sebastian Bergmann wrote:
> Haven't built HEAD on Linux for a while but when I tried today > buildconf didn't like my autoconf: > > sb@wopr-mobile php-5.1 % ./buildconf > using default Zend directory > buildconf: checking installation... > buildconf: autoconf version 2.13 (ok) > buildconf: libtool version 1.5.10 (ok) > rebuilding aclocal.m4 > rebuilding configure > FATAL ERROR: Autoconf version 2.50 or higher is required for this > script rebuilding acconfig.h > rebuilding main/php_config.h.in > FATAL ERROR: Autoconf version 2.50 or higher is required for this > script
Doesn't libtool 1.5.10 require autoconf >= 2.50 ? That's atleast what I experienced. Downgrading to 1.4.3 made it work again with autoconf 2.13. Magnus
-- "I love this planet. I've got wealth, fame, and access to the depths of sleaze that those things bring." -Bender

Jani Taskinen

21 years ago
On Tue, 11 Jan 2005, Magnus Määttä wrote:
> Hello Sebastian, > > On Tuesday 11 January 2005 07.39, Sebastian Bergmann wrote: >> Haven't built HEAD on Linux for a while but when I tried today >> buildconf didn't like my autoconf: >> >> sb@wopr-mobile php-5.1 % ./buildconf >> using default Zend directory >> buildconf: checking installation... >> buildconf: autoconf version 2.13 (ok) >> buildconf: libtool version 1.5.10 (ok) >> rebuilding aclocal.m4 >> rebuilding configure >> FATAL ERROR: Autoconf version 2.50 or higher is required for this >> script rebuilding acconfig.h >> rebuilding main/php_config.h.in >> FATAL ERROR: Autoconf version 2.50 or higher is required for this >> script > > Doesn't libtool 1.5.10 require autoconf >= 2.50 ? > > That's atleast what I experienced. Downgrading to 1.4.3 made it work > again with autoconf 2.13. >
We only support/use libtool 1.4.3, so.. --Jani

Sebastian Bergmann

21 years ago
Jani Taskinen wrote:
> We only support/use libtool 1.4.3, so..
The detection code for multiple autoconf versions is still wrong, IMHO.
-- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69