PHP 4.0 Bug #5533 Updated: GD Functions not recognized in Install
| From: | Bug Database | Date: | Thu, 21 Sep 2000 13:53:12 +0000 |
| Subject: | PHP 4.0 Bug #5533 Updated: GD Functions not recognized in Install | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33539@lists.php.net to get a copy of this message | ||
ID: 5533
Updated by: sniper
Reported By: kevin@nsane.net
Status: Closed
Bug Type: *General Issues
Assigned To:
Comments:
Remove every instance of gd.h from your system,
recompile GD-library and install it.
Then go to php4 directory, delete config.cache and php_config.h
and reconfigure / compile.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-09-04 20:56:48] sniper@php.net
Please include your configure line for php4 here.
--Jani
---------------------------------------------------------------------------
[2000-08-31 22:21:25] kevin@nsane.net
Even after changing PHP versions, deleting all traces of GD (headers and libs) and recompiling I get
the exact same error. For some reason it detects WBMP and XBM but mysteriously leaves out PNG and
JPEG.
`Kevin
---------------------------------------------------------------------------
[2000-08-17 05:59:23] sniper@php.net
Remove all of the old gd-library remains from your system and recompile php.
Reopen this report if problem persists.
--Jani
---------------------------------------------------------------------------
[2000-07-12 15:27:58] kevin@nsane.net
Even more info...
I did not compile WBMP or XBM into GD. GD does work (when using ./gddemo etc). Perhaps this is a
definitions error.
`Kevin
---------------------------------------------------------------------------
[2000-07-12 15:26:36] kevin@nsane.net
More Info:
[snip from configure]
checking whether to include GD support... yes (static)
checking for gdImageString16 in -lgd... yes
checking for compress in -lz... yes
checking for png_info_init in -lpng... no
checking for gdImageColorResolve in -lgd... yes
checking for gdImageCreateFromPng in -lgd... no
checking for gdImageCreateFromGif in -lgd... no
checking for gdImageCreateFromXbm in -lgd... yes
checking for gdImageWBMP in -lgd... yes
checking for libjpeg (needed by gd-1.8+)... no
configure: warning: If configure fails try --with-jpeg-dir=<DIR>
checking for gdImageCreateFromJpeg in -lgd... no
checking for libXpm (needed by gd-1.8+)... no
configure: warning: If configure fails try --with-xpm-dir=<DIR>
checking for gdImageCreateFromXpm in -lgd... yes
[/snip]
and then a snip from phpinfo() after compile
[snip]
gd
GD Support enabled
GD Version 1.6.2 or higher
[/snip]
Seems like a pretty bad compile error.
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments,
please view the bug report online.
Full Bug description available at: http://bugs.php.net/?id=5533