BJ,
try --with-jpeg-dir=/usr/lib --with-zlib-dir=/usr/lib
I have mandrake too, seems like it has problems finding the libs. Also do a rpm -qa|grep zlib and rpm-qa|grep jpeg and make sure that you have both the package and the package-devel rpm's installed, like zlib1-devel-version, as these are needed.
--James
On Monday, Sep 15, 2003, at 19:51 America/New_York, BJ Morden wrote:


Hey everyone,

I am trying to get GD working w/ php 4.3.3 and mandrake 9.1. I am using ./configure --with-apxs=/apache2/bin/apxs --with-gd --enable-gd-native-ttf

I keep getting the error:

If configure fails try --with-jpeg-dir=<DIR>
configure: error: PNG support requires ZLIB. Use --with-zlib-dir=<DIR>

Can anyone please give me some info on how to compile PHP with this support. Thanks in advance.

BJ

--James Hughbanks
Mikro-Data Engineering Dept.
[EMAIL PROTECTED]
1-866-457-6287
http://www.mikro-data.net

Reply via email to