LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 11-14-2003, 09:34 AM   #1
poeta_boy
Member
 
Registered: Oct 2003
Location: Mexico
Distribution: Ubuntu
Posts: 223

Rep: Reputation: 31
help with SDL (Simple DirectMedia Layer)


Hey can you help me to install SDL (Simple DirectMedia Layer) , I need it to compile Znes

Thanks!
 
Old 11-14-2003, 09:34 PM   #2
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
Go to the libsdl.org website

http://www.libsdl.org/download-1.2.php

Download whatever package you want.. rpm or tar.gz
If you got the rpm just install it normally.
If you got the tar.gz

tar -xvzf <packagename>

Go into the newly created directory, and

./configure && make
su root
make install
ldconfig
exit

Have fun
 
Old 11-14-2003, 10:09 PM   #3
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
dont forget the other important commonly used sdl packages:
SDL_image http://libsdl.org/projects/SDL_image
SDL_mixer http://libsdl.org/projects/SDL_mixer
SDL_net http://libsdl.org/projects/SDL_net
and SDL_ttf http://libsdl.org/projects/SDL_ttf
 
Old 11-17-2003, 07:15 AM   #4
poeta_boy
Member
 
Registered: Oct 2003
Location: Mexico
Distribution: Ubuntu
Posts: 223

Original Poster
Rep: Reputation: 31
Hello:
I did that and here's what I've got:

checking for sdl-config... no
checking for SDL - version >= 1.2.0... no
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
configure: error: SDL >= 1.2.0 is required

Any idea? I downloaded rmp and installed all. I didn't get any choices, just double click and it said : it's all installed!
 
Old 11-17-2003, 11:58 AM   #5
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
Install normal SDL first.
http://www.libsdl.org/download-1.2.php
http://www.libsdl.org/release/SDL-1.2.6-1.i386.rpm
I had lots of problems with rpm too. That's the main reason that made me trash RH and put Gentoo.
SDL never worked right with rpm for me. I had to compile it from source, and even that was hit and miss.
 
Old 11-17-2003, 08:38 PM   #6
poeta_boy
Member
 
Registered: Oct 2003
Location: Mexico
Distribution: Ubuntu
Posts: 223

Original Poster
Rep: Reputation: 31
Hey

It's sad, at least for me. These are just the kind of things that make me stick at WIN XP. I've tried to install like 10 programs (between screensavers, Karamba and some games) and everything just keeps asking for libraries, libraries and more libraries.

ok I download library one. To compile it, I need library two. I got library to and I need library three. I have three and now it says it's installed successfully but Oh surprise!!! I can't have my Linux to work the way I want. I'm not quitting, but now I'm only using it for my own learning. Work, develop and explore, for normal daily things I'll have to stick with the "other" one.

I'm quite a newbie. Do you suggest move on to Gentoo?
 
Old 11-17-2003, 08:51 PM   #7
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
If you're willing to follow the instruction guide to the letter, yup
It's very specific, clear, and simple to use. Just need to make sure you do exactely what it asks you. In the same order . You'll learn a lot, and installing sdl goes like this:

emerge libsdl

Done

www.gentoo.org

Just post back here if you have problems with the install or anything like that.
 
Old 11-17-2003, 08:56 PM   #8
poeta_boy
Member
 
Registered: Oct 2003
Location: Mexico
Distribution: Ubuntu
Posts: 223

Original Poster
Rep: Reputation: 31
forgot to ask.... is it like slackware just command oriented? can I also use KDE?
 
Old 11-18-2003, 05:06 PM   #9
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
Not sure how the slackware one is. This one has a graphical interface too, but I prefer the console version. Faster to just type for me
Yup, KDE Gnome Flux every window and desktop manger I know of
 
  


Reply



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
DVD Drives - Dual Layer or double layer? Groundhog1248 Linux - Hardware 2 09-23-2009 09:30 PM
SDL problem... simple program. RHLinuxGUY Programming 1 07-22-2005 06:04 PM
Dual Layer ISO onto 2 Single Layer Medias iammike SUSE / openSUSE 3 05-11-2005 05:15 PM
Help Compiling SDL(Simple DirectMedia Layer) Mr.Ampersand() Programming 26 07-24-2004 05:15 AM
SDL ( Simple DirectMedia Layer ) how to install? Rutnut Linux - General 5 08-08-2002 06:59 AM

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

All times are GMT -5. The time now is 12:28 PM.

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