PHP 4.0 Bug #3747: GD Compile Fails
| From: | junk-php at aontic dot com | Date: | Mon, 06 Mar 2000 20:39:34 +0000 |
| Subject: | PHP 4.0 Bug #3747: GD Compile Fails | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-16473@lists.php.net to get a copy of this message | ||
From: junk-php@aontic.com
Operating system: FreeBSD 2.2.7-STABLE
PHP version: 4.0 Beta 4 Patch Level 1
PHP Bug Type: Compile Failure
Bug description: GD Compile Fails
Looking to compile PHP4b4pl1 with GD support. I've succesfully compilied
zlib, libpng, and the gd library itself.
I'd like to be able to compile PHP, linking against this gd library, rather
then the ext/gd version.
I use the following to make.
./configure --with-gd=/usr/home/adboink/august/gd-1.7.3/ --disable-rpath --d
isable-inline --with-mysql --with-config-file-path=/usr/home/adboink/august/
.phpini --enable-debug=no --enable-force-cgi-redirect=yes -with-zlib=/usr/ho
me/adboink/august
make
[snip]
Making all in gd
gcc -DHAVE_CONFIG_H -I. -I/usr/home/adboink/august/php-4.0b4pl1/ext/gd -I../
.. -I../../Zend -I/usr/home/adboink/august/php-4.0b4pl1 -I/usr/local/include
-I/usr/home/adboink/august/gd-1.7.3/ -I/usr/local/include/mysql -I/usr/home
/adboink/august/include -D_REENTRANT -g -O2 -c gd.c && touch gd.lo
gcc -DHAVE_CONFIG_H -I. -I/usr/home/adboink/august/php-4.0b4pl1/ext/gd -I../
.. -I../../Zend -I/usr/home/adboink/august/php-4.0b4pl1 -I/usr/local/include
-I/usr/home/adboink/august/gd-1.7.3/ -I/usr/local/include/mysql -I/usr/home
/adboink/august/include -D_REENTRANT -g -O2 -c gdcache.c && touch
gdcache.lo
In file included from gdcache.h:44,
from gdcache.c:47:
/usr/local/include/malloc.h:81: parse error before `*'
/usr/local/include/malloc.h:82: parse error before `*'
/usr/local/include/malloc.h:87: parse error before `*'