Error in enabling Image module in Php
| From: | Arul Venkatesh Kandaswamy | Date: | Fri, 14 Jun 2002 11:16:56 +0000 |
| Subject: | Error in enabling Image module in Php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-102201@lists.php.net to get a copy of this message | ||
Hello folks,
When i tried to install php.My make command stops with the following error
gd.c:95: conflicting types for `gdIOCtx'
/usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
gd.c: In function `php_if_imagecreatefromgif':
gd.c:1209: `gdImageCreateFromGif' undeclared (first use in this function)
gd.c:1209: (Each undeclared identifier is reported only once
gd.c:1209: for each function it appears in.)
gd.c: In function `php_if_imagegif':
gd.c:1404: `gdImageGif' undeclared (first use in this function)
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/local/php-4.0.6/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/php-4.0.6/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/php-4.0.6/ext'
make: *** [all-recursive] Error 1
My configure option is
./configure --with-apxs=/usr/local/apache/bin/apxs \
--with-mysql=/usr/local/ \
--with-zlib \
--with-ftp \
--with-gd \
--with-jpeg-dir=/usr/local/lib \
--enable-versioning \
--enable-track-vars=yes \
--enable-url-includes \
--enable-sysvshm=yes \
--enable-sysvsem=yes \
--with-config-file-path=/etc
Any help is appreciated
Thanks in Advance
K.Arul Venkatesh