Re: [PHP-DEV] Re: #20972 [Opn-Csd]: make fails during gd.c
This is a different bug (xpm) caused by a bug in the external GD library, this particular bug has been solved in the CVS. Unless you've patched your GD with gif write support you have nothing to gain from not using the bundled library, which offers more functionality and is more stable. The problem with free/gd_free is likely due to you having 2 sets of the GD library on your computer. This confuses the check, because the headers do not correspond with the library itself. Ilia On December 12, 2002 04:37 pm, electroteque wrote: i'm sorry this is not fixed , i have RC03 In file included from /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:89: /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd_ctx.c: In function `_php_image_output_ctx': /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd_ctx.c:73: structure has no member named `free' /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd_ctx.c:105: structure has no member named `free' /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c: In function `_php_image_type': /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1156: structure has no member named `free' /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1163: structure has no member named `free' /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c: In function `_php_image_create_from': /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1345: structure has no member named `free' /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1363: warning: assignment makes pointer from integer without a cast /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c: In function `zif_imagecreatefromxpm': /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1433: `gdImageCreateFromXpm' undeclared (first use in this function) /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1433: (Each undeclared identifier is reported only once /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1433: for each function it appears in.) i can honestly say checking for a particular version will not help instead check for versions less than the version that requires gd_free which is gd-2.0.8 #if HAVE_LIBGD204 io_ctx-gd_free(io_ctx); #else io_ctx-free(io_ctx); #endif i cant see where this define is coming from HAVE_LIBGD204 ?? [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... ID: 20972 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: Linux - 2.4.18 - SuSE 7.2 PHP Version: 4.3.0RC3 New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: [2002-12-12 13:46:02] [EMAIL PROTECTED] /bin/sh libtool --silent --mode=compile gcc -I/usr/local/src/gd-1.8.4/ -Iext/gd/ -I/usr/local/src/apache2/php-4.3.0RC3/ext/gd/ -DPHP_ATOM_INC -I/usr/local/src/apache2/php-4.3.0RC3/include -I/usr/local/src/apache2/php-4.3.0RC3/main -I/usr/local/src/apache2/php-4.3.0RC3 -I/usr/local/apache2/include -I/usr/local/src/apache2/php-4.3.0RC3/Zend -I/usr/local/ssl/include -I/usr/local/include -I/usr/local/src/gd-1.8.4/ -I/usr/include/mysql -I/usr/local/verisign/payflowpro/linux/lib -I/usr/local/src/apache2/php-4.3.0RC3/ext/xml/expat -I/usr/local/src/apache2/php-4.3.0RC3/TSRM -g -O2 -prefer-pic -c /usr/local/src/apache2/php-4.3.0RC3/ext/gd/gd.c -o ext/gd/gd.lo /usr/local/src/apache2/php-4.3.0RC3/ext/gd/gd.c: In function `_php_image_create_from': /usr/local/src/apache2/php-4.3.0RC3/ext/gd/gd.c:1363: warning: assignment makes pointer from integer without a cast /usr/local/src/apache2/php-4.3.0RC3/ext/gd/gd.c: In function `zif_imagecreatefromxpm': /usr/local/src/apache2/php-4.3.0RC3/ext/gd/gd.c:1433: `gdImageCreateFromXpm' undeclared (first use in this function) /usr/local/src/apache2/php-4.3.0RC3/ext/gd/gd.c:1433: (Each undeclared identifier is reported only once /usr/local/src/apache2/php-4.3.0RC3/ext/gd/gd.c:1433: for each function it appears in.) make: *** [ext/gd/gd.lo] Error 1 -- Edit this bug report at http://bugs.php.net/?id=20972edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] Re: #20972 [Opn-Csd]: make fails during gd.c
sure i do but i have prefixed where gd is so it shouldnt be confused, its obviously not checking for 2.0.8 ? i have made my patches to gd s/php/php-4.3.0RC3/TSRM -g -O2 -prefer-pic -c /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c -o ext/gd/gd.lo /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c: In function `_php_image_create_from': /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1363: warning: assignment makes pointer from integer without a cast /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c: In function `zif_imagecreatefromxpm': /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1433: `gdImageCreateFromXpm' undeclared (first use in this function) /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1433: (Each undeclared identifier is reported only once /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1433: for each function it appears in.) hmm RC2 never gave me this after i renamed the functions so its something else, i'm going to try --with-gd without a prefix and see what happens, are you talking the latest snapshot when u say cvs, saying cvs is too vague , as 0RC3 is the latest stable i have also tried the snapshots, but still showing errors Ilia A. [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... This is a different bug (xpm) caused by a bug in the external GD library, this particular bug has been solved in the CVS. Unless you've patched your GD with gif write support you have nothing to gain from not using the bundled library, which offers more functionality and is more stable. The problem with free/gd_free is likely due to you having 2 sets of the GD library on your computer. This confuses the check, because the headers do not correspond with the library itself. Ilia On December 12, 2002 04:37 pm, electroteque wrote: i'm sorry this is not fixed , i have RC03 In file included from /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:89: /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd_ctx.c: In function `_php_image_output_ctx': /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd_ctx.c:73: structure has no member named `free' /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd_ctx.c:105: structure has no member named `free' /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c: In function `_php_image_type': /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1156: structure has no member named `free' /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1163: structure has no member named `free' /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c: In function `_php_image_create_from': /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1345: structure has no member named `free' /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1363: warning: assignment makes pointer from integer without a cast /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c: In function `zif_imagecreatefromxpm': /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1433: `gdImageCreateFromXpm' undeclared (first use in this function) /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1433: (Each undeclared identifier is reported only once /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1433: for each function it appears in.) i can honestly say checking for a particular version will not help instead check for versions less than the version that requires gd_free which is gd-2.0.8 #if HAVE_LIBGD204 io_ctx-gd_free(io_ctx); #else io_ctx-free(io_ctx); #endif i cant see where this define is coming from HAVE_LIBGD204 ?? [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... ID: 20972 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: Linux - 2.4.18 - SuSE 7.2 PHP Version: 4.3.0RC3 New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: [2002-12-12 13:46:02] [EMAIL PROTECTED] /bin/sh libtool --silent --mode=compile gcc -I/usr/local/src/gd-1.8.4/ -Iext/gd/ -I/usr/local/src/apache2/php-4.3.0RC3/ext/gd/ -DPHP_ATOM_INC -I/usr/local/src/apache2/php-4.3.0RC3/include -I/usr/local/src/apache2/php-4.3.0RC3/main -I/usr/local/src/apache2/php-4.3.0RC3 -I/usr/local/apache2/include -I/usr/local/src/apache2/php-4.3.0RC3/Zend -I/usr/local/ssl/include -I/usr/local/include
Re: [PHP-DEV] Re: #20972 [Opn-Csd]: make fails during gd.c
ok now its spits the dummy about freetype In file included from /usr/src/sources/php/php-4.3.0RC3/ext/gd/libgd/gdft.c:49: /usr/local/etc/freetype/include/freetype2/freetype/freetype.h:41:22: ft2build.h: No such file or directory /usr/local/etc/freetype/include/freetype2/freetype/freetype.h:42:10: #include expects FILENAME or FILENAME /usr/local/etc/freetype/include/freetype2/freetype/freetype.h:43:10: #include expects FILENAME or FILENAME /usr/local/etc/freetype/include/freetype2/freetype/freetype.h:44:10: #include expects FILENAME or FILENAME and then all these errors for 1000 lines which would be silly to post the end looks like this union /usr/src/sources/php/php-4.3.0RC3/ext/gd/libgd/gdft.c:1032: request for member `yMax' in something not a structure or union /usr/src/sources/php/php-4.3.0RC3/ext/gd/libgd/gdft.c:1033: request for member `xMin' in something not a structure or union /usr/src/sources/php/php-4.3.0RC3/ext/gd/libgd/gdft.c:1033: request for member `yMax' in something not a structure or union make: *** [ext/gd/libgd/gdft.lo] Error 1 Ilia A. [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... This is a different bug (xpm) caused by a bug in the external GD library, this particular bug has been solved in the CVS. Unless you've patched your GD with gif write support you have nothing to gain from not using the bundled library, which offers more functionality and is more stable. The problem with free/gd_free is likely due to you having 2 sets of the GD library on your computer. This confuses the check, because the headers do not correspond with the library itself. Ilia On December 12, 2002 04:37 pm, electroteque wrote: i'm sorry this is not fixed , i have RC03 In file included from /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:89: /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd_ctx.c: In function `_php_image_output_ctx': /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd_ctx.c:73: structure has no member named `free' /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd_ctx.c:105: structure has no member named `free' /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c: In function `_php_image_type': /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1156: structure has no member named `free' /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1163: structure has no member named `free' /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c: In function `_php_image_create_from': /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1345: structure has no member named `free' /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1363: warning: assignment makes pointer from integer without a cast /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c: In function `zif_imagecreatefromxpm': /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1433: `gdImageCreateFromXpm' undeclared (first use in this function) /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1433: (Each undeclared identifier is reported only once /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1433: for each function it appears in.) i can honestly say checking for a particular version will not help instead check for versions less than the version that requires gd_free which is gd-2.0.8 #if HAVE_LIBGD204 io_ctx-gd_free(io_ctx); #else io_ctx-free(io_ctx); #endif i cant see where this define is coming from HAVE_LIBGD204 ?? [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... ID: 20972 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: Linux - 2.4.18 - SuSE 7.2 PHP Version: 4.3.0RC3 New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: [2002-12-12 13:46:02] [EMAIL PROTECTED] /bin/sh libtool --silent --mode=compile gcc -I/usr/local/src/gd-1.8.4/ -Iext/gd/ -I/usr/local/src/apache2/php-4.3.0RC3/ext/gd/ -DPHP_ATOM_INC -I/usr/local/src/apache2/php-4.3.0RC3/include -I/usr/local/src/apache2/php-4.3.0RC3/main -I/usr/local/src/apache2/php-4.3.0RC3 -I/usr/local/apache2/include -I/usr/local/src/apache2/php-4.3.0RC3/Zend -I/usr/local/ssl/include -I/usr/local/include -I/usr/local/src/gd-1.8.4/ -I/usr/include/mysql
Re: [PHP-DEV] Re: #20972 [Opn-Csd]: make fails during gd.c
When I say CV,S I am referring to the latest version of the PHP_4_3 tree, you can download snapshots of that tree (generated every 2 hours) from http://snaps.php.net Ilia On December 12, 2002 04:55 pm, electroteque wrote: sure i do but i have prefixed where gd is so it shouldnt be confused, its obviously not checking for 2.0.8 ? i have made my patches to gd s/php/php-4.3.0RC3/TSRM -g -O2 -prefer-pic -c /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c -o ext/gd/gd.lo /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c: In function `_php_image_create_from': /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1363: warning: assignment makes pointer from integer without a cast /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c: In function `zif_imagecreatefromxpm': /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1433: `gdImageCreateFromXpm' undeclared (first use in this function) /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1433: (Each undeclared identifier is reported only once /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1433: for each function it appears in.) hmm RC2 never gave me this after i renamed the functions so its something else, i'm going to try --with-gd without a prefix and see what happens, are you talking the latest snapshot when u say cvs, saying cvs is too vague , as 0RC3 is the latest stable i have also tried the snapshots, but still showing errors Ilia A. [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... This is a different bug (xpm) caused by a bug in the external GD library, this particular bug has been solved in the CVS. Unless you've patched your GD with gif write support you have nothing to gain from not using the bundled library, which offers more functionality and is more stable. The problem with free/gd_free is likely due to you having 2 sets of the GD library on your computer. This confuses the check, because the headers do not correspond with the library itself. Ilia On December 12, 2002 04:37 pm, electroteque wrote: i'm sorry this is not fixed , i have RC03 In file included from /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:89: /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd_ctx.c: In function `_php_image_output_ctx': /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd_ctx.c:73: structure has no member named `free' /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd_ctx.c:105: structure has no member named `free' /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c: In function `_php_image_type': /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1156: structure has no member named `free' /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1163: structure has no member named `free' /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c: In function `_php_image_create_from': /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1345: structure has no member named `free' /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1363: warning: assignment makes pointer from integer without a cast /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c: In function `zif_imagecreatefromxpm': /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1433: `gdImageCreateFromXpm' undeclared (first use in this function) /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1433: (Each undeclared identifier is reported only once /usr/src/sources/php/php-4.3.0RC3/ext/gd/gd.c:1433: for each function it appears in.) i can honestly say checking for a particular version will not help instead check for versions less than the version that requires gd_free which is gd-2.0.8 #if HAVE_LIBGD204 io_ctx-gd_free(io_ctx); #else io_ctx-free(io_ctx); #endif i cant see where this define is coming from HAVE_LIBGD204 ?? [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... ID: 20972 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: Linux - 2.4.18 - SuSE 7.2 PHP Version: 4.3.0RC3 New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: [2002-12-12 13:46:02] [EMAIL PROTECTED] /bin/sh libtool --silent
RE: [PHP-DEV] Re: #20972 [Opn-Csd]: make fails during gd.c
Ilia A. wrote: This is a different bug (xpm) caused by a bug in the external GD library, this particular bug has been solved in the CVS. Unless you've patched your GD with gif write support you have nothing to gain from not using the bundled library, which offers more functionality and is more stable. The problem with free/gd_free is likely due to you having 2 sets of the GD library on your computer. This confuses the check, because the headers do not correspond with the library itself. Is the xpm fix going to make it into 4.3 then? Regards Mike Robinson -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] Re: #20972 [Opn-Csd]: make fails during gd.c
On December 12, 2002 06:13 pm, Mike Robinson wrote: Ilia A. wrote: This is a different bug (xpm) caused by a bug in the external GD library, this particular bug has been solved in the CVS. Unless you've patched your GD with gif write support you have nothing to gain from not using the bundled library, which offers more functionality and is more stable. The problem with free/gd_free is likely due to you having 2 sets of the GD library on your computer. This confuses the check, because the headers do not correspond with the library itself. Is the xpm fix going to make it into 4.3 then? Yes. Regards Mike Robinson -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php