phpizeで「warning: underquoted definition」というエラーが出たので対処した

add to hatena hatena.comment 1 users add to del.icio.us 0 user add to livedoor.clip 0 user

Webサーバにeacceleratorをインストールしようとしたらwarningが。
以下環境。

  • CentOS 4
  • automake 1.9.2-3
  • php 4.3.9
  • php-devel 4.3.9
[root@hoge ~]# wget http://downloads.sourceforge.net/eaccelerator/eaccelerator-0.9.5.zip		<- ダウンロード
[root@hoge ~]# unzip eaccelerator-0.9.5.zip	<- 展開
[root@hoge ~]# cd eaccelerator-0.9.5		<- 移動して
[root@hoge eaccelerator-0.9.5]# 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-aclocal
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

Configuring for:
  PHP Api Version:   20020918
  Zend Module Api No:   20020429
  Zend Extension Api No:   20021010

以下を参照しまして(感謝)
Do You PHP? - phpizeで「warning: underquoted definition」が多発する場合の対処法

以下ファイル修正。

[root@hoge ~]# vi /usr/lib/php/build/acinclude.m4 
AC_DEFUN(PHP_PROG_RE2C,[
AC_DEFUN([PHP_PROG_RE2C],[
[root@hoge ~]# vi /usr/lib/php/build/phpize.m4
AC_DEFUN(PHP_WITH_PHP_CONFIG,[ AC_DEFUN(PHP_EXT_BUILDDIR,[.])dnl AC_DEFUN(PHP_EXT_DIR,[”"])dnl AC_DEFUN(PHP_EXT_SRCDIR,[$abs_srcdir])dnl AC_DEFUN(PHP_ALWAYS_SHARED,[
AC_DEFUN([PHP_WITH_PHP_CONFIG],[ AC_DEFUN([PHP_EXT_BUILDDIR],[.])dnl AC_DEFUN([PHP_EXT_DIR],[”"])dnl AC_DEFUN([PHP_EXT_SRCDIR],[$abs_srcdir])dnl AC_DEFUN([PHP_ALWAYS_SHARED],[

以上でOK。

1件のコメント to “phpizeで「warning: underquoted definition」というエラーが出たので対処した”

  1. chandlers bmw さん:

    chandlers bmw…

    news (more…)

Leave a Reply