You need to install the devel packages:

libxml2-devel.i386
libxml2-devel.x86_64

Regards.


On 14-03-2011 14:22, Ron Young wrote:
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@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@myserver php-5.2.17]#

[root@myserver php-5.2.17]# yum list libxml2
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
* addons: mirrors.igsobe.com <http://mirrors.igsobe.com>
* base: mirror.cogentco.com <http://mirror.cogentco.com>
* epel: mirror.vcu.edu <http://mirror.vcu.edu>
* extras: mirror.ash.fastserv.com <http://mirror.ash.fastserv.com>
* ius: mirror.rackspace.com <http://mirror.rackspace.com>
* updates: mirror.cogentco.com <http://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@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.
+++++++++++++++++++


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to