Compiling PHP4.1.2 with GD - possible or not? Need help!
| From: | Mathias Haas | Date: | Tue, 04 Jun 2002 17:28:10 +0000 |
| Subject: | Compiling PHP4.1.2 with GD - possible or not? Need help! | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-7221@lists.php.net to get a copy of this message | ||
I can't seem to install PHP v4.1.2 and GD v.1.8.4 *or* v2.0.1. I keep
getting the same Make error all the time. I'm completely out of ideas,
and the only answer I could find searching the web was that it is a
bug...
I run FreeBSD 4.5 and I've installed GD through the ports (and by hand)
with all the libraries that it needs. Then I want to re-compile PHP4.1.2
with the following compile string:
./configure --with-mysql=/usr/local/mysql
--with-apxs=/usr/local/apache/bin/apxs --with-jpeg-dir=/usr/local/lib
--with-zlib-dir=/usr/local/lib --with-gd=/usr/local
That works really fine, and then I run make, which runs for a while and
then I get this error:
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/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
What am I supposed to do?
I'd *really* appreciate any help. Thanks in advance.
/mathias