PHP 4.1.2 & Gd2
| From: | Jeroen Geusebroek | Date: | Tue, 19 Mar 2002 21:47:55 +0000 |
| Subject: | PHP 4.1.2 & Gd2 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-89220@lists.php.net to get a copy of this message | ||
Hi,
I'm trying to install GD2 in PHP, and can't get it compiled. It keeps
saying:
In file included from gd.c:36:
php_gd.h:69: warning: static declaration for `gdImageColorResolve'
follows non-static
gd.c:92: conflicting types for `gdIOCtx'
/usr/include/gd_io.h:18: previous declaration of `gdIOCtx'
make[3]: *** [gd.lo] Error 1
./configure --with-apxs=/usr/local/apache/bin/apxs
--with-curl=/usr/local/lib --with-mysql=/usr/local/mysql --
with-zlib --enable-track-vars
--with-config-file-path=/usr/local/apache/php --with-gd=/usr --with-ldap
--with-
interbase=/opt/interbase --with-ttf
GD 1.8.x works great, this only happens with GD2.
Any suggestions?
Thanks,
Jeroen