[PHP-dev 537] php-4.2.3 国際化版でmakeエラー

Takahiro Sakamoto php-dev@php.gr.jp
Wed, 16 Oct 2002 21:36:20 +0900


http://nxweb.dyndns.org:8080/php-i18n-download.html
からダウンロードしたパッチ適用済みのtarアーカイブ
 php-4.2.3-multibyte.tar.gz をコンパイルしたところ

multibyte.c
In file included from zend_multibyte.c:8:
zend_istdiostream.h:5: parse error before `istdiostream'
zend_istdiostream.h: In function `rdbuf':
zend_istdiostream.h:11: `_file' undeclared (first use in this function)
zend_istdiostream.h:11: (Each undeclared identifier is reported only once
zend_istdiostream.h:11: for each function it appears in.)
zend_istdiostream.h: At top level:
zend_istdiostream.h:12: parse error before `}'
make[1]: *** [zend_multibyte.lo] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.3/Zend'
make: *** [all-recursive] Error 1
とエラーになってしまいます。

configureは
--with-apxs2=/usr/local/apache2/bin/apxs --enable-zend-multibyte --enable-mbstring --enable-mbstr-enc-trans

環境はTurboLunux6.5 Server
 GNU Bison version 1.28
 flex version 2.5.4
 ltmain.sh (GNU libtool) 1.3.5 (1.385.2.206 2000/05/27 11:12:27)
 gcc 2.95.2.1
です