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 - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-03-2002, 10:12 AM   #1
Rutnut
Member
 
Registered: Dec 2000
Posts: 112

Rep: Reputation: 15
SDL ( Simple DirectMedia Layer ) how to install?


Hello,

I have tried to install a few tar files but they seem to be looking for a SDL file, after finding it on the web from http://www.libsdl.org, and trying to find how to install it I am at a loss, I get to the point of downloading it into my Download folder, I untar it and then what, where does it go.

I am so use to .dll files from Windows that this new files system of Linux is taking awhile to get use to.

Can you please take me through the whole process from the point that I have just downloaded it, please tell me where to put it so that my Linux SuSE 7 can find it.

Many thanks for all the past help on other topics.

Regards
 
Old 08-03-2002, 05:51 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
As far as I remember, this will work (I assume it's unpacked)
enter the directory it created
./configure
make
su (you'll be asked for root password, enter it)
make install
 
Old 08-04-2002, 12:05 AM   #3
Rutnut
Member
 
Registered: Dec 2000
Posts: 112

Original Poster
Rep: Reputation: 15
Hello,

I did what you said I unpacked it using tar -zxvpf (file name) and everything opened as normal.
I typed
./configure
make
su, but it didn't ask for my root password, then I
make install

after all that I installed a program and again it said that neither SDL or GLUT is installed. How can i find out if it has installed and what is GLUT?

Can you help again please.

ragards
 
Old 08-04-2002, 07:32 AM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Usually, with no extra options, SDL is installed in /usr/local. Maybe you don't have it in your PATH?
Run
echo $PATH
and look if there is /usr/local. If not, use
export PATH=$PATH:/usr/local
This will work only in this session. To make change for all users (and to work after reboot, too) add this line to /etc/profile

Quote:
su, but it didn't ask for my root password, then I
It means you were doing everything as root. It's not always a good idea (you can remove the whole filesystem by accident). But it's your choice
 
Old 08-06-2002, 11:28 AM   #5
Rutnut
Member
 
Registered: Dec 2000
Posts: 112

Original Poster
Rep: Reputation: 15
hello,
Thanks for your help, I did it again but not under root this time but again the same message: neither SDL or GLUT is installed.

When I typed echo $PATH it gave me a repeated meassage:
/usr/sbin/usr/sbin/usr/sbin/usr/sbin/usr/local

I then export PATH=$PATH:/usr/local

and I exported it to /etc/profile

I then installed a program again and the same message looking for SDL or GLUT!

Thanks anyway for your help
Regards
 
Old 08-08-2002, 06:59 AM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
/usr/sbin/usr/sbin/usr/sbin/usr/sbin/usr/local
If that's your real PATH, it's wrong.

Set it correctly:

export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/sbin:/usr/X11R6/bin
 
  


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 On
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
help with SDL (Simple DirectMedia Layer) poeta_boy Linux - Games 8 11-18-2003 05:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:31 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