libxml

Depending on your operating system you should be able to download the latest rpm, deb, tar.gz (etc) for it with your OS's packaging system.
 
I got Redhat Enterprise 3.0

checking for DOM support... yes
not found
configure: error: Please reinstall the libxml >= 2.4.14 distribution

*** There was an error while trying to configure php. Check the configure.php file



I think i got the right file now

rpm -ivh libxml2-2.6.16-2.i386.rpm
warning: libxml2-2.6.16-2.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
Preparing... ########################################### [100%]
file /usr/bin/xmlcatalog from install of libxml2-2.6.16-2 conflicts with file from package libxml2-2.5.10-7
file /usr/bin/xmllint from install of libxml2-2.6.16-2 conflicts with file from package libxml2-2.5.10-7
file /usr/lib/libxml2.so.2 from install of libxml2-2.6.16-2 conflicts with file from package libxml2-2.5.10-7
file /usr/share/man/man1/xmlcatalog.1.gz from install of libxml2-2.6.16-2 conflicts with file from package libxml2-2.5.10-7
file /usr/share/man/man1/xmllint.1.gz from install of libxml2-2.6.16-2 conflicts with file from package libxml2-2.5.10-7

Is this good ?
 
Last edited:
It looks as if you're using an RPM-based distribution.

It also looks as if the update didn't work because RPM couldn't resolve dependencies.

If you're using CentOS you should be updating with yum as it automatically resolves depencies.

Otherwise let us know what OS distribution you're using.

Jeff
 
Sorry I missed your note as to which distribution you're using.

I don't think RHEL includes yum or has yum repositories.

You can check your server to see if you have yum:

# rpm -qa | grep yum

If so, then you should set it up

$ man yum

(Be sure to use my exclude list; you can find it by searching these forums for "yum exclude" (without the quotes.)

If you don't have yum you can install it from the CentOS 3 mirrors, but you'll then be updating and installing CentOS packages rather than Red Hat packages. Your system won't care, but Red Hat will if you need them for support.

Or you can check a Red Hat forum to find out if RHEL has something similar that will resolve dependencies automatically.

Or you can just keep manually installing (using rpm) until you don't get the errors.

Jeff
 
This is what get back when i do rpm -qa | grep yum:



centos-yumconf-1-11
centos-yumcache-3.1-0.20050607.3
yum-2.0.8-1.centos.7

Ok, it going better.

But now i get the next error while build



configure: error: png.h not found.

*** There was an error while trying to configure php. Check the configure.php file


but png.h is in the same dir as configure.php


How can i fix this ?
 
Last edited:
It looks as if you're using CentOS and NOT Red Hat Linux.

What's the output of this command:

$ cat /etc/redhat-release

Jeff
 
CentOS release 3.5 (Final)


But now i get the next error while build



configure: error: png.h not found.

*** There was an error while trying to configure php. Check the configure.php file


but png.h is in the same dir as configure.php
 
Last edited:
Back
Top