php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37855 ./buildconf fails without obvious warning
Submitted: 2006-06-20 01:58 UTC Modified: 2006-06-20 05:57 UTC
From: bens at effortlessis dot com Assigned:
Status: Not a bug Package: *Compile Issues
PHP Version: 4.4.2 OS: CentOS 4.x
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bens at effortlessis dot com
New email:
PHP Version: OS:

 

 [2006-06-20 01:58 UTC] 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]#             

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-20 05:57 UTC] derick@php.net
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.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 08:01:34 2025 UTC