I got ZSNES from the i386 repository.
I then tried to compile zsnes from its source but ran into problems.
I think I have all the packages I need installed, but mabey they are too new?
Code: Select all
./configure --with-x --enable-libao --enable-release
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... 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 3574: syntax error near unexpected token `1.2.0,,AC_MSG_ERROR'
./configure: line 3574: `AM_PATH_SDL(1.2.0,,AC_MSG_ERROR(SDL >= 1.2.0 is required))'
After some searching I found an explanation here:
http://ubuntuforums.org/showthread.php?t=584105&page=7
"ZSNES contains 32-bit ASM code, which means it can only be compiled as a 32-bit binary. You can run 32-bit binaries on your 64-bit system, if you have the correct libraries installed.
If you MUST compile from source, you have several options:
(1). Compile from another 32-bit machine, making sure that it is optimized correctly for your 64-bit CPU instruction set. You can also use a generic instruction set like i686.
(2). Load up a 32-bit live CD on your machine and compile from there, it will be a bit slow but whatever. Than save the binary to a USB drive and bring it over.
(3). Set up a 32-bit chroot on your 64-bit machine and compile in that."