What versions of GNU buildtools are required to build PHP from CVS?

php.internals

Antony Dovgal

23 years ago
Hi, all. What version of autoconf, automake & libtool do I need to build current HEAD & PHP_4_3 ? I get this rather strange messages running ./buildconf in PHP_4_3 branch:
>buildconf: autoconf version 2.13 (ok) >buildconf: automake version 1.4 (ok) >buildconf: libtool version 1.5 (ok) >rebuilding configure >FATAL ERROR: Autoconf version 2.50 or higher is required for this script
"buildconf: autoconf version 2.13 (ok)" & "Autoconf version 2.50 or higher is required" - so what is ok then? I've been trying to play with almost all autoconf, automake and libtool versions in different combinations, but ./buildconf always says that AC_PROG_LIBTOOL is not known... Can anyone please explain what versions to use? Thanx in advance. --- WBR, Antony Dovgal aka tony2001 tony2001@phpclub.net

Derick Rethans

23 years ago
On Mon, 23 Jun 2003, Antony Dovgal wrote:
> What version of autoconf, automake & libtool do I need to build > current HEAD & PHP_4_3 ? > > I get this rather strange messages running ./buildconf in PHP_4_3 > branch: > > >buildconf: autoconf version 2.13 (ok) > >buildconf: automake version 1.4 (ok) > >buildconf: libtool version 1.5 (ok) > >rebuilding configure > >FATAL ERROR: Autoconf version 2.50 or higher is required for this script > > "buildconf: autoconf version 2.13 (ok)" & "Autoconf version 2.50 or > higher is required" - so what is ok then? > > I've been trying to play with almost all autoconf, automake and > libtool versions in different combinations, but ./buildconf always > says that AC_PROG_LIBTOOL is not known... > > Can anyone please explain what versions to use?
autoconf 2.13, automake 1.5 and libtool 1.4; I do not think libtool 1.5 works as it should be. Derick
-- "Interpreting what the GPL actually means is a job best left to those that read the future by examining animal entrails." ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ International PHP Magazine http://php-mag.net/ -------------------------------------------------------------------------

Antony Dovgal

23 years ago
On Mon, 23 Jun 2003 09:06:28 +0200 (CEST) Derick Rethans <derick@php.net> wrote:
> autoconf 2.13, automake 1.5 and libtool 1.4; I do not think libtool 1.5 > works as it should be.
#libtool --version ltmain.sh (GNU libtool) 1.4 (1.920 2001/04/24 23:26:18) # autoconf --version Autoconf version 2.13 # automake --version automake (GNU automake) 1.5 ./buildconf says: FATAL ERROR: Autoconf version 2.50 or higher is required for this script I checkouted CVS with -rPHP_4_3 --- WBR, Antony Dovgal aka tony2001 tony2001@phpclub.net

Derick Rethans

23 years ago
On Mon, 23 Jun 2003, Antony Dovgal wrote:
> On Mon, 23 Jun 2003 09:06:28 +0200 (CEST) > Derick Rethans <derick@php.net> wrote: > > > autoconf 2.13, automake 1.5 and libtool 1.4; I do not think libtool 1.5 > > works as it should be. > > #libtool --version > ltmain.sh (GNU libtool) 1.4 (1.920 2001/04/24 23:26:18) > # autoconf --version > Autoconf version 2.13 > # automake --version > automake (GNU automake) 1.5 > > ./buildconf says: FATAL ERROR: Autoconf version 2.50 or higher is > required for this script > > I checkouted CVS with -rPHP_4_3
Sounds like something definitely broken on your system then... or are you using third party extensions which use newer macros or something? Derick
-- "Interpreting what the GPL actually means is a job best left to those that read the future by examining animal entrails." ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ International PHP Magazine http://php-mag.net/ -------------------------------------------------------------------------

Antony Dovgal

23 years ago
On Mon, 23 Jun 2003 09:17:08 +0200 (CEST) Derick Rethans <derick@php.net> wrote:
> Sounds like something definitely broken on your system then...
may be =( I did just `./configure --prefix=usr; make; make install` in autoconf, automake & libtool sources.
>or are you using third party extensions which use newer macros or something?
no, I'm just trying to build current CVS version. snapshots are working, I've compiled a couple, but ./buildconf seems not to be working correctly =( --- WBR, Antony Dovgal aka tony2001 tony2001@phpclub.net

Derick Rethans

23 years ago
On Mon, 23 Jun 2003, Antony Dovgal wrote:
> On Mon, 23 Jun 2003 09:17:08 +0200 (CEST) > Derick Rethans <derick@php.net> wrote: > > > Sounds like something definitely broken on your system then... > may be =( > I did just `./configure --prefix=usr; make; make install` in autoconf, automake & libtool sources.
that should be --prefix=/usr (note the / ) Derick
-- "Interpreting what the GPL actually means is a job best left to those that read the future by examining animal entrails." ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ International PHP Magazine http://php-mag.net/ -------------------------------------------------------------------------

Antony Dovgal

23 years ago
On Mon, 23 Jun 2003 10:09:50 +0200 (CEST) Derick Rethans <derick@php.net> wrote:
> that should be --prefix=/usr (note the / )
Sorry, this was a typo - I've really used "--prefix=/usr" instead of "--prefix=usr". So, all binaries are in /usr at this moment. But I don't think this matters, 'cause buildconf still says "FATAL ERROR: Autoconf version 2.50 or higher is required for this script". --- WBR, Antony Dovgal aka tony2001 tony2001@phpclub.net

Jani Taskinen

23 years ago
Use snapshots: http://snaps.php.net/ Do not run "buildconf" unless you're 100% sure what you're doing.. --Jani On Mon, 23 Jun 2003, Antony Dovgal wrote: