Hi,

I'm installing php4.3.8 on a RedHat 9 system.
I'd like to compile gd and pdflib in.

my configure line looks like this:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-mysql=/usr/local/mysql/ --with-pgsql=/usr/local/pgsql/
--with-pdflib=/usr/local/pdfLib --with-zlib-dir=/usr/lib/
--enable-versioning --enable-track-vars=yes --enable-url-includes
--enable-sysvshm=yes --enable-sysvsem=yes --enable-ftp
--with-config-file-path=/etc --with-gd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The 'configure' scripts chokes on gd
I get the following error output.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
checking for GD support... yes
checking for the location of libjpeg... no
checking for the location of libpng... no
checking for the location of libXpm... no
checking for FreeType 1.x support... no
checking for FreeType 2... no
checking for T1lib support... no
checking whether to enable truetype string function in GD... no
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
If configure fails try --with-jpeg-dir=<DIR>
configure: error: libpng.(a|so) not found
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I have checked that I have the following RPMs installed
libjpeg-6b-26
libpng-1.2.2-16
libtiff-3.5.7-11
libpng10-1.0.13-8
gd-1.8.4-11

obviously that isn't enough: either I have to tell the compiler where to
find stuff or I'd have to install these libraries from source

I don't know...
anyone have a clue?

TIA,
kind regards,
Luke

-- 
========================
Luke (Terry) Vanderfluit 
Mobile: 0421 276 282     
========================

Reply via email to