Bug #17783: Includes conflicting with bundled gd

From: Date: Sun, 16 Jun 2002 13:41:55 +0000
Subject: Bug #17783: Includes conflicting with bundled gd
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10738@lists.php.net to get a copy of this message
From: msopacua@idg.nl Operating system: Any unix PHP version: 4.0CVS-2002-06-16 PHP Bug Type: *Compile Issues Bug description: Includes conflicting with bundled gd 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 bug report at http://bugs.php.net/?id=17783&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17783&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17783&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17783&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17783&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17783&r=support Expected behavior: http://bugs.php.net/fix.php?id=17783&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17783&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17783&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17783&r=globals

« previous php.bugs (#10738) next »