[CentOS] CentOS 5.5 php configure errors

Ron Young ronyoung at nc.rr.com
Mon Mar 14 17:22:08 UTC 2011

I am attempting to install odbtp on my newly created lamp server running
CentOS 5.5 and php 5.2.17.  The odbtp compile failed looking for lots of
zend related files supposedly in the php install dir.  I learned from the
odbtp project forum that I need to run configure in the php source

So I downloaded the php 5.2.17 source  and ran ./configure and got these

root at myserver php-5.2.17]# ./configure
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
[root at myserver php-5.2.17]#

[root at myserver php-5.2.17]# yum list libxml2
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
* addons: mirrors.igsobe.com
* base: mirror.cogentco.com
* epel: mirror.vcu.edu
* extras: mirror.ash.fastserv.com
* ius: mirror.rackspace.com
* updates: mirror.cogentco.com
Installed Packages
libxml2.i386 2.6.26-
libxml2.x86_64 2.6.26-
[root at myserver php-5.2.17]#

What am I missing?  Suggestions?


Ron Young

Little tiny dreams require little tiny thoughts and little tiny steps.
Great big dreams require great big thoughts and little tiny steps.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20110314/50e53243/attachment.html>

More information about the CentOS mailing list