Hello,

 

I an trying to compile php with gd and be able to use jpeg support under Linux. I Can correctly compile php with gd and have zlib, png, bmp support and when installed all those functions work, the problem is just jpeg will never work. I know I have to use the –with-jpeg-dir= extention. The problem is that whenever I put that extention in the ./configure line I get major erros upon typing the Make command. I get passed the ./configure fine, but when I am trying to make it fails. Saying that it is confused by earlier errors. I have the libjpeg installed on my system as well as the source. I have tried –with-jpeg-dir=/libjpeg_install_dir and –with-jpeg-dir=libjpeg_src_dir and neither of these work. I try –with-jpeg-dir=/php_tmp_dir/ext/gd/… and that doesn’t work either. I am at my wits end here and I am going to toss this out for a much simpilar windows install.

 

Software

Apache 2.x

PHP 4.3.3.x

Libjpeb 6b

gd included php version

Linux – Mandrake 9.1

 

Can anyone please tell me the minor step that I am missing here. Remember I can get gd to work with EVERYTHING but png and I am so frustrated. Thanks in advance.

 

BJ

Reply via email to