[xml] Installation question



Hi All,

I am having some problems installing the libxml2-devel-2.5.8-1.i386.rpm and
libxslt-devel-1.0.31-1.i386.rpm and the suggestions in the FAQ have not solved
my problems.  I would appreciate any help from the group.

My environment is Redhat 9, which comes with libxml2.2.5.4 and libxslt.1.0.27.
I was able to successfully compile and install from the source tar balls of
libxml2-2.5.8-1 and libxslt-1.0.31, although 'make tests' for libxslt fails and
stops when it could not load the libxmlmod and libxsltmod libraries for some
reason.  I have run ldconfig to update the cache and have been able to use both
libraries from a simple C test program of my own.  I want to install the two
RPMs mentioned above as they are specified as requirements for development with
libxml2 and libxslt.  When I try to install them I get the following problems:

1. First, the output of 'ldconfig -v | grep libx'

        libxdelta.so.2 -> libxdelta.so.2.0.0
        libxmltok.so.0 -> libxmltok.so.0.1.0
        libxmlparse.so.0 -> libxmlparse.so.0.1.0
        libxp_notepadpart.so.0 -> libxp_notepadpart.so.0.0.0
        libxmms.so.1 -> libxmms.so.1.2.1
        libx11globalcomm.so.1 -> libx11globalcomm.so.1.0.0
        libxpcom.so -> libxpcom.so
        libxml.so.1 -> libxml.so.1.8.17
        libxsltbreakpoint.so.1 -> libxsltbreakpoint.so.1.0.8
        libxslt.so.1 -> libxslt.so.1.0.27
        libxml2.so.2 -> libxml2.so.2.5.4
        libxcin.so.0 -> libxcin.so.0.0.0
        libxsltwrapp.so.1 -> libxsltwrapp.so.1
        libxmlwrapp.so.4 -> libxmlwrapp.so.4
        libxsltbreakpoint.so.1 -> libxsltbreakpoint.so.1.0.8
        libxslt.so.1 -> libxslt.so.1.0.31
        libxml2.so.2 -> libxml2.so.2.5.8
        libxsltmod.so -> libxsltmod.so

2. Now comes the errors when I try to install the RPMs

[root comet i386]# rpm -i libxml2-devel-2.5.8-1.i386.rpm
error: Failed dependencies:
        libxml2 = 2.5.8 is needed by libxml2-devel-2.5.8-1


[root comet downloads]# rpm -i libxslt-devel-1.0.31-1.i386.rpm
warning: libxslt-devel-1.0.31-1.i386.rpm: V3 DSA signature: NOKEY, key ID
de95bc1f
error: Failed dependencies:
        libxml2-devel >= 2.5.6 is needed by libxslt-devel-1.0.31-1
        libxslt = 1.0.31 is needed by libxslt-devel-1.0.31-1


I've also tried to do what FAQ suggested -- rebuilding the the src RPM and
install them separately.  I get the following error:

[root comet i386]# rpm -i libxml2-2.5.8-1.i386.rpm
        file /usr/bin/xmlcatalog from install of libxml2-2.5.8-1 conflicts with
file from package libxml2-2.5.4-1
        file /usr/bin/xmllint from install of libxml2-2.5.8-1 conflicts with
file from package libxml2-2.5.4-1
        file /usr/lib/libxml2.so.2 from install of libxml2-2.5.8-1 conflicts
with file from package libxml2-2.5.4-1
        file /usr/share/man/man1/xmlcatalog.1.gz from install of libxml2-2.5.8-1
conflicts with file from package libxml2-2.5.4-1
        file /usr/share/man/man1/xmllint.1.gz from install of libxml2-2.5.8-1
conflicts with file from package libxml2-2.5.4-1
        file /usr/share/man/man3/libxml.3.gz from install of libxml2-2.5.8-1
conflicts with file from package libxml2-2.5.4-1

[root comet i386]# rpm -i libxml2-2.5.8-1.i386.rpm
        file /usr/bin/xmlcatalog from install of libxml2-2.5.8-1 conflicts with
file from package libxml2-2.5.4-1
        file /usr/bin/xmllint from install of libxml2-2.5.8-1 conflicts with
file from package libxml2-2.5.4-1
        file /usr/lib/libxml2.so.2 from install of libxml2-2.5.8-1 conflicts
with file from package libxml2-2.5.4-1
        file /usr/share/man/man1/xmlcatalog.1.gz from install of libxml2-2.5.8-1
conflicts with file from package libxml2-2.5.4-1
        file /usr/share/man/man1/xmllint.1.gz from install of libxml2-2.5.8-1
conflicts with file from package libxml2-2.5.4-1
        file /usr/share/man/man3/libxml.3.gz from install of libxml2-2.5.8-1
conflicts with file from package libxml2-2.5.4-1



I don't know how to make the -devel packages see the libxml2.2.5.8 and
libxslt.1.0.31 libraries that I have already installed on my system.  Perhaps
someone knows of a rpm installation incantation that I can use?

Thanks in advance!

-Jeff




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]