LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   SDL ( Simple DirectMedia Layer ) how to install? (https://www.linuxquestions.org/questions/linux-general-1/sdl-simple-directmedia-layer-how-to-install-27116/)

Rutnut 08-03-2002 10:12 AM

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

Mara 08-03-2002 05:51 PM

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

Rutnut 08-04-2002 12:05 AM

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

Mara 08-04-2002 07:32 AM

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 :)

Rutnut 08-06-2002 11:28 AM

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

Mara 08-08-2002 06:59 AM

/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


All times are GMT -5. The time now is 02:45 AM.