Re: How to compile PHP 4.3.1 with JPEG Support

From: Date: Mon, 05 May 2003 16:38:23 +0000
Subject: Re: How to compile PHP 4.3.1 with JPEG Support
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-10808@lists.php.net to get a copy of this message
Andreas Cahen <qube@space.ch> wrote: > I managed to install PHP 4.3.1 and it's working fine, except for the > jpeg support. I have downloaded and installed the jpeg library 'jpeg-6b' > and the latest GD Library 'gd-2.0.12' and FreeType 2. But while > compiling the PHP Package I always get different errors. > > I tried it a couple-o-times with different settings, but I always ended > up having only support for PNG Files. > > This is my configure string: > > ./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --enable-safe-mode > --with-config-file-path=/etc/httpd/ --with-exec-dir=/usr/bin --with-zlib > --enable-magic-quotes --with-regex=system --with-pear --enable-calendar > --with-gd=/usr/src/gd-2.0.12 --with-iconv --disable-debug --with-gettext > --with-ttf=/usr/lib/libttf.so --enable-mbstring --with-interbase=shared > --with-mysql=shared --with-pgsql=shared --with-jpeg > --with-jpeg-dir=/tmp/jpeg-6b --with-png=/usr/local/lib > > Any advices, hints or clues? If your jpeg library (libjpeg.so*) is in /tmp/jpeg-6b/lib/, perhaps you need to put "/tmp/jpeg-6b/lib" into your /etc/ld.so.conf and run ldconfig. I'm not sure whether it is a good idea to put dynamic libraries somewhere under /tmp - eventually someone will clean up there, and you will be left with a broken PHP. And --with-jpeg doesn't exist (but should do no harm). Regards... Michael

« previous php.install (#10808) next »