#37855 [Opn->Bgs]: ./buildconf fails without obvious warning
| From: | derick@php.net | Date: | Tue, 20 Jun 2006 05:57:59 +0000 |
| Subject: | #37855 [Opn->Bgs]: ./buildconf fails without obvious warning | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-98534@lists.php.net to get a copy of this message | ||
ID: 37855
Updated by: derick@php.net
Reported By: bens at effortlessis dot com
-Status: Open
+Status: Bogus
Bug Type: *Compile Issues
Operating System: CentOS 4.x
PHP Version: 4.4.2
New Comment:
There is no way why you have to run buildconf yourself. You can use
phpize for those external extensions. In order for buildconf to work
properly you need a good working set of autotools which you don't seem
to have (see the warnings when running buildconf for example). See
http://php.net/anoncvs.php at the end for the recommended
versions.
Previous Comments:
------------------------------------------------------------------------
[2006-06-20 01:58:49] bens at effortlessis dot com
Description:
------------
Buildconf fails to operate as needed - it does not write a new
./configure script. Therefore, installing new extensions (such as
php-template, http://php-templates.sourceforge.net) is not
possible.
PHP release 4.3.4 is the last release I'm able to get working. Although
there's a warning about cache code, I'm running a LATER than recommended
release of autoconf!
Reproduce code:
---------------
/bin/sh;
# tar -zxvf php-4.4.2.tgz;
# cd php-4.4.2;
# ./buildconf --force;
Expected result:
----------------
[root@kepler php-4.3.4]# ./buildconf --force
Forcing buildconf
using default Zend directory
buildconf: checking installation...
buildconf: autoconf version 2.59 (ok)
buildconf: Your version of autoconf likely contains buggy cache code.
Running cvsclean for you.
To avoid this, install autoconf-2.13 and automake-1.5.
buildconf: libtool version 1.5.6 (ok)
rebuilding configure
autoconf/programs.m4:438: AC_DECL_YYTEXT is expanded from...
configure.in:147: the top level
rebuilding main/php_config.h.in
autoheader: WARNING: Using auxiliary files such as `acconfig.h',
`config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for
`config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template
without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced,
see the
autoheader: WARNING: documentation.
autoconf/programs.m4:438: AC_DECL_YYTEXT is expanded from...
configure.in:147: the top level
Actual result:
--------------
[root@kepler php-4.4.2]# ./buildconf --force
Forcing buildconf
using default Zend directory
buildconf: checking installation...
buildconf: autoconf version 2.59 (ok)
buildconf: Your version of autoconf likely contains buggy cache code.
Running cvsclean for you.
To avoid this, install autoconf-2.13.
[root@kepler php-4.4.2]#
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37855&edit=1