[PHP-users 24604] php4.2.2のmake時にエラー

bloodtb @ mail.goo.ne.jp bloodtb @ mail.goo.ne.jp
2005年 2月 19日 (土) 23:33:46 JST


和樹と申します。
宜しくお願いします。

Solaris8を使用している環境で、php4.2.2をソースからインストール
しようとしましたが、configureは出来るのですが、どうしてもmake時に
以下のエラーが発生してうまくいきません。

=====エラー内容=====
In file included from gd.c:36:
php_gd.h:69: warning: static declaration for `gdImageColorResolve' follows non-s
tatic
gd.c:92: conflicting types for `gdIOCtx'
/usr/local/include/gd_io.h:26: previous declaration of `gdIOCtx'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.2.2/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.2/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.2/ext'
make: *** [all-recursive] Error 1
===============
(gdは2.0.28を使用しています。)

configure時のオプション
./configure --enable-zend-multibyte --enable-mbstring --enable-mbstr-enc-trans 
--enable-mbregex --with-pgsql -without-mysql --with-apxs=/usr/local/apache/bin/apxs 
--enable-track-vars --enable-versioning --with-gd --with-jpeg-dir=/usr/local/lib 
--with-png -dir=/usr/local/lib --with-zlib-dir=/usr/local/lib --enable-bcmath


webでエラー内容から解決策を色々と試してみたのですが、どうにも解決が出来ない
状況ですので、お知恵を拝借できれば幸いです。


PHP-users メーリングリストの案内