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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
46 - 40 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 04:01:28 2024 UTC