Error Xml2 Config Not Found
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company configure: error: please reinstall the bzip2 distribution Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs
Configure: Error: Please Reinstall The Libcurl Distribution
Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, configure: error: jpeglib.h not found. just like you, helping each other. Join them; it only takes a minute: Sign up How to fix error with xml2-config not found when installing PHP from sources? up vote 92 down vote favorite 6 When I what is xml2-config try to install php 5.3 stable from source on Ubuntu (downloading compressed installation file from http://www.php.net/downloads.php) and I run ./configure I get this error: configure: error: xml2-config not found. Please check your libxml2 installation. php compilation php-5.3 share|improve this question edited Nov 12 '14 at 14:29 kenorb 21.7k8152126 asked Nov 11 '13 at 10:30 TroodoN-Mike 5,69863556 Related: How to fix PHP installation when xml2-config is missing? –kenorb Nov 12 '14 at 14:30 add
Configure Error Cannot Find Openssl's Evp.h Centos
a comment| 2 Answers 2 active oldest votes up vote 205 down vote accepted All you need to do instal install package libxml2-dev for example: sudo apt-get install libxml2-dev On CentOS/RHEL: sudo yum install libxml2-devel share|improve this answer edited Nov 20 '14 at 17:42 radtek 6,3143652 answered Nov 11 '13 at 10:30 TroodoN-Mike 5,69863556 5 I'm using centos 6.4, for me the package was called libxml2-devel –msknapp May 17 '14 at 19:27 4 for the error in centos 7 run: sudo yum install libxml2-devel –TroodoN-Mike Aug 13 '14 at 10:43 2 Does anyone know why the dev version is required over the standard libxml2 package? –JLewkovich Aug 27 '15 at 14:42 1 @JLewkovich I'd assume it's because the dev version contains the source code or something. As far as I can tell, if you compile something from source you must also have the source code for all it's dependencies. –starbeamrainbowlabs Oct 10 '15 at 10:56 2 This answer still applies to PHP7 for any PHP7 experimenters coming here –samrap Oct 11 '15 at 5:41 | show 1 more comment up vote 1 down vote For the latest versions it is needed to install libxml++2.6-dev like that: apt-get install libxml++2.6-dev share|improve this answer edited Feb 13 at 13:38 answered Feb 13 at 13:32 Максим Тарасенко 112 add
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company checking for bzip2 in default path... not found Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags configure error please reinstall the bzip2 distribution ubuntu Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it
Xml2-config Ubuntu
only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top configure: error: xml2-config not found. Please check your libxml2 http://stackoverflow.com/questions/19904083/how-to-fix-error-with-xml2-config-not-found-when-installing-php-from-sources installation up vote -1 down vote favorite I am trying to install php5 to my fedora 14. But when I ./configure the error shows configure: error: xml2-config not found. Please check your libxml2 installation.. I installed libxml2 and when I run yum install libxml2 it says Package libxml2-2.7.7-3.fc14.i686 already installed and latest version Nothing to do . What is happening php fedora share|improve this question asked Dec 24 '12 at 8:43 Nitish 992 add a http://serverfault.com/questions/460592/configure-error-xml2-config-not-found-please-check-your-libxml2-installation comment| 1 Answer 1 active oldest votes up vote 0 down vote You should install devel package. share|improve this answer answered Dec 24 '12 at 8:44 dr-evil 1975 I also run yum install libxml2-dev and it says No package libxml2-dev available. Error: Nothing to do !! –Nitish Dec 24 '12 at 8:46 Can you post the output of yum search libxml2 ? Does yum install libxml2-devel works better? –user130370 Dec 24 '12 at 8:50 1 It's libxml2-devel. Also if you are unsure about a name again search for it: yum search libxml2 –faker Dec 24 '12 at 8:50 Thanks faker. It was libxml2-devel. –Nitish Dec 24 '12 at 8:59 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged php fedora or ask your own question. asked 3 years ago viewed 1975 times active 3 years ago Related 1How can I install PHP5 on Fedora Core 5?2make errors when compiling PHP 5.2.6 from source (Fedora 12)1Error at the end o
Your libxml2 Installation Litespeed PHP: configure: error: xml2-config Not Found. Please Check Your libxml2 Installation alex August 18, 2010 Errors 2 Comments Tweet While compiling https://www.question-defense.com/2010/08/18/litespeed-php-configure-error-xml2-config-not-found-please-check-your-libxml2-installation PHP on a Litespeed web server this evening I ran into multiple issues one of which related to the libxml2 package on the server. This can be confusing because on the server libxml2 was installed. Below is more information regarding the error located in the Litespeed Admin detailed log report which can be easily not found seen while compiling PHP from the web interface as well as information on what needs to be installed to resolve the error. Error Compiling PHP Via Litespeed Web Admin: Below are details from the Detailed Log located on the "Compile PHP with LSAPI" page in the Litespeed administration console page. The Detailed Log can be please reinstall the viewed in real time at the bottom of the page and the error in question will cause the installation to error out with the last couple of visible lines being similar to the below. text checking libxml2 install dir... no checking for xml2-config path... configure: error: xml2-config not found. Please check your libxml2 installation. **ERROR** Could not configure PHP build Litespeed Compile PHP libxml2 Error: You can resolve this error by installing the libxml2-devel package using yum as shown in the below example out. Install libxml2-devel Using Yum: bash [root@dev ~]# yum install libxml2-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirrors.usc.edu * base: mirrors.bluehost.com * extras: mirrors.versaweb.com * updates: centos-distro.cavecreek.net Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package libxml2-devel.i386 0:2.6.26-2.1.2.8 set to be updated --> Processing Dependency: zlib-devel for package: libxml2-devel --> Running transaction check ---> Package zlib-devel.i386 0:1.2.3-3 set to be updated --> Finished Dependency Resolution Dependencies Resolved =============