LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   error compiling php and svn (https://www.linuxquestions.org/questions/linux-newbie-8/error-compiling-php-and-svn-423559/)

an2ny_18 03-10-2006 01:22 PM

error compiling php and svn
 
v-rockro:~/php-5.1.2# ./configure -prefix=/usr/local/php -with-apxs2=/usr/local/apache2/bin/apxs -with-mysql=/usr/local/mysql


Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path...
configure: error: xml2-config not found. Please check your libxml2 installation.v-rockro:~/php-5.1.2#

EDIT: also

v-rockro:~# svn
svn: error: cannot set LC_ALL locale
svn: error: environment variable LANG is en_US
svn: error: please check that your locale name is correct
v-rockro:~#

and

v-rockro:~# locale LC_TYPE
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
v-rockro:~# LC_TYPE

reddazz 03-11-2006 05:46 AM

You need to install the libxml2-devel package for php to ./configure and compile properly. I am not sure how to fix the svn error.

an2ny_18 03-11-2006 07:18 AM

fixed! thank you


All times are GMT -5. The time now is 02:18 PM.