Unfortunately, I had a lot of trouble trying to install the latest version of Snes9x on my Debian PC and the README provided by the source files was quite unhelpful. After about 4 hours of messing around trying to find what was missing from my computer I was finally able to properly install Snes9x on my computer; so I decided to make a script with everything I had to do to install it for when I needed to do so again, so I'm sharing that script here for anyone who might be having trouble installing Snes9x on Linux.
This script was created and tested on Debian 8 (Jessie), but I have no reason to believe it won't work on other Debian distributions or Ubuntu.
Code: Select all
#!/bin/bash
sudo aptitude update &&
sudo aptitude install pkg-config libgtk2.0-dev libxml2-dev libxv-dev libsdl-dev libsdl-dev -y &&
wget http://launchpad.net/intltool/trunk/0.50.2/+download/intltool-0.50.2.tar.gz &&
tar -xzf intltool-0.50.2.tar.gz &&
sudo chmod -R 777 intltool-0.50.2 &&
cd intltool-0.50.2 &&
./configure &&
make &&
sudo make install &&
cd .. &&
rm -r intltool-0.50.2 &&
rm intltool-0.50.2.tar.gz &&
wget http://files.ipherswipsite.com/snes9x/snes9x-1.53-src.tar.bz2 &&
tar -xjf snes9x-1.53-src.tar.bz2 &&
sudo chmod -R 777 snes9x-1.53-src &&
cd snes9x-1.53-src/gtk &&
./configure &&
make &&
sudo make install &&
cd ../.. &&
rm -r snes9x-1.53-src &&
rm snes9x-1.53-src.tar.bz2