Taking the /lib/ portion of the configure command changes the error to 
configure: error: Problem with libXpm.(a|so) or libX11.(a|so). Please
check config.log for more information.

Which (assuming it means that it needs libXpm.so AND libX11.so) means
I might have a lead to follow.


thanks
paul



On Tue, 7 Sep 2004 18:33:39 -0400, Paul Reinheimer
<[EMAIL PROTECTED]> wrote:
> 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.
> [EMAIL PROTECTED] php-5.0.1]# cd /usr/local/lib/xpm-3.4k-linux/lib/
> [EMAIL PROTECTED] lib]# ls
> libXpm.so  libXpm.so.4  libXpm.so.4.11
> [EMAIL PROTECTED] 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
> [EMAIL PROTECTED] 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
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to