#20463 [Opn->Csd]: gd error: free vs gd_free again

From: Date: Sun, 17 Nov 2002 15:53:31 +0000
Subject: #20463 [Opn->Csd]: gd error: free vs gd_free again
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25093@lists.php.net to get a copy of this message
ID: 20463 Updated by: derick@php.net Reported By: mcdaniew@ucsu.colorado.edu -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: Redhat Linux 7.2 PHP Version: 4CVS-2002-11-17 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-11-17 09:41:50] mcdaniew@ucsu.colorado.edu In file included from /home/wade/php4-200211171430/ext/gd/gd.c:89: /home/wade/php4-200211171430/ext/gd/gd_ctx.c: In function `_php_image_output_ctx': /home/wade/php4-200211171430/ext/gd/gd_ctx.c:73: structure has no member named `free' Yes its this error again, and I do know that this error has been fixed in CVS. I even looked at the code and it should work, except #if HAVE_LIBGD204 isint being activated by the preprocessor. I have gd-2.0.7 installed. How can I get the compiler to know I have a gd version greater than or equal to gd-2.0.4? Heres my configure line ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-zlib --with-bz2 --enable-calendar --with-gd=/usr/local/ --with-jpeg-dir=/usr/ --with-png-dir=/usr/ --with-tiff-dir=/usr/ --with-zlib-dir=/usr/ --with-gettext --with-imap --with-imap-ssl=/usr/local/ssl/ --enable-mime-magic --with-mysql=/usr/local/ --enable-sockets --with-pdflib --with-swf=/usr/local/ --with-kerberos Thanks for the help, and for the great product! -wade ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20463&edit=1

« previous php.bugs (#25093) next »