From: info at ch2o dot info Operating system: HP-UX PHP version: 4CVS-2005-09-01 (snap) PHP Bug Type: Compile Failure Bug description: buildconf fail
Description: ------------ when have passed to php4.4 and up from 4.3.x... when execute buildconf on hp-ux without gnu make (named make!) buildconf fail in path... because of use of specifique gnu make macro in build2.mk... on hp-ux precompiled gnu make is named "gmake" and not "make" to differentiate from regulare make... when have analyse buildconf script, have found that i counld export MAKE env with gmake to buildconf work fine : export MAKE=gmake if gmake is the only choice for use buildconf it nessesary to add the possibility to autodetect gnu make in form "gmake" to set automaticly MAKE env vars in buildconf shell script... and detect if "make" are not gnu make to indicate the need of gnu make to use buildconf... Best regards, Mathieu Reproduce code: --------------- /src/php4-STABLE-200508291446> ./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. Make: Must be a separator on rules line 36. Stop. *** Error exit code 1 Stop. /src/php4-STABLE-200508291446> export MAKE=gmake /src/php4-STABLE-200508291446> ./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. rebuilding configure 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. Expected result: ---------------- 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. rebuilding configure 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. -- Edit bug report at http://bugs.php.net/?id=34328&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34328&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34328&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34328&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34328&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34328&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34328&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34328&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34328&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34328&r=support Expected behavior: http://bugs.php.net/fix.php?id=34328&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34328&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34328&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34328&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34328&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34328&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34328&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34328&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34328&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34328&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34328&r=mysqlcfg