[CentOS] libxml2 RPM via yum?

Sat Apr 1 14:52:35 UTC 2006
Mike Stankovic <mlists2006 at yahoo.com>

--- Mark Sargent <powderkeg at snow.email.ne.jp> wrote:

> Mike Stankovic wrote:
> 
> > Woot? I've rebuilt php 5.1.2-5 rpms and had
> libxml2
> >
> >aleady from centOS
> >  
> >
> here is my error when compiling,
> 
> Configuring extensions
> 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.
> 
> >[mike at box ~]$ grep php /var/log/rpmpkgs
> >
> >php-5.1.2-5.MIKE.i386.rpm
> >php-devel-5.1.2-5.MIKE.i386.rpm
> >php-gd-5.1.2-5.MIKE.i386.rpm
> >php-imap-5.1.2-5.MIKE.i386.rpm
> >php-ldap-5.1.2-5.MIKE.i386.rpm
> >php-mbstring-5.1.2-5.MIKE.i386.rpm
> >php-mysql-5.1.2-5.MIKE.i386.rpm
> >php-pdo-5.1.2-5.MIKE.i386.rpm
> >php-pear-1.4.6-2.1.MIKE.noarch.rpm
> >php-xml-5.1.2-5.MIKE.i386.rpm
> >php-xmlrpc-5.1.2-5.MIKE.i386.rpm
> >
> >[mike at box ~]$ grep xml /var/log/rpmpkgs
> >libxml2-2.6.16-6.i386.rpm
> >libxml2-devel-2.6.16-6.i386.rpm
> >libxml2-python-2.6.16-6.i386.rpm
> >perl-libxml-enno-1.02-31.noarch.rpm
> >perl-libxml-perl-0.07-30.noarch.rpm
> >php-xml-5.1.2-5.MIKE.i386.rpm
> >php-xmlrpc-5.1.2-5.MIKE.i386.rpm
> >xml-common-0.6.3-17.noarch.rpm
> >xmlsec1-1.2.6-3.i386.rpm
> >xmlsec1-openssl-1.2.6-3.i386.rpm
> >
> >The rpms prefixed "MIKE" are the ones I "baked"
> >  
> >
> well, that is interesting, indeed.
> 
> [racket at ibmlap php-5.1.2]$ grep xml /var/log/rpmpkgs
> libxml2-2.6.16-6.i386.rpm
> libxml2-python-2.6.16-6.i386.rpm
> perl-libxml-enno-1.02-31.noarch.rpm
> perl-libxml-perl-0.07-30.noarch.rpm
> xml-common-0.6.3-17.noarch.rpm
> xmlsec1-1.2.6-3.i386.rpm
> xmlsec1-openssl-1.2.6-3.i386.rpm
> 
> Dunno what's happening here, as it seems that I do
> indeed have it 
> installed. Anyone got an idea? Cheers.
> 
> Mark Sargent.

Look at the list I gave you closely, you  don't have 
the devel package installed. It is easier and best to
build an rpm, the spec file has all the "required".  

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com