Re: Problem compiling PHP5

From: Date: Tue, 07 Sep 2004 22:53:49 +0000
Subject: Re: Problem compiling PHP5
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-196080@lists.php.net to get a copy of this message
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 <preinheimer@gmail.com> 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. > [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 >

« previous php.general (#196080) next »