Re: Problem compiling PHP5

From: Date: Tue, 07 Sep 2004 23:13:36 +0000
Subject: Re: Problem compiling PHP5
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-196079@lists.php.net to get a copy of this message
* Thus wrote Paul Reinheimer: > 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/ This seems like an odd location. > [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? Your user/group names seem broken, or is this a nfs mount or the like? Curt -- The above comments may offend you. flame at will.

« previous php.general (#196079) next »