[PHP-users 9263] php4のmake時にエラーがでる

石原 竜介 php-users@php.gr.jp
Fri, 9 Aug 2002 14:44:57 +0900


はじめまして、石原と申します。
phpをmakeすると以下のエラーが出てしまいうまくmakeすることができません。
過去ログのhttp://ns1.php.gr.jp/pipermail/php-users/2002-May/007572.html
のかたの解決策(libgd.aを削除し再インスト)でも解決することができませんでし
た。
何方か知恵をお貸しください。
よろしくお願いします。

環境
TurboLinux Server6.1
GD-1.8.3
php-4.0.2

configureの設定
----------------------------------
./configure
    --with-pgsql=/usr/libexec/apache
    --with-apxs=/usr/sbin/apxs
    --with-pdflib=/usr/local/include
    --with-zlib-dir=/usr/lib
    --with-jpeg-dir=/usr/lib
    --with-gd=/usr/local
    --with-tiff-dir/usr/lib1
    --enable-magic-quotes
    --enable-track-varsi
    --enable-versioning
----------------------------------


gd.c: In function `php_if_imagecreatefromgif':
gd.c:500: `gdImageCreateFromGif' undeclared (first use in this function)
gd.c:500: (Each undeclared identifier is reported only once
gd.c:500: for each function it appears in.)
gd.c: In function `php_if_imagegif':
gd.c:657: `gdImageGif' undeclared (first use in this function)
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.0.2/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.0.2/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.0.2/ext'
make: *** [all-recursive] Error 1

石原