I'm trying to install ZSNES (a Super Nintendo emulator) and I ran into some problems....
These are the commands I was supposed to use from the ZSNES website:
Code:
sudo apt-get install build-essential nasm autoconf automake libsd1.2-dev zlib1g-dev libpng-dev subversion
svn co https://svn.bountysource.com/zsnes/trunk/ zsnes
cd zsnes/src
./autogen.sh
make
sudo make install
Everything worked ok up until the "./autogen.sh" part. When I tried it, it gave me this:
Code:
kitsune@kitsune-desktop:~/zsnes/src$ ./autogen.sh
Generating build information using aclocal and autoconf...
./autogen.sh: line 6: sdl-config: command not found
aclocal: couldn't open directory `/share/aclocal': No such file or directory
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for nasm... nasm
./configure: line 2931: syntax error near unexpected token `1.2.0,,AC_MSG_ERROR'./configure: line
2931: `AM_PATH_SDL(1.2.0,,AC_MSG_ERROR(SDL >= 1.2.0 is required))'
I don't know how to get SDL, I tried searching for it in the package manager, but it didn't help.....
Can anyone help? I'm very lost.