Forum Moderators: coopster
Before we start Im on a Unix system not Windows.
I want to use GD2 and I believe PHP5 comes with GD2, and to use it you do --with-gd ?
Well I do this
./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql=/usr/local/mysql/ \
--with-gd \
--disable-libxml
and part way through the configure output it says
checking for GD support... yes
checking for the location of libjpeg... no
checking for the location of libpng... no
a bit later on it stops and coughs out the following
configure: error: libpng.(a¦so) not found.
As I understand it, GD2 is bundled with PHP but libpng & libjpeg which are needed to make it work aren't, which seems rather stupid.
Why bundle something as a "convinience" when you still have to manually obtain & install extra bits to make it work!
Can someone please point me in the direction of an overview of how to get these libraries and set them up so GD can use them?
Thanks