ID: 20472 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: GD related Operating System: RedHat Linx 7.2 PHP Version: 4.3.0RC1/3 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ [2002-12-03 21:15:23] [EMAIL PROTECTED] <I will work at upgrading to the new version of GD, and try providing the path directly, rather than just the --with-gd.> Can you try with only "--with-gd", you do not need to provide a path here, with the 4.3.0 or cvs, php will use the bundled (deliver with php sources) gd version. Btw, be sure to remove all include files from gd if they are in the stantard include path. thank's pierre ------------------------------------------------------------------------ [2002-11-20 22:42:19] [EMAIL PROTECTED] I have attemped to compile both PHP and GD, with specifing the same location of the libpng library in each. After doing this I am still receiving the same error. I will continue to attempt different compile methods. An update here later. The frequency of my responses will decrease over the next two weeks as I will be away from home. I will continue to update more often again on Dec 2. ------------------------------------------------------------------------ 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