LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-01-2010, 09:58 AM   #1
jaffd
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Rep: Reputation: 0
Angry 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
 
Old 04-01-2010, 02:02 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,950

Rep: Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602
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 http://download.fedora.redhat.com/pu...95.8-4.src.rpm ))
.....

The expat-2.0.1 source code SRC RPM :
http://download.fedora.redhat.com/pu....0.1-5.src.rpm

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

Setting up the rpmbuild account in /home/<username>/
http://www.linuxquestions.org/questi...1-a-766486/#13
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 ).
.....

Last edited by knudfl; 04-19-2010 at 07:49 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to view content of RPM package using RPM command? Micro420 Linux - General 5 07-18-2010 03:03 PM
rpm -i --prefix=/home/user package.src.rpm doesn't work? registering Linux - Software 2 07-18-2007 11:28 AM
What is difference between an i386 rpm and an i686 rpm package? rajat Linux - Software 2 03-25-2007 10:55 PM
Removing an RPM package from within another RPM package jimwelc Linux - Software 7 05-12-2006 02:13 PM
can reinstall the rpm package without delete the rpm package eye Red Hat 1 10-20-2003 07:53 AM


All times are GMT -5. The time now is 07:41 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration