Fedora Linux Support Community & Resources Center
  #1  
Old 12th April 2005, 07:56 AM
ianmac
Guest
 
Posts: n/a
Using FC3 RPM's in FC4

Hi all. I am so excited about FC4 that I have June 6th circled on my calendar
However, knowing that it will take some time for all my favourite apps to be made into FC4 RPM's, I was wondering something. How much trouble would I cause myself if I installed FC3 RPM's on an FC4 system? As I see it, I have two choices: 1. Install FC4 as soon as it's available and install all my favourite FC3 RPM's.. or.. 2. keep running FC3 and wait to install FC4 until the FC4 RPM's have been built for my favourite apps.

How bad is it to install FC3 RPM's on FC4?
Reply With Quote
  #2  
Old 12th April 2005, 08:22 AM
AndyGreen's Avatar
AndyGreen Offline
Registered User
 
Join Date: Apr 2005
Location: Northants, UK
Posts: 2,026
Assuming your FC3 external app rpm was packaged well, RPM will let you know if things are not right for that rpm. You'll get errors telling you that your FC3 rpm requires such and such library version where FC4 has a later version. If you see this just accept that it won't work, don't force it.

If you can get a source RPM for your external app, you can tell RPM to rebuild it, in which case it will attempt to link to whatever libraries are around on your FC4 system. This will either work or fail depending on possible changes to the library ABI (ie, if functions in the later library got removed or arguments added, etc it will fail).
__________________
Freelance RedHat Certified Engineer - http://northantsIT.com
Reply With Quote
  #3  
Old 12th April 2005, 09:21 AM
robghealey Offline
Registered User
 
Join Date: Apr 2004
Location: Tacoma, WA
Age: 43
Posts: 455
I have tried using several fc.src.rpm on FC4, and it seems to fail so far...

I tried synaptic, and nessus multiple times...
__________________
Sincerely,
Rob

"Deliberately choose to surround yourself with people that inspire you to greatness!"
Reply With Quote
  #4  
Old 12th April 2005, 05:16 PM
ianmac
Guest
 
Posts: n/a
Quote:
Originally Posted by AndyGreen
Assuming your FC3 external app rpm was packaged well, RPM will let you know if things are not right for that rpm. You'll get errors telling you that your FC3 rpm requires such and such library version where FC4 has a later version. If you see this just accept that it won't work, don't force it.

If you can get a source RPM for your external app, you can tell RPM to rebuild it, in which case it will attempt to link to whatever libraries are around on your FC4 system. This will either work or fail depending on possible changes to the library ABI (ie, if functions in the later library got removed or arguments added, etc it will fail).
I didn't think about source RPM's, thank you for mentioning it. I can just use them to build my own rpm's on FC4, great idea! The command "rpmbuild -ba <packagename>.spec" builds rpm's from source code tarballs, but what is the command to build an rpm from a source rpm? Is it "rpmrebuild -ba <packagename>.spec" - using rpmrebuild instead of rpmbuild? Is that correct?

Cool, I can just install FC4 and spend some time rebuilding source rpm's.
Reply With Quote
  #5  
Old 12th April 2005, 05:59 PM
james_in_denver Offline
Registered User
 
Join Date: Oct 2004
Posts: 1,227
Source "RPM"s will probably work okay, compiled RPM'S almost certainly won't work.

FC3 rpm's are built using gcc 3.x.

FC4 rpm's are compiled with gcc 4.x.

I am pretty certain that the "shared libraries" and binary executables between the two versions will be incompatible.
__________________
Only dead fish go with the flow....

Hmmm, what did I miss?
Reply With Quote
  #6  
Old 12th April 2005, 06:12 PM
ianmac
Guest
 
Posts: n/a
Quote:
Originally Posted by james_in_denver
Source "RPM"s will probably work okay, compiled RPM'S almost certainly won't work.

FC3 rpm's are built using gcc 3.x.

FC4 rpm's are compiled with gcc 4.x.

I am pretty certain that the "shared libraries" and binary executables between the two versions will be incompatible.
aha, ok. Thanks for the info, that explains a lot.

When I do get FC4 installed, what is the proper command to rebuild a .src.rpm? I know it is "rpmbuild -ba packagename.spec" for building rpm's, but what is the command for rebuilding .src.rpm rpm's?

Last edited by ianmac; 12th April 2005 at 06:38 PM.
Reply With Quote
  #7  
Old 12th April 2005, 10:05 PM
Vinneh Offline
Registered User
 
Join Date: Mar 2005
Posts: 223
It may be bad practice, but I've noticed that every FC3 package I've installed so far has worked
Reply With Quote
  #8  
Old 19th June 2005, 09:30 PM
FNM's Avatar
FNM Offline
Registered User
 
Join Date: May 2005
Location: Massachusetts
Age: 26
Posts: 70
I installed the Skype FC3 RPM from their website on FC4, and it works perfect.
Reply With Quote
  #9  
Old 20th June 2005, 03:14 AM
crackers's Avatar
crackers Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Seattle, WA, USA
Age: 56
Posts: 3,423
It's pretty much hit or miss with binary RPMs. The ones that will work probably don't rely that heavily on "system" APIs and the libraries they do use haven't changed their APIs. Of course, that means the ones that won't work wil fail in unpredictable ways - which could end up being really bad, depending upon the application(s).
__________________
Linux User #28251 (April '93)
Professional Java Geek :cool:
Reply With Quote
Reply

Tags
fc3, fc4, rpm

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
RPM's brentaaronson Using Fedora 5 1st August 2006 08:05 PM
Can't install my .RPM's??? huckem_420 Using Fedora 4 19th February 2005 12:03 AM
rpm's xiphohel Using Fedora 3 11th July 2004 08:51 AM
RPM's? CheeseWarfare Using Fedora 5 23rd May 2004 01:09 AM


Current GMT-time: 17:24 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat