-   Linux - Software (
-   -   expat-2.0.1 rpm package (

jaffd 04-01-2010 10:58 AM

expat-2.0.1 rpm package
I have tried looking for expat xml parser version 2.0.1 rpm package for centos or RHEL but have not been able to find one.

I did find one based for fedora (x86), can this be installed on centos without any issues??

Also, I have found a tar package (expat-2.0.1.tar.gz), is the correct directory to decompress and install this under the /usr/local/bin?

Thanks for your help

knudfl 04-01-2010 03:02 PM

Welcome to LQ. ___:)___

I suggest, that you create an rpm package ..
And no, it is not a good idea with /usr/local/ ,
./configure --prefix=/usr , is to be preferred.

Checking with the compat-expat1 ( 1.95 ), if any conflicts.
> > There isn't any, but if you install with ./configure &&
make && su -c && make install, take care removing expat-devel.
(( wget ))

The expat-2.0.1 source code SRC RPM :

# yum remove expat-devel
( if you want the new devel version.)

Setting up the rpmbuild account in /home/<username>/
Please replace <username> with real username.

Now, rpm -Uvh expat-2.0.1-5.src.rpm, will install to /home/<->/rpms/
cd rpms/SPECS/ , and please edit the file 'expat.spec'
Line 2 :
Name: compat2-expat
Line 30 :
%setup -q -n expat-%{version}
Next : rpmbuild -bb expat.spec
... And ....
rpm -Uvh --force rpms/RPMS/i386/compat2-expat-2.0.1-5.i386.rpm
Reason for ' --force ' : The file /usr/share/man/man1/xmlwf.1.gz
is already present. ( I.e. harmless ).

All times are GMT -5. The time now is 06:37 AM.