LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-10-2006, 12:22 PM   #1
an2ny_18
Member
 
Registered: Mar 2006
Location: Philippines
Distribution: Fedora Core 4, Debian
Posts: 43

Rep: Reputation: 15
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
 
Old 03-11-2006, 04:46 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
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.
 
Old 03-11-2006, 06:18 AM   #3
an2ny_18
Member
 
Registered: Mar 2006
Location: Philippines
Distribution: Fedora Core 4, Debian
Posts: 43

Original Poster
Rep: Reputation: 15
fixed! thank you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error during compiling php an2ny_18 Debian 2 03-10-2006 12:46 PM
Error compiling php 5.1 and also a fantastico error arachn1d Linux - Software 0 02-19-2006 04:52 PM
Error compiling PHP theprophet Fedora 2 12-15-2004 05:32 PM
Error when compiling PHP 4.3.3 w/ MySQL on RH9 Shaolyen Linux - Software 1 10-21-2003 03:26 PM
error compiling php nrmx Linux - Software 0 03-13-2003 10:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration