php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19819 'make depend' in 'phpize'd directory doesn't work.
Submitted: 2002-10-08 11:31 UTC Modified: 2002-10-13 05:29 UTC
From: kaien at sparcs dot kaist dot ac dot kr Assigned:
Status: Closed Package: PEAR related
PHP Version: 4.2.3 OS: Linux 2.4(redhat 7.1)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: kaien at sparcs dot kaist dot ac dot kr
New email:
PHP Version: OS:

 

 [2002-10-08 11:31 UTC] kaien at sparcs dot kaist dot ac dot kr
% 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



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-11 20:42 UTC] ssb@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 [2002-10-13 04:59 UTC] kaien at sparcs dot kaist dot ac dot kr
Thank you for fix,
but PHP_SUBST(AWK) is still missing.
Same error without PHP_SUBST(AWK).
 [2002-10-13 05:29 UTC] mj@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Jul 23 20:01:23 2021 UTC