[PHP-DEV] PHP 4.0 Bug #8983 Updated: gd tries to use gif functions

2001-01-29 Thread ben

ID: 8983
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: Compile Failure
Description: gd tries to use gif functions

There seems to be some errors while trying to compile php (with gd).

I just removed the few gif functions from ext/gd/gd.c and compiled fine.

Maybe it would be a good idea to finally remove these old functions since gd no longer 
supports gif and its hard to find an old version that does (especially since png is 
fine for most things).

Previous Comments:
---

[2001-01-29 11:16:56] [EMAIL PROTECTED]
I've installed gd 1.8.3 and of course it does not have gif support anymore.

Yet, still configure defines HAVE_GD_GIF, saying that it detected the support.

Compile of course fails when HAVE_GD_GIF is defined and the functions are not really 
available.

Can anyone else reproduce?

---


Full Bug description available at: http://bugs.php.net/?id=8983


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #8983 Updated: gd tries to use gif functions

2001-01-29 Thread ben

ID: 8983
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: Compile Failure
Description: gd tries to use gif functions

OK OK, ignore all that other crap I've already posted I REALLY DONT KNOW WHAT I AM 
TALKING ABOUT... 

Anyways, got trouble compiling 4.0.4pl1 and also the latest snapshot

gcc  -I. -I/root/webserv/php4-200101291345/ext/gd 
-I/root/webserv/php4-200101291345/main -I/root/webserv/php4-200101291345 
-I/root/webserv/apache_1.3.14/src/include -I/root/webserv/apache_1.3.14/src/os/unix 
-I/root/webserv/php4-200101291345/Zend 
-I/root/webserv/php4-200101291345/ext/mysql/libmysql 
-I/root/webserv/php4-200101291345/ext/xml/expat/xmltok 
-I/root/webserv/php4-200101291345/ext/xml/expat/xmlparse 
-I/root/webserv/php4-200101291345/TSRM  -DXML_BYTE_ORDER=12 -g -O2  -c gd.c  touch 
gd.lo
gd.c: In function `php_if_imagecreatefromgif':
gd.c:709: `gdImageCreateFromGif' undeclared (first use in this function)
gd.c:709: (Each undeclared identifier is reported only once
gd.c:709: for each function it appears in.)
gd.c:709: `gdImageCreateFromGifCtx' undeclared (first use in this function)
gd.c: In function `php_if_imagegif':
gd.c:891: `gdImageGif' undeclared (first use in this function)
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/root/webserv/php4-200101291345/ext/gd'

Previous Comments:
---

[2001-01-29 17:31:27] [EMAIL PROTECTED]
There seems to be some errors while trying to compile php (with gd).

I just removed the few gif functions from ext/gd/gd.c and compiled fine.

Maybe it would be a good idea to finally remove these old functions since gd no longer 
supports gif and its hard to find an old version that does (especially since png is 
fine for most things).

---

[2001-01-29 11:16:56] [EMAIL PROTECTED]
I've installed gd 1.8.3 and of course it does not have gif support anymore.

Yet, still configure defines HAVE_GD_GIF, saying that it detected the support.

Compile of course fails when HAVE_GD_GIF is defined and the functions are not really 
available.

Can anyone else reproduce?

---


Full Bug description available at: http://bugs.php.net/?id=8983


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]