[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
directory.

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

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
installation.
[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-2.1.2.8.el5_5.1
installed
libxml2.x86_64 2.6.26-2.1.2.8.el5_5.1
installed
[root at myserver php-5.2.17]#

What am I missing?  Suggestions?


Regards,

Ron Young
919-621-9015
http://www.linkedin.com/in/ronhyoung

+++++++++++++++++++
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