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                                       [EMAIL PROTECTED]
-- 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.

-- 
PHP General 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]

Reply via email to