LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-30-2008, 07:52 PM   #1
nsm
LQ Newbie
 
Registered: Oct 2008
Posts: 7

Rep: Reputation: 0
Problem in installing SDL on fedora 5


Hello all,

I am quite new to linux and facing some basic doubts regarding SDL (Simple DirectMedia Layer)installation on Fedora core 5 (i386) machine.
I tried 2 ways:
1. Downloaded "SDL-devel-1.2.13-1.i386.rpm" from url "http://www.libsdl.org/download-1.2.php" and tried to install.
Error: When tried to install, it fails during "retrieving software information" phase.
2. Using yum. But, it seems that yum on my machine is not configured properly. Because: in file, fedora-core.repo there are foll. two URLs which seems to be outdated.
---------------------------------------------
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
---------------------------------------------
I dont know how exactly to fix this yum issue. I thought, giving the correct/valid baseurl and mirrorlist should do. But, I am having a hard time to fix this up. My final aim is to just install SDL and move towards my main project.

Folks, request you to specify the exact steps to install SDL on fedora,core5 machine.

Thanks in advance!!
Best Greetings,
nsm
 
Old 10-30-2008, 10:34 PM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Support for FC5 was dropped several years ago. Fedora only has about 13 months of support for any one version. After that there are no updates of any kind. The repos dry up pretty quickly after support is discontinued. Your best bet would be to look at Centos 5.2. Centos is RHEL with the logos removed. It is free to download/update and has a five year support life.
 
Old 10-30-2008, 10:39 PM   #3
giftlftr_23
Member
 
Registered: Oct 2008
Location: I live where I'm currently standing on
Distribution: fedora, opensuse
Posts: 34

Rep: Reputation: 17
why not install fedora 9? or the incoming fedora 10...
 
Old 10-30-2008, 10:53 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
If he installs F9 he will be in the exact same position in about 7-8 months(F10 and he is looking at 13-14 months).
 
Old 10-31-2008, 08:36 AM   #5
nsm
LQ Newbie
 
Registered: Oct 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Hello all,
Thanks for your prompt response! Aah...I wish, I wanted to upgrade to latest fedora version since I joined the project. But, my project uses device drivers which are tightly coupled with Fedora-5 and its not possible to change that code, as it is a lot of work. And I dont have any say in it . So, I got to make it work on Fedora-5 and I believe there got to be some way and I need to figure that out. My problem has boiled down to installing SDL on Fedora-5 and would like to know if its feasible or not? If yes..great..how? If no..why ?? What approach would you like to suggest in order to proceed further?

Once again..thanks for your time. Will wait for inputs from you..
 
Old 10-31-2008, 11:00 AM   #6
jf.argentino
Member
 
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 493

Rep: Reputation: 50
Why not trying to install it through its sources?
 
Old 11-03-2008, 10:58 AM   #7
nsm
LQ Newbie
 
Registered: Oct 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Hey,
sorry to reply late..was out of town. Ok, I will try to install from source files. I just hope, I will be able to resolve dependencies in that case.
Hey Lazlo and other senior folks...One question:
I am curious to understand FC5 state in a better way. As I understand, FC5 support is stopped and corresponding repos have dried out. So, does this mean, I no longer can configure yum on FC5 to install something? There is no way to redirect yum to function it properly on FC5 now?

Thanks in advance for your time!
 
Old 11-03-2008, 12:56 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,709

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
mixing NEW and OLD versions of the same code on a machine can cause big problems

if you install the NEW sdl code on top of the OLD code in /usr/ you will most likely fubar part of the system with all of the dependencies.
make a install folder that is NOT in the system path
for example /usr/opt/mycode

build ALL the new code using the prifix tag
Code:
./configure --prefix=/usr/opt/mycode
you will also need to export the new include path and the lib path and the pkgeconfig path

Last edited by John VV; 11-03-2008 at 12:58 PM.
 
Old 11-03-2008, 01:05 PM   #9
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
IF you can find repos that still have the software you should be able to redirect yum to them. The trouble is that those repos are few and far between. Fedora 10 will be released late this month. This means that you will be five (5) releases behind current. Now just to get the point across, think about backing up five versions of windows(vista,xp,98,95,3.11). So in comparison you are looking for support of windows 3.0. How many current version of software do you think will run properly on 3.0? Even if you compile it, there are going to be issues because things have changed so much over time.
 
Old 11-03-2008, 02:09 PM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,709

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
you may find a still working one someplace in this list ??
http://mirrors.fedoraproject.org/pub...t/EPEL/5/i386/

but i do not think any of them will have sdl sdl-devel,sdl_mixer sdl_mixer-devel,sdl_image sdl_image-devel sdl_ttf sdl_ttf-devel...
you may need to go to sdl's cvs/svn page and check out the OLD code
 
Old 11-03-2008, 11:29 PM   #11
nsm
LQ Newbie
 
Registered: Oct 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Ok..great!! I got your points! Yes, that makes sense. So, upgrading to FC9/FC10 will ease installation of SDL and in any case, thats the best way to go forward. I had been given a code that runs on Ubuntu,makes use of SDL 1.2 and I was expected to make it work on FC5. But, it seems FC5 is really the obsolete piece now! (like windows 3.0.. btw that was gud one!)
Ok then, thats going to be a major decision for our project. Lets see. Thanks for your valuable comments. Will keep you posted.
Thanks!
~nsm
 
  


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
Sourcecompiling Problem...The sdl-config script installed by SDL could not be found. deepclutch Debian 1 12-15-2005 12:15 PM
Installing SDL TheReven Linux - Software 10 05-23-2005 02:52 AM
Trying to program an SDL application but cannot find the SDL.h file:SuSE 9.2&KDevelop pujolasdf Linux - Newbie 4 03-13-2005 07:50 AM
Installing SDL problem ctux Linux - Software 1 08-07-2004 07:21 AM
Help With Installing SDL Mixer sovietpower Linux - Software 1 11-10-2003 05:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:46 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration