#20463 [NEW]: gd error: free vs gd_free again
| From: | mcdaniew at ucsu dot colorado dot edu | Date: | Sun, 17 Nov 2002 15:41:50 +0000 |
| Subject: | #20463 [NEW]: gd error: free vs gd_free again | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-25092@lists.php.net to get a copy of this message | ||
From: mcdaniew@ucsu.colorado.edu
Operating system: Redhat Linux 7.2
PHP version: 4CVS-2002-11-17
PHP Bug Type: Compile Failure
Bug description: gd error: free vs gd_free again
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 bug report at http://bugs.php.net/?id=20463&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20463&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20463&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20463&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20463&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20463&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20463&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20463&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20463&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20463&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20463&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20463&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20463&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20463&r=isapi