I've seen others having problems with installing PHP and v2.0.1 of GD and I no one seems to have really solved the problem. And now I've stumbled into the same problem with PHP v4.1.2 and GD v1.8.4. Here's a short dump of the errors I get:
I run FreeBSD 4.5 and I've installed GD through the ports with all the libraries that it needs.
Then I want to re-compile PHP4.1.2 in the following manner:
./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs --with-jpeg-dir=/usr/local/lib --with-zlib-dir=/path/to/zlib --with-gd=/usr/local
That works really fine, and then I run make, which runs for a while and then this:
In file included from gd.c:36:
php_gd.h:69: warning: static declaration for gdImageColorResolve' follows non-static
gd.c:92: conflicting types forgdIOCtx'
/usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
What am I supposed to do?
I'd really appreciate any help. Thanks.
(Remove nospam in my email-adress to reply by email.)