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 |
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 |
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 |
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:
|
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 |
/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. |