PHP 4.0 Bug #5533 Updated: GD Functions not recognized in Install
| From: | Bug Database | Date: | Tue, 05 Sep 2000 00:56:48 +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-32035@lists.php.net to get a copy of this message | ||
ID: 5533
Updated by: sniper
Reported By: kevin@nsane.net
Status: Feedback
Bug Type: Installation problem
Assigned To:
Comments:
Please include your configure line for php4 here.
--Jani
Previous Comments:
[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.
---------------------------------------------------------------------------
[2000-07-12 14:10:57] kevin@nsane.net
I compiled GD 1.8.3, JPEG 6B, libpng, freetype and zlib in the default locations yet PHP will not
recognize the png or jpeg functions. No workaround yet. In the ./configure it searches and comes
back with a "no". I am on FreeBSD 3.4 and have had GD 1.3 installed in the past. Is this a
possible conflict?
`Kevin
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=5533