php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3145 Failed to compile
Submitted: 2000-01-08 10:36 UTC Modified: 2000-02-23 12:27 UTC
From: doussot at gifrance dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Latest CVS (08/01/2000) OS: Linux 2.2.14
Private report: No CVE-ID: None
 [2000-01-08 10:36 UTC] doussot at gifrance dot com
Plateform: Linux 2.2.14, egcc 2.95.2, autoconf 2.13, Automake 1.4
Libtool 1.3.3. With the CVS version :

16:32 [webadmin:pts/1] orion:~/src/php4% ./buildconf
buildconf: checking installation...
buildconf: autoconf version 2.13 (ok)
buildconf: automake version 1.4 (ok)
buildconf: libtool version 1.3.3 (ok)
creating empty dependencies
rebuilding Makefile.in's
aclocal.m4: 94: `AM_PROG_INSTALL' is obsolete; use `AC_PROG_INSTALL'
rebuilding configure
configure.in:641: /usr/bin/m4: Undefined macro `AM_PROG_LEX'
autoconf: Undefined macros:
***BUG in Autoconf--please report*** AC_ADD_INCLUDE
***BUG in Autoconf--please report*** AC_EXPAND_PATH
***BUG in Autoconf--please report*** AC_ADD_INCLUDE
***BUG in Autoconf--please report*** AC_EXPAND_PATH
***BUG in Autoconf--please report*** AC_ADD_INCLUDE
[....] cut

If i restart buildconf again:

16:32 [webadmin:pts/1] orion:~/src/php4% ./buildconf
rebuilding acconfig.h
rebuilding php_config.h.in
configure.in:641: /usr/bin/m4: Undefined macro `AM_PROG_LEX'

Now I have a configure script but :

16:35 [webadmin:pts/1] orion:~/src/php4% ./configure
creating cache ./config.cache
./configure: line 881: syntax error near unexpected token `PHP_CONFIGURE_PART(Running'
./configure: line 881: `PHP_CONFIGURE_PART(Running system checks)'


Any ideas ? May be my installation is broken ..

Thanks.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-01-12 09:12 UTC] sas at cvs dot php dot net
A fresh checkout will probably fix the problem.
 [2000-01-12 10:05 UTC] doussot at gifrance dot com
Ok, after a complete checkout, the buildconf script works. Configure worked
too, buy when I type make:

16:00 [webadmin:pts/1] orion:~/src/php4% make
Making all in Zend
make[1]: Entering directory `/usr/local/web/src/Zend'
make[1]: *** No rule to make target `../config.status', needed by `Makefile'.  Stop.
make[1]: Leaving directory `/usr/local/web/src/Zend'
make: *** [all-recursive] Error 1

 [2000-02-23 12:27 UTC] sas at cvs dot php dot net
You can work around that by either using a separate build tree or by executing:

$ cd php4
$ rm -f Zend TSRM
$ mv ../Zend ../TSRM .
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 23:00:02 2026 UTC