Do You PHP?    
Search Engine Optimization  php5 powerd  Valid XHTML 1.0!  Valid CSS!  このサイトのはてなブックマーク数 



last updated
2005/01/31

counter hits
since 1999/11/06


phpizeで「warning: underquoted definition」が多発する場合の対処法

bugs.php.netにもありますが、automake1.8以上を使用している場合、phpizeコマンドを実行するとwarningが多発してしまうようです。

●phpizeの実行
# phpize
configure.in:9: warning: underquoted definition of PHP_WITH_PHP_CONFIG
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal
configure.in:32: warning: underquoted definition of PHP_EXT_BUILDDIR
configure.in:33: warning: underquoted definition of PHP_EXT_DIR
configure.in:34: warning: underquoted definition of PHP_EXT_SRCDIR
configure.in:35: warning: underquoted definition of PHP_ALWAYS_SHARED
acinclude.m4:19: warning: underquoted definition of PHP_PROG_RE2C
/usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
Configuring for:
  PHP Api Version:   20020918
  Zend Module Api No:   20020429
  Zend Extension Api No:   20021010
# 

対処法としては、bugs.php.netにある通り、

  • acinclude.m4
  • phpize.m4

にある

AC_DEFUN(PHP_EXT_BUILDDIR,[.])dnl

AC_DEFUN([PHP_EXT_BUILDDIR],[.])dnl

といった具合に修正してやると良いようです。ただし、phpizeを実行したディレクトリ直下のファイルだけではなく、PHPのインストールディレクトリ(configureオプションの--prefix)下にあるlib/php/buildディレクトリ内にあるファイルも対象になりますので注意が必要です。



About This Site |  Privacy Policy |  Contact
Copyright © 1999 - 2005 by Hideyuki SHIMOOKA all rights reserved.