[PHP] PHP + GD + FreeBSD

2001-05-10 Thread Kasper Kristiansson

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
checking for gdImageString16 in -lgd... (cached) yes
checking for gdImagePaletteCopy in -lgd... (cached) yes
checking for gdImageColorClosestHWB in -lgd... (cached) yes
checking for gdImageColorResolve in -lgd... (cached) yes
checking for gdImageCreateFromPng in -lgd... (cached) no
checking for gdImageCreateFromGif in -lgd... (cached) no
checking for gdImageWBMP in -lgd... (cached) yes
checking for gdImageCreateFromJpeg in -lgd... (cached) no
checking for gdImageCreateFromXpm in -lgd... (cached) yes
checking for gdImageCreateTrueColor in -lgd... (cached) no
checking for gdImageSetTile in -lgd... (cached) yes
checking for gdImageSetBrush in -lgd... (cached) yes
checking for gdImageStringFTEx in -lgd... (cached) no
checking whether to include FreeType 1.x support... no

--
Med vänlig hälsning
Kasper Kristiansson
042-162000, Fax 042-162009
Mobil 070-8995989




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




[PHP] PHP + LIBPNG how?

2001-05-08 Thread Kasper Kristiansson

I have compiled PHP with this options,

./configure --with-zlib=/usr/local/src/zlib --with-png=/usr/local/src/libpng
 --with-gd=/usr/local/src/gd --with-pgsql=/usr/local/pgsql --with-apache=../
apache --enable-track-vars

But i cant do this

?php
$im = ImageCreateFromPng(test.png);
ImagePng($im);
?


How do i compile PHP so i can create images?

--
Med vänlig hälsning
Kasper Kristiansson




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