hello,
I have following problems:

I'm running redhat 7 with apache.
now I want install PHP with image support. i have alredy
installed libjpeg-6b.

I tried to install PHP 4.3.1 witch containes the bundled
version of gd with following config parameters:

'./configure' '--with-mysql' '--with-apxs' '--enable-trac-vars' '--enable-ftp' '--with-xml' '--with-jpeg' '--with-gd'

The install process ended successfully with no errors!!!!!!!

result:

GD Support enabled

GD Version bundled (2.0 compatible)

GIF Read Support enabled

PNG Support enabled

WBMP Support enabled

but no JPEG Support!!!
Then I tried

'./configure' '--with-mysql' '--with-apxs' '--enable-trac-vars' '--enable-ftp' '--with-xml' '--with-jpeg-dir=/usr' '--with-gd'

but with the same result.

Can anybody tell me why the JPEG Support is not enabled?

Reagards,
Uli

    Check if you have the libjpeg-devel-6b installed, the development package is usually required!

      7 days later

      Hello,

      The second attempt looks to be a valid one.
      So it should have worked theoretically.
      While compiling PHP with the second option did you attempt using "make clean" before going for make, that solved the problem for me.

        Write a Reply...