php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20076 Unable to compile php with most recent version of GD
Submitted: 2002-10-25 02:00 UTC Modified: 2002-10-25 02:43 UTC
From: squirt at ramtits dot ca Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.2.3 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: squirt at ramtits dot ca
New email:
PHP Version: OS:

 

 [2002-10-25 02:00 UTC] squirt at ramtits dot 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-25 02:43 UTC] sniper@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 17:01:33 2024 UTC