#20076 [Opn->Bgs]: Unable to compile php with most recent version of GD
| From: | sniper@php.net | Date: | Fri, 25 Oct 2002 07:43:29 +0000 |
| Subject: | #20076 [Opn->Bgs]: Unable to compile php with most recent version of GD | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23282@lists.php.net to get a copy of this message | ||
ID: 20076
Updated by: sniper@php.net
Reported By: squirt@ramtits.ca
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Linux
PHP Version: 4.2.3
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the original bug instead.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-10-25 02:00:28] squirt@ramtits.ca
Installed gd-2.0.4. Went and configured php with all flags needed:
"./configure --with-apache=../apache_1.3.27 --enable-track-vars
--with-imap=/usr/local/src/imap-4.7c --enable-sockets
--with-mysql=/usr/local --enable-dbase --with-curses --enable-ftp
--with-gd=/usr/local --enable-gd-native-ttf --with-jpeg-dir=/usr/local
--with-png-dir=/usr/local --with-freetype-dir=/usr/local --with-t1lib
--with-zlib-dir=/usr"
Then compiled fine until it got to the ~/php-4.2.3/ext/gd/gdctx.c and
~/php-4.2.3/ext/gd/gd.c
Mentioned something about the gdIOCtx structure not having a member
named 'free' so I looked at the gd_io.h in /usr/include and saw that
there was no free member, but there was a gd_free. I renamed it in the
above mentioned files and everything compiled and appears to be working
fine.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20076&edit=1