php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10089 gd1.8.4 compiled into php causes compile failure, gif isn't supported
Submitted: 2001-03-31 07:40 UTC Modified: 2001-04-02 02:03 UTC
From: evdavies at writeme dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4pl1 OS: Red Hat 6.2
Private report: No CVE-ID: None
 [2001-03-31 07:40 UTC] evdavies at writeme dot com
While compiling php with gd support it completely stops. gd now no longer supports gif files. Because of this while running "make" it cause the compile to crash because the associated "gif" commands are not recognised.
I found by editing the gd.c file under ext dir and removing anything with "gif" in it I could finish the compilation.

By the way PHP is a top language and I love using it. Only just starting with it

Thanks
Evan

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-31 17:31 UTC] sniper@php.net
1. There is no GIF support in GD 1.8.4 
2. What was the configure line used to configure PHP?

Most likely you have got some old gd.h somewhere in 
your system which is found by PHP configure.
Try removing every old remains of GD library and reinstall
it.

--Jani

 [2001-04-01 07:48 UTC] evdavies at writeme dot com
sorry, i forgot that..
./configure --with-apxs --with-msql --with-gd
 [2001-04-01 12:56 UTC] sniper@php.net
Did you check for older gd.h (ie. not matching the libgd ?)
in your system? And after removing those and reinstalling
GD try this:

1. delete config.cache
2. configure with your configure line
3. 'make clean ; make ; make install'

--Jani

 [2001-04-01 19:25 UTC] evdavies at writeme dot com
Thanks for your help Jani.

It was a rogue gd.h file. Deleted it and rconfigured and recompiled php.

Now it works with .png files. Once again thnanks for your help.
Got to love where Red Hat installs stuff :(

Evan
 [2001-04-01 21:04 UTC] evdavies at writeme dot com
Thanks for all your help Jani,

It was a stray gd.h file. Got to love where Red Hat puts some of its files.

Did what you sugested and it compiled/installed fine

Once again thank you

Evan
 [2001-04-02 02:03 UTC] derick@php.net
User reported that it was a rogue gd.h file that caused the troubles
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 18:01:28 2024 UTC