[PHP-users 569] Re: GD

f.t. php-users@php.gr.jp
Thu, 05 Jul 2001 16:23:59 +0900


自己レスです。
まったく同内容の質問が[PHP-jp 12303]にありましたね(OSは違いますが)。
どうもすみません。
けど、結局どうやって解決したのでしょう?なんか違う内容のメールがレスにつ
いて(redhat7.1+php4.0.5+postgresql7.1.2でコンパイルエラー)、この話題は
埋没している…


----------引用 12303
こんにちは。

PHP4.0.5のmake中にgdでエラーが出て、
インストールできず困っています。

gd(1.8.4)はmake、make installでインストール済み

PHPのconfigure
./configure --with-apxs=/usr/local/apache/bin/apxs --enable-track-vars --with-gd=/usr/local --with-mysql --enable-jstring --enable-i18n --enable-mbregex

PHPをmake
……
gd.c:91: conflicting types for `gdIOCtx'
/usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.0.5/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.0.5/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.0.5/ext'
make: *** [all-recursive] Error 1

サーバーはRedhatです。

いつもご迷惑かけます。 
f.t. <fujiyama@pc.mycom.co.jp>