RE: [PHP] PHP + GD + FreeBSD
| From: | Don Read | Date: | Thu, 10 May 2001 12:12:06 +0000 |
| Subject: | RE: [PHP] PHP + GD + FreeBSD | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-52270@lists.php.net to get a copy of this message | ||
On 10-May-01 Kasper Kristiansson wrote:
> When i compile PHP on my FreeBSD with the following confgoptions, i don't
> get png support.
>
> Whats wrong?
>
> ./configure --with-jpeg-dir=/usr/local/src/jpeg --with-png-dir=/usr/local/sr
> c/libpng --with-gd=/usr/local/src/gd
>
> checking whether to include GD support... yes (static)
> checking for compress in -lz... (cached) yes
> checking for png_info_init in -lpng... (cached) no
^^^ clue
strange, png should be installed (as a dependancy) by gd.
try find /usr/local -name "libpng*" -print
to see if the libs exists, if not
cd /usr/ports/graphics/png
make && make install
(may want to do gd as well)
cd /usr/ports/graphics/gd
make deinstall
make && make install
then build php.
Regards,
--
Don Read dread@texas.net
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.