ID:               20463
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Closed
+Status:           Open
 Bug Type:         Compile Failure
 Operating System: Redhat Linux 7.2
 PHP Version:      4CVS-2002-11-17
 New Comment:

Did you read the message?!

I have php4-200211171430 and #HAVE_LIBGD204 isint being set despite
gd-2.0.7 being installed.

I have forced #HAVE_LIBGD204 1 in ext/gd/gd.c but configure isint
setting it, and it seems to be compiling now but how stable will the
build be?!

Thanks for the detailed help...


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

[2002-11-17 09:53:30] [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-17 09:41:50] [EMAIL PROTECTED]

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

Reply via email to