ID: 20472 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: GD related Operating System: RedHat Linx 7.2 PHP Version: 4.3.0RC1/3 New Comment:
--with-gd=/path uses an external library you already have installed on your system. --with-gd will use the bundled version of GD; from PHP 4.3.0 we bundle GD with our own patches and bugfixes. If you do not need GIF writing support we strongly recommend to use the bundled library as it has some fixes and new features (like anti-aliased line drawing) that the non-bundled library does not have. Previous Comments: ------------------------------------------------------------------------ [2002-12-15 14:24:17] [EMAIL PROTECTED] --with-gd uses bundled GD library. ------------------------------------------------------------------------ [2002-12-15 14:19:02] [EMAIL PROTECTED] Can you explain how the --with-gd differs from the --with-gd=path? I am currently have 2 versions of GD installed (gd-1.8.4 in production & 2.0.9 in dev). Which version would the with-gd use? I am trying a new download from snaps.php.net, and will update later today. ------------------------------------------------------------------------ [2002-12-15 13:22:13] [EMAIL PROTECTED] This was recently fixed, can you please try a stable snapshot from snaps.php.net to verify this? We would also welcome feedback whether you encounter the same problems when using the bundled GD. (You can use that by just using --with-gd instead of --with-gd=/path). regards, Derick ------------------------------------------------------------------------ [2002-12-15 13:20:04] [EMAIL PROTECTED] Hello again, I have gotten my box back online and am working to upgrade everything to the most recent version. I have downloaded PHP 4.3.0RC3 and GD2.0.9. I am able to install GD, but the PHP make fails on GD related items. Below is my config command, and the make error. Adding the paths to the jpeg files & libpng have not helped either. ./configure --with-mysql --with-apxs2=/usr/dev/local/apache2/bin/apxs --with-gd=/usr/dev/local/gd2.0.9/ --prefix=/usr/dev/local/php4.3/ make /bin/sh libtool --silent --mode=compile gcc -Iext/ctype/ -I/usr/dev/src/php-4.3.0RC3/ext/ctype/ -DPHP_ATOM_INC -I/usr/dev/src/php-4.3.0RC3/include -I/usr/dev/src/php-4.3.0RC3/main -I/usr/dev/src/php-4.3.0RC3 -I/usr/dev/local/apache2/include -I/usr/dev/src/php-4.3.0RC3/Zend -I/usr/dev/local/gd2.0.9//include -I/usr/dev/src/php-4.3.0RC3/ext/xml/expat -I/usr/dev/src/php-4.3.0RC3/TSRM -g -O2 -prefer-pic -c /usr/dev/src/php-4.3.0RC3/ext/ctype/ctype.c -o ext/ctype/ctype.lo /bin/sh libtool --silent --mode=compile gcc -I/usr/dev/local/gd2.0.9//include -Iext/gd/ -I/usr/dev/src/php-4.3.0RC3/ext/gd/ -DPHP_ATOM_INC -I/usr/dev/src/php-4.3.0RC3/include -I/usr/dev/src/php-4.3.0RC3/main -I/usr/dev/src/php-4.3.0RC3 -I/usr/dev/local/apache2/include -I/usr/dev/src/php-4.3.0RC3/Zend -I/usr/dev/local/gd2.0.9//include -I/usr/dev/src/php-4.3.0RC3/ext/xml/expat -I/usr/dev/src/php-4.3.0RC3/TSRM -g -O2 -prefer-pic -c /usr/dev/src/php-4.3.0RC3/ext/gd/gd.c -o ext/gd/gd.lo In file included from /usr/dev/src/php-4.3.0RC3/ext/gd/gd.c:89: /usr/dev/src/php-4.3.0RC3/ext/gd/gd_ctx.c: In function `_php_image_output_ctx': /usr/dev/src/php-4.3.0RC3/ext/gd/gd_ctx.c:73: structure has no member named `free' /usr/dev/src/php-4.3.0RC3/ext/gd/gd_ctx.c:105: structure has no member named `free' /usr/dev/src/php-4.3.0RC3/ext/gd/gd.c: In function `_php_image_type': /usr/dev/src/php-4.3.0RC3/ext/gd/gd.c:1156: structure has no member named `free' /usr/dev/src/php-4.3.0RC3/ext/gd/gd.c:1163: structure has no member named `free' /usr/dev/src/php-4.3.0RC3/ext/gd/gd.c: In function `_php_image_create_from': /usr/dev/src/php-4.3.0RC3/ext/gd/gd.c:1345: structure has no member named `free' /usr/dev/src/php-4.3.0RC3/ext/gd/gd.c:1363: warning: assignment makes pointer from integer without a cast /usr/dev/src/php-4.3.0RC3/ext/gd/gd.c: In function `zif_imagecreatefromxpm': /usr/dev/src/php-4.3.0RC3/ext/gd/gd.c:1433: `gdImageCreateFromXpm' undeclared (first use in this function) /usr/dev/src/php-4.3.0RC3/ext/gd/gd.c:1433: (Each undeclared identifier is reported only once /usr/dev/src/php-4.3.0RC3/ext/gd/gd.c:1433: for each function it appears in.) make: *** [ext/gd/gd.lo] Error 1 ------------------------------------------------------------------------ [2002-12-03 21:24:35] [EMAIL PROTECTED] I apologize for the lack of updates lately, but I have been traveling for the last week and a half. The server I am running is not at my house but at a friends who has Road Runner. For the last 2 months it has worked without issue... of course as soon as my friend goes on vacation for 2 weeks, the ethernet card lost it's connection. Because of that it will likely be another 2 weeks before I can look at this again. Thanks for your help & Patience Scott ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/20472 -- Edit this bug report at http://bugs.php.net/?id=20472&edit=1