I just downloaded the lastest WIP (Oct 24th) for linux and i'm trying to compile it but I'm having a few issues.
1. The instructions that came with the source don't mention the fact (or I might have overlooked it somewhere. Sorry if i did.) that you have to run ./autogen.sh or sh autogen.sh in my case. I had to sift through the forum a bit and finally found the answer here. Don't know if that has already been reported or not. If so, then feel free to ignore.
2. I run autogen.sh and it goes through its motions but gives me the following:
jaq@jaq:~/src/zsnes/src$ sh autogen.sh
Generating build information using aclocal and autoconf...
autogen.sh: line 1: sdl-config: command not found
autogen.sh: line 6: aclocal: command not found
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 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 nasm... nasm
checking for a BSD-compatible install... /usr/bin/install -c
./configure: line 2558: syntax error near unexpected token `1.2.0,,AC_MSG_ERROR'./configure: line 2558: `AM_PATH_SDL(1.2.0,,AC_MSG_ERROR(SDL >= 1.2.0 is required))'
It complains of needing a version of SDL greater than 1.2.0 and I have that (1.2.7-10 actually).I'm not sure if there's a variable missing or if a path isn't set right or what. I also see that at first it says it can't find sdl-config or aclocal. I'm not sure if they come as part of a different package or what. I'm not an expert with linux by any means but i would think that if those were required packages then the configure script would have stopped right there and let me know. I may also just be completely wrong about that. Let me know if I am. Oh and I'm running Debian Sarge on a Toshiba Satellite 2805-S402. Specs are as follows:
850MHz Pentium 3
384 MB RAM
Geforce 2 Go Video
20GB HD
Intel Sound Chip (dont remember the exact name off the top of my head...)
Hopefully I explained myself clearly enough. Thanks in advance for any help.
Linux compilation issue...
Moderator: ZSNES Mods
Just have a look into the install.txt that comes along with zsnes.
check www.libsdl.org to grab SDL 1.2.0 or later. If you are using rpm packages, don't forget the -devel package.
I've had the same problem as you described. Installed the SDL-devel package and everything went fine.
Hope this helps.
check www.libsdl.org to grab SDL 1.2.0 or later. If you are using rpm packages, don't forget the -devel package.
I've had the same problem as you described. Installed the SDL-devel package and everything went fine.
Hope this helps.
...what? The land of the free? Whoever told you that is your enemy!
Well I went and installed the sdl dev packages and tried again and got this:
jaq@jaq:~/src/zsnes/src$ sh autogen.sh
Generating build information using aclocal and autoconf...
autogen.sh: line 6: aclocal: command not found
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 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 nasm... nasm
checking for a BSD-compatible install... /usr/bin/install -c
./configure: line 2558: syntax error near unexpected token `1.2.0,,AC_MSG_ERROR'
./configure: line 2558: `AM_PATH_SDL(1.2.0,,AC_MSG_ERROR(SDL >= 1.2.0 is required))'
Basically the same as above minus the sdl-config error. My main issue is that I just wanted to try the latest WIP cause 1.36 wasn't seeing my USB to PSX adapter. It used to work when I had Suse 9.0 installed but now im using Debian and it doesn't.
jaq@jaq:~/src/zsnes/src$ sh autogen.sh
Generating build information using aclocal and autoconf...
autogen.sh: line 6: aclocal: command not found
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 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 nasm... nasm
checking for a BSD-compatible install... /usr/bin/install -c
./configure: line 2558: syntax error near unexpected token `1.2.0,,AC_MSG_ERROR'
./configure: line 2558: `AM_PATH_SDL(1.2.0,,AC_MSG_ERROR(SDL >= 1.2.0 is required))'
Basically the same as above minus the sdl-config error. My main issue is that I just wanted to try the latest WIP cause 1.36 wasn't seeing my USB to PSX adapter. It used to work when I had Suse 9.0 installed but now im using Debian and it doesn't.

Do you have "automake" installed? It includes the missing aclocal-"stuff".
Just tried to upgrade from zsnes 1.36 to the newest WIP version and the first thing I experienced was that I ran into that same trouble as you did.
Then I installed "autoconf" and "automake". It doenst really work now but at least I get a different error msg :)
edit: *BINGO* Got it workin' now.
Refer to this posting and you should be fine.
Just tried to upgrade from zsnes 1.36 to the newest WIP version and the first thing I experienced was that I ran into that same trouble as you did.
Then I installed "autoconf" and "automake". It doenst really work now but at least I get a different error msg :)
edit: *BINGO* Got it workin' now.
Refer to this posting and you should be fine.
...what? The land of the free? Whoever told you that is your enemy!