Bug #17783 Updated: Includes conflicting with bundled gd

From: Date: Tue, 18 Jun 2002 01:46:00 +0000
Subject: Bug #17783 Updated: Includes conflicting with bundled gd
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11013@lists.php.net to get a copy of this message
ID: 17783 Updated by: sniper@php.net Reported By: msopacua@idg.nl Status: Open -Bug Type: *Compile Issues +Bug Type: GD related Operating System: Any unix PHP Version: 4.0CVS-2002-06-16 Previous Comments: ------------------------------------------------------------------------ [2002-06-16 09:41:55] msopacua@idg.nl Consider the following: ./configure --with-zlib-dir=/usr/local --with-gd=php In /usr/local/include: gd.h installed by the system, and you can't get rid of it. compilation will fail, if the bundled gd.h defines functions, that aren't in the system supplied gd.h. (in my case: gdFTStringExtra). because it will compile with -I/usr/local/include -I/sourcepath/ext/gd/libgd and thus /usr/local/include/gd.h is preferred. I don't know if this has any issues, but the obvious solution, seems to be to move all includes to <libgd/*.h> and set -I/sourcepath/ext/gd. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17783&edit=1

« previous php.bugs (#11013) next »