ID:               20228
 Comment by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Closed
 Bug Type:         GD related
 Operating System: Linux Redhat 8
 PHP Version:      4.2.3
 New Comment:

If this is fixed in CVS, why is this bug still in 4.3.0RC3?

Best regards Henrik


Previous Comments:
------------------------------------------------------------------------

[2002-11-03 08:31:18] [EMAIL PROTECTED]

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.

------------------------------------------------------------------------

[2002-11-03 08:05:21] [EMAIL PROTECTED]

I looked through the already submitted bugs and some might have been
similar, but none had the same error. 

I have compiled and installed GD version 2.0.4. This is on a fresh
installation of linux, so there shouldn't be any older versions of GD
that might be lying around. My PHP configure statement is as follows:

./configure --with-mysql=/usr/local/mysql --with-xml --with-zlib
--with-gd=/usr --with-jpeg-dir=/usr/include --with-png-dir=/usr/include
--with-xpm-dir=/usr/include --enable-ftp --enable-trans-sid
--enable-track-vars --with-apache=../apache_1.3.27

PHP then configures correctly, but when performing the make command for
PHP, I get the following error:

In file included from gd.c:83:
gd_ctx.c: In function `_php_image_output_ctx':
gd_ctx.c:70: structure has no member named `free'
gd_ctx.c:98: structure has no member named `free'
gd.c: In function `_php_image_type':
gd.c:1014: structure has no member named `free'
gd.c:1017: structure has no member named `free'
gd.c: In function `_php_image_create_from':
gd.c:1209: structure has no member named `free'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/root/downloads/php-4.2.3/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/downloads/php-4.2.3/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/downloads/php-4.2.3/ext'
make: *** [all-recursive] Error 1
[root@lighthouse php-4.2.3]# locate gd.h
/root/downloads/gd-2.0.4/gd.h
/root/downloads/php-4.2.3/ext/gd/php_gd.h
/usr/include/gd.h

If the solution to this problem is to use an older version of GD, what
is the command to uninstall GD? I tried "make uninstall", but that did
not work. I can't find it anywhere in the GD docs either.

Thanks in advance,
Ace



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=20228&edit=1

Reply via email to