[PHP-users 3117] Re: PHP 4.1.0RC1

maya php-users@php.gr.jp
Fri, 26 Oct 2001 09:57:47 +0900


mayaです。

From: Masashi Ohba <ohba@intelight.co.jp>
Subject: [PHP-users 3106] Re: PHP 4.1.0RC1
> mbregex.soだけが不具合があるなら、php4_mbregex-1.2.1.tar.gzが
> 4.1.0非対応、あるいは不要ということもあるえるかな?とも
> 思うのですが、そもそもiconv.soは4.1.0RC1についてるものだし


mbregexですが、うちでは組み込みにしてコンパイルしようとしてエラーが出ます。
mbregex側が対応できてないような気がしますが、実際はどうなんでしょうね?


環境 + インストール
FreeBSD 4.4

m4-1.4(パッケージ)
autoconf-2.13_1(パッケージ)
automake-1.4.5_1(パッケージ)
libtool-1.4.2(1.4.xのパッケージがなかったのでソースから)

Apache-1.3.22
./configure \
--enable-module=so \
--enable-shared=remain \
--enable-module=most
make
make install

PHP-4.1.0RC1
./buildconf
./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--without-mysql \
--with-pgsql=/usr/local/pgsql \
--enable-mbstring --enable-mbstr-enc-trans \
--enable-mbregex
make
・
・
・
Making all in ext
Making all in mbregex
/bin/sh /usr/src/maya/php-4.1.0RC1/libtool --silent --mode=compile gcc  -I. -I/u
sr/src/maya/php-4.1.0RC1/ext/mbregex -I/usr/src/maya/php-4.1.0RC1/main -I/usr/sr
c/maya/php-4.1.0RC1 -I/usr/local/apache/include -I/usr/src/maya/php-4.1.0RC1/Zen
d -I/usr/src/maya/php-4.1.0RC1/ext/xml/expat  -DUSE_EXPAT -I/usr/src/maya/php-4.
1.0RC1/TSRM -g -O2 -prefer-pic  -c mbregex.c
/bin/sh /usr/src/maya/php-4.1.0RC1/libtool --silent --mode=compile gcc  -I. -I/u
sr/src/maya/php-4.1.0RC1/ext/mbregex -I/usr/src/maya/php-4.1.0RC1/main -I/usr/sr
c/maya/php-4.1.0RC1 -I/usr/local/apache/include -I/usr/src/maya/php-4.1.0RC1/Zen
d -I/usr/src/maya/php-4.1.0RC1/ext/xml/expat  -DUSE_EXPAT -I/usr/src/maya/php-4.
1.0RC1/TSRM -g -O2 -prefer-pic  -c php_mbregex.c
php_mbregex.c:68: warning: initialization makes integer from pointer without a c
ast
php_mbregex.c:68: initializer element is not computable at load time
php_mbregex.c:68: (near initialization for `mbregex_module_entry.size')
php_mbregex.c:69: warning: initialization makes integer from pointer without a c
ast
php_mbregex.c:70: warning: initialization makes integer from pointer without a c
ast
php_mbregex.c:70: initializer element is not computable at load time
php_mbregex.c:70: (near initialization for `mbregex_module_entry.zend_debug')
php_mbregex.c:71: warning: initialization makes integer from pointer without a c
ast
php_mbregex.c:71: initializer element is not computable at load time
php_mbregex.c:71: (near initialization for `mbregex_module_entry.zts')
php_mbregex.c:73: warning: initialization from incompatible pointer type
php_mbregex.c:74: warning: initialization from incompatible pointer type
*** Error code 1

Stop in /usr/src/maya/php-4.1.0RC1/ext/mbregex.
*** Error code 1

Stop in /usr/src/maya/php-4.1.0RC1/ext/mbregex.
*** Error code 1

Stop in /usr/src/maya/php-4.1.0RC1/ext.
*** Error code 1

Stop in /usr/src/maya/php-4.1.0RC1.



===================================
        maya maya@akira.ne.jp
   http://www1.akira.ne.jp/~maya/
===================================