#19819 [NEW]: 'make depend' in 'phpize'd directory doesn't work.
| From: | kaien at sparcs dot kaist dot ac dot kr | Date: | Tue, 08 Oct 2002 16:31:32 +0000 |
| Subject: | #19819 [NEW]: 'make depend' in 'phpize'd directory doesn't work. | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-9936@lists.php.net to get a copy of this message | ||
From: kaien@sparcs.kaist.ac.kr
Operating system: Linux 2.4(redhat 7.1)
PHP version: 4.2.3
PHP Bug Type: PEAR related
Bug description: 'make depend' in 'phpize'd directory doesn't work.
% cd myext
% phpize
% make depend
make[1]: Entering directory `/home/kaien/work/myext'
make[1]: Nothing to be done for `depend-p'.
make[1]: Leaving directory `/home/kaien/work/myext'
/bin/sh: -f: command not found
%
'make depend' in 'phpize'd extension directory fails
because of $(AWK) in build/rules.mk is not set.
(Which should set in config_vars.mk)
This patch for pear/pear.m4 will help.
*** pear.m4 Wed Oct 9 01:14:59 2002
--- pear.m4.fixed Wed Oct 9 01:14:57 2002
***************
*** 69,74 ****
--- 69,75 ----
enable_shared=yes
AC_PROG_LIBTOOL
+ AC_PROG_AWK
all_targets='$(PHP_MODULES)'
install_targets=install-modules
***************
*** 106,111 ****
--- 107,113 ----
PHP_SUBST(SHARED_LIBTOOL)
PHP_SUBST(LIBTOOL)
PHP_SUBST(SHELL)
+ PHP_SUBST(AWK)
PHP_GEN_BUILD_DIRS
PHP_GEN_GLOBAL_MAKEFILE
--
Edit bug report at http://bugs.php.net/?id=19819&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19819&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19819&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19819&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19819&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19819&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19819&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19819&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19819&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19819&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19819&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19819&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=19819&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=19819&r=isapi