# buildconf stopped working for me

- Thread: https://externals.io/message/14334
- Original archive: https://news-web.php.net/php.internals/14334
- Started by Sebastian Bergmann on 2005-01-11T06:39:30+00:00
- Messages: 7
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #14334 — Sebastian Bergmann — 2005-01-11T06:39:30+00:00

URL: https://externals.io/message/14334#14334

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

---

## #14336 — Sebastian Bergmann — 2005-01-11T09:48:56+00:00

URL: https://externals.io/message/14334#14336 · In reply to: #14334

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

---

## #14337 — Derick Rethans — 2005-01-11T09:53:16+00:00

URL: https://externals.io/message/14334#14337 · In reply to: #14336

> Sebastian Bergmann wrote:
> > […]
>
>  It finds autoconf 2.13 because buildcheck.sh explicitly calls
>  autoconf-2.13 (instead of just autoconf).
>
> > […]
>
>  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

---

## #14338 — Sebastian Bergmann — 2005-01-11T10:01:02+00:00

URL: https://externals.io/message/14334#14338 · In reply to: #14337

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

---

## #14339 — Sebastian Bergmann — 2005-01-11T10:34:08+00:00

URL: https://externals.io/message/14334#14339 · In reply to: #14338

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

---

## #14341 — magnus@php.net — 2005-01-11T13:06:24+00:00

URL: https://externals.io/message/14334#14341 · In reply to: #14334

Hello Sebastian,


>  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

---

## #14354 — Sebastian Bergmann — 2005-01-12T09:35:15+00:00

URL: https://externals.io/message/14334#14354

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
