Can't get JPEG support into PHP 4.3.4
| From: | Eli White | Date: | Tue, 25 Nov 2003 14:48:11 +0000 |
| Subject: | Can't get JPEG support into PHP 4.3.4 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-12300@lists.php.net to get a copy of this message | ||
Ok, PHP 4.3.4 compiles perfectly, as long as I don't include JPEG
support. Once I do, the compile fails, claiming it can't find
libjpeg.a, even though it exists.
My Setup:
PHP 4.3.4
Solaris 8 (SunOS 5.8)
jpeg-6b - freshly downloaded & compiled
My Configure line:
configure --with-apxs=/var/html/apache/bin/apxs --with-gd
--with-png-dir=/opt/X11R5 --with-jpeg-dir=../jpeg-6b --with-zlib
--with-ttf --enable-gd-native-ttf
--with-config-file-path=/var/html/apache/php --disable-posix
--disable-session --disable-ctype --prefix=/var/html/apache/php
The 'last bit' of the configure output:
...
checking for GD support... yes
checking for the location of libjpeg... ../jpeg-6b
checking for the location of libpng... /opt/X11R5
checking for the location of libXpm... no
checking for FreeType 1.x support... yes
checking for FreeType 2... no
checking for T1lib support... no
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... (cached) no
checking for floorf... (cached) no
configure: error: libjpeg.(a|so) not found.
Showing that the libjpeg.a does exist:
> ls -aFl ../jpeg-6b/libjpeg.a
-rw-rw-r-- 1 ewhite group 168908 Nov 21 17:27 ../jpeg-6b/libjpeg.a
Config.log:
[Attached]