Bug #16937 Updated: PHP with GD 2.0.1 will not compile

From: Date: Wed, 01 May 2002 13:27:34 +0000
Subject: Bug #16937 Updated: PHP with GD 2.0.1 will not compile
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-6639@lists.php.net to get a copy of this message
ID: 16937 Updated by: mfurdyk@takingitglobal.org Reported By: mfurdyk@takingitglobal.org Status: Feedback Bug Type: GD related Operating System: Linux 2.4.9 PHP Version: 4.2.0 New Comment: I'm pointing directly to the GD src directory, as mentioned here: http://www.php.net/~rasmus/gd.html gd.h is here: /usr/local/src/gd-2.0.1/gd.h And i'm pointing directly there (to gd-2.0.1 dir) when compiling. Yes, it does have the line. Previous Comments: ------------------------------------------------------------------------ [2002-05-01 02:44:16] mfischer@php.net Where is your gd.h located? Does it containe the following line #define gdPie gdArc ? ------------------------------------------------------------------------ [2002-05-01 01:30:09] mfurdyk@takingitglobal.org PHP is what won't compile, not GD :) ------------------------------------------------------------------------ [2002-05-01 01:27:39] mfurdyk@takingitglobal.org Trying to compile GD 2.0.1 into PHP 4.2.0, 4.1.2, or 4.0.6 produces this error: 4.2.0 ERROR: gd.c: In function `zm_startup_gd': gd.c:303: `gdArc' undeclared (first use in this function) gd.c:303: (Each undeclared identifier is reported only once gd.c:303: for each function it appears in.) gd.c:304: `gdPie' undeclared (first use in this function) gd.c:305: `gdChord' undeclared (first use in this function) gd.c:306: `gdNoFill' undeclared (first use in this function) gd.c:307: `gdEdged' undeclared (first use in this function) gd.c: In function `zif_imagecreatetruecolor': gd.c:588: warning: assignment makes pointer from integer without a cast gd.c: In function `zif_imagecolorat': gd.c:1626: structure has no member named `tpixels' make[3]: *** [gd.lo] Error 1 make[3]: Leaving directory `/usr/local/src/php-4.2.0/ext/gd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/php-4.2.0/ext/gd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/php-4.2.0/ext' make: *** [all-recursive] Error 1 4.0.6 ERROR: gd.c: In function `php_minit_gd': gd.c:296: `gdPie' undeclared (first use in this function) gd.c:296: (Each undeclared identifier is reported only once gd.c:296: for each function it appears in.) gd.c:297: `gdChord' undeclared (first use in this function) gd.c:298: `gdNoFill' undeclared (first use in this function) gd.c:299: `gdEdged' undeclared (first use in this function) gd.c: In function `php_if_imagecreatetruecolor': gd.c:577: warning: assignment makes pointer from integer without a cast make[3]: *** [gd.lo] Error 1 make[3]: Leaving directory `/usr/local/src/php-4.0.6/ext/gd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/php-4.0.6/ext/gd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/php-4.0.6/ext' make: *** [all-recursive] Error 1 I have completely wiped out the gd and php installs, and even went through tons of steps with some folks from #php. Other reports of this elsewhere on the web have gone unanswered. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16937&edit=1

« previous php.bugs (#6639) next »