Configure Error Unable To Find Xml2-config
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 Business Learn more about
Configure Error Xml2 Config Not Found
hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges configure error xml2 config not found please check your libxml2 installation Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other.
Php Configure Error Xml2 Config Not Found Please Check Your Libxml2 Installation
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 91 down vote favorite 6 When I try to install php 5.3 stable from cannot find xml2 config 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 21k8148121 asked Nov 11 '13 at 10:30 TroodoN-Mike 5,64863455 Related: How to fix PHP installation when xml2-config is missing? –kenorb Nov 12 '14 at 14:30 add a comment| 2 Answers 2 active oldest votes up vote xml2-config r 203 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,2383552 answered Nov 11 '13 at 10:30 TroodoN-Mike 5,64863455 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 a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up u
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
Xml2-config Not Found Ubuntu
Us Learn more about Stack Overflow the company Business Learn more about hiring developers configure: error: please reinstall the bzip2 distribution or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack
Configure: Error: Please Reinstall The Libcurl Distribution
Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Unable to install R package in Ubuntu http://stackoverflow.com/questions/19904083/how-to-fix-error-with-xml2-config-not-found-when-installing-php-from-sources 11.04 [closed] up vote 69 down vote favorite 17 I'm new to Linux and R. I installed R 2.12 in Ubuntu 11.04. Today I tried to install a new package, so I ran the following command: install.packages('XML') But the installation failed and gave the following information: * installing *source* package ‘XML’ ... checking for gcc... gcc checking for C compiler default output file name... a.out checking http://stackoverflow.com/questions/7765429/unable-to-install-r-package-in-ubuntu-11-04 whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E No ability to remove finalizers on externalptr objects in this verison of R checking for sed... /bin/sed checking for pkg-config... /usr/bin/pkg-config checking for xml2-config... no Cannot find xml2-config ERROR: configuration failed for package ‘XML’ * removing ‘/home/spirit/R/i686-pc-linux-gnu-library/2.12/XML’ The downloaded packages are in ‘/tmp/RtmpoZYxnv/downloaded_packages’ Warning message: In install.packages("XML") : installation of package 'XML' had non-zero exit status I also tried: sudo install.packages('XML') But it gives the same error information. Any one can give me any advice ? Thanks in advance. xml r ubuntu installation share|improve this question edited Oct 14 '11 at 9:14 csgillespie 31.6k968117 asked Oct 14 '11 at 9:10 Spirit Zhang 5,499103155 closed as off-topic by Dimitar Christoff, Christoph, Kuba Ober, showdev, Wayne Werner Oct 18 '13 at 21:55 This question appears to be off-topic. The users who voted to close gave these specific reasons:"Questions about ge
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Software ./configure cant find xml2-config (neither can I) User Name Remember Me? Password Linux - Software http://www.linuxquestions.org/questions/linux-software-2/configure-cant-find-xml2-config-neither-can-i-105371/ This forum is for Software issues. Having a problem installing a new program? Want https://github.com/mysqludf/lib_mysqludf_xml/issues/1 to know which application is best for the job? Post your question in this forum. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access configure error many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to config not found reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 10-17-2003, 08:45 PM #1 unholy Member Registered: Sep 2003 Location: Eire Distribution: Ubuntu 7.10 Posts: 344 Rep: ./configure cant find xml2-config (neither can I) When I ./configure ogle, I get.. *** The xml2-config script installed by LIBXML could not be found *** If libxml was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the XML2_CONFIG
Support Search GitHub This repository Watch 3 Star 9 Fork 6 mysqludf/lib_mysqludf_xml Code Issues 2 Pull requests 0 Projects 0 Pulse Graphs New issue configure: error: "could not find headers for libxml2: #1 Closed Sarge2013 opened this Issue Aug 4, 2013 · 17 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 6 participants Sarge2013 commented Aug 4, 2013 Hello, installing on CentOS 6.4 I met the following problem ./configure it starts configuration but stops with checking for libxml2... configure: error: "could not find headers for libxml2: /usr/include/libxml or /usr/include/libxml2/libxml" On http://stackoverflow.com/questions/5544074/cannot-compile-when-using-libxml I found an advise "You need always to keep the -I/usr/include/libxml2 in your gcc statement, so that it can find the header files" But how to use it, what file and how should be corrected ? Or may be there is another solution ? Thank you very much in advance ! UDF Repository for MySQL member jasny commented Aug 4, 2013 You need to install the libxml2 development files. If you're on Debian or Ubuntu run sudo apt-get install libxml2-dev. On CentOS run yum install libxml2-devel. jasny closed this Aug 4, 2013 Sarge2013 commented Aug 4, 2013 I already tried yum install libxml2-devel Loaded plugins: priorities 176 packages excluded due to repository priority protections Setting up Install Process Package libxml2-devel-2.7.6-12.el6_4.1.x86_64 already installed and latest version Nothing to do So I already have latest package of libxml2-devel - but it does not solve the problem. Best regards, Serge UDF Repository for MySQL member jasny commented Aug 4, 2013 Hmm try running ./configure --with-libxml2=/usr/bin/xml2-config jasny reopened this Aug 4, 2013 Sarge2013 commented Aug 4, 2013 I have same again [root@zulu281 xmlmaster]# ./configure --with-libxml2=/usr/bin/xml2-config ......................... configure: setting libdir to mysql plugin dir /usr/lib64/mysql/plugin checking for libxml2... configure: error: "could not find libxml2: /usr/bin/xml2-config/lib/libxml2.so" [root@zulu281 xmlmaster]# I do not insist but may be a solution from StackOverflow (see above) could be useful ? I just don't know how to use it... Monday, August 5, 2013, 1:27:26 AM, you wrote: Hmm try running ./configure --with-libxml2=/usr/bin/xml2-config — Reply to this email directly or view it on GitHub. UDF Repository for MySQL member jasny commented Aug 4, 2013 The StackOverflow solution is about compiling libxml2. You sho