Problem compiling PHP5
| From: | Paul Reinheimer | Date: | Tue, 07 Sep 2004 22:33:39 +0000 |
| Subject: | Problem compiling PHP5 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-196077@lists.php.net to get a copy of this message | ||
Hi,
I am attempting to compile PHP with the following command:
./configure --with-mysql=/usr/local/mysql
--with-apxs=/etc/httpd/bin/apxs --with-gd --with-png
--with-zlib-dir=/root/zlib-1.2.1 --enable-gd-native-ttf --with-ttf
--with-jpeg-dir=/usr/local/lib/jpeg-6b/
--with-freetype-dir=/usr/local/lib/free
type-2.1.9/ --with-xpm-dir=/usr/local/lib/xpm-3.4k-linux/
--with-freetype-dir --with-xpm-dir=/usr/local/lib/xpm-3.4k-linux/lib/
Resulting with
...
checking for the location of libXpm... /usr/local/lib/xpm-3.4k-linux/lib/
checking for FreeType 1.x support... yes
checking for FreeType 2... yes
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) yes
checking for floorf... (cached) yes
checking for jpeg_read_header in -ljpeg... (cached) yes
checking for png_write_image in -lpng... (cached) yes
configure: error: libXpm.(a|so) not found.
[root@sharethebeat php-5.0.1]# cd /usr/local/lib/xpm-3.4k-linux/lib/
[root@sharethebeat lib]# ls
libXpm.so libXpm.so.4 libXpm.so.4.11
[root@sharethebeat lib]# ls -al
total 96
drwxrwxr-x 2 1618 16 4096 Mar 19 1998 .
drwxrwxr-x 6 1618 16 4096 Mar 19 1998 ..
lrwxrwxrwx 1 1618 16 14 Sep 5 12:15 libXpm.so ->
libXpm.so.4.11
lrwxrwxrwx 1 1618 16 14 Sep 5 12:15 libXpm.so.4 ->
libXpm.so.4.11
-rwxr-xr-x 1 1618 16 82734 Mar 19 1998 libXpm.so.4.11
[root@sharethebeat lib]#
Why am I getting the error that libXpm.(a|so) can't be found, when php
should really be looking right at it?
thanks
paul