[CentOS] CentOS 5.5 php configure errors

Mon Mar 14 17:35:00 UTC 2011
Roberto Alvarado <ralvarado at gtdinternet.com>

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 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 <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 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.
> +++++++++++++++++++
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20110314/91b791ff/attachment-0005.html>