Installing ZSNES on Linux...help me please!
Moderator: ZSNES Mods
Installing ZSNES on Linux...help me please!
Before I begin, let me start by saying that I know absolutely nothing about Linux. Assume that I just installed Linux a second ago and I had never before heard of it.
I'm running Ubuntu on my laptop right now. I think I managed to unzip the ZSNES files that I got from the site. The trouble is, I don't know how to go about actually installing the program. None of the file extensions mean anything to me, I typically use Windows and DOS, so I don't know which one to run to start the installation. Assuming, of course, that it even works that way.
Could someone please help me?
I'm running Ubuntu on my laptop right now. I think I managed to unzip the ZSNES files that I got from the site. The trouble is, I don't know how to go about actually installing the program. None of the file extensions mean anything to me, I typically use Windows and DOS, so I don't know which one to run to start the installation. Assuming, of course, that it even works that way.
Could someone please help me?
Which file(s) did you download? If you downloaded one of ipher's WIPs, then you'll want to open up a console, navigate to the "src" directory inside what you unzipped, and then run the following three commands:
./autogen.sh
make
sudo make install
If it works, congratulations. If not, or if you're lost, post back.
./autogen.sh
make
sudo make install
If it works, congratulations. If not, or if you're lost, post back.
Uhh...here's what I did.
I went here http://www.zsnes.com/
Then I just downloaded the latest version for Linux (right in the upperleft corner there).
After that I ran these commands:
"gzip -d 'filename.tar.gz"
"tar -xvf 'filename.tar"
It automatically extracted a folder into my "home" directory. In it I have several files that I have no clue what to do with.
Is that any help?
I went here http://www.zsnes.com/
Then I just downloaded the latest version for Linux (right in the upperleft corner there).
After that I ran these commands:
"gzip -d 'filename.tar.gz"
"tar -xvf 'filename.tar"
It automatically extracted a folder into my "home" directory. In it I have several files that I have no clue what to do with.
Is that any help?
-
- Locksmith of Hyrule
- Posts: 3634
- Joined: Sun Aug 08, 2004 7:49 am
- Location: 255.255.255.255
- Contact:
First, open Synaptic. Search for (and possibly install):
make
autoconf
automake
libsdl12
libpng (though I've compiled and used just fine without it, or I had it and didn't know
)
nasm
Next, do what odditude says.
make
autoconf
automake
libsdl12
libpng (though I've compiled and used just fine without it, or I had it and didn't know

nasm
Next, do what odditude says.
<Nach> so why don't the two of you get your own room and leave us alone with this stupidity of yours?
NSRT here.
NSRT here.
Uhh ok. So I'm in Synaptic Package Manager. The only one of those that I found (though I don't understand what they're for) was "make." My laptop currently has no internet connection whatsoever, so will that be a problem in those missing thingies?adventure_of_link wrote:First, open Synaptic. Search for (and possibly install):
make
autoconf
automake
libsdl12
libpng (though I've compiled and used just fine without it, or I had it and didn't know)
nasm
Next, do what odditude says.
-
- Locksmith of Hyrule
- Posts: 3634
- Joined: Sun Aug 08, 2004 7:49 am
- Location: 255.255.255.255
- Contact:
Yes.
<Nach> so why don't the two of you get your own room and leave us alone with this stupidity of yours?
NSRT here.
NSRT here.
-
- New Member
- Posts: 6
- Joined: Sun Jun 25, 2006 7:39 pm
Not likely. Linux software in general is like this, a pain to install.Alek wrote:Do you know where I could get these so that I could download them from my main computer on to my laptop?adventure_of_link wrote:Yes.
Also...is there any other way to do this?!![]()
Maybe another SNES emulator could do this easier?
-
- Lurker
- Posts: 165
- Joined: Wed Jul 28, 2004 3:15 am
- Location: The Land of Insanity
- Contact:
Helpful hint the next time you have to decompress something like this:Alek wrote: After that I ran these commands:
"gzip -d 'filename.tar.gz"
"tar -xvf 'filename.tar"
tar-xzvf filename will eleminate the need for 'gzip -d filename'
Also, if you ever come across a BZ2 file, use tar-xjvf filename
It is better to be silent and thought a fool then to open your mouth and remove all doubt
I am Zophar, Master of Sh*t!
[url=http://archlyn.bravejournal.com]View my blog[/url]
I am Zophar, Master of Sh*t!
[url=http://archlyn.bravejournal.com]View my blog[/url]
Not quite working.
Ive been trying to get zsnes working for ubuntu for a while, but with no luck. I stumbled upon this thread and decided to give it another go. No luck. here is the error i get:
kgee@linuxlappy:~/zsnes_1_42/src$ ./autogen.sh
Generating build information using aclocal and autoconf...
./autogen.sh: line 6: sdl-config: command not found
acinclude.m4:10: warning: underquoted definition of AM_PATH_ZLIB
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/auto ... ng-aclocal
acinclude.m4:121: warning: underquoted definition of AM_PATH_LIBPNG
aclocal: couldn't open directory `/share/aclocal': No such file or directory
checking build system type... configure: error: cannot guess build type; you must specify one
kgee@linuxlappy:~/zsnes_1_42/src$
what does it mean by "build type"? If you can point me in the right direction im sure I can figure it out, but as it stands i dont even know where to start looking for the solution.
kgee@linuxlappy:~/zsnes_1_42/src$ ./autogen.sh
Generating build information using aclocal and autoconf...
./autogen.sh: line 6: sdl-config: command not found
acinclude.m4:10: warning: underquoted definition of AM_PATH_ZLIB
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/auto ... ng-aclocal
acinclude.m4:121: warning: underquoted definition of AM_PATH_LIBPNG
aclocal: couldn't open directory `/share/aclocal': No such file or directory
checking build system type... configure: error: cannot guess build type; you must specify one
kgee@linuxlappy:~/zsnes_1_42/src$
what does it mean by "build type"? If you can point me in the right direction im sure I can figure it out, but as it stands i dont even know where to start looking for the solution.
-
- Locksmith of Hyrule
- Posts: 3634
- Joined: Sun Aug 08, 2004 7:49 am
- Location: 255.255.255.255
- Contact:
Sort of irrelevant, but I forgot about GCC and G++.adventure_of_link wrote:First, open Synaptic. Search for (and possibly install):
make
autoconf
automake
libsdl12
libpng (though I've compiled and used just fine without it, or I had it and didn't know)
nasm
Next, do what odditude says.
and iirc, the build-type is the version of Linux you're using, eg: i686-pc-linux-GNU, etc.
<Nach> so why don't the two of you get your own room and leave us alone with this stupidity of yours?
NSRT here.
NSRT here.
Re: Not quite working.
You'll also need libsdl12-dev or whatever your SDL development package is called.kgee wrote:./autogen.sh: line 6: sdl-config: command not found
when building programs on ubuntu the actual proper way of getting all the tools you need is to get the build-essential package.
just do this and you should have everything you need to compile/install zsnes, navigate to the directory that your sources are in and.
Code: Select all
sudo aptitude install build-essential
Code: Select all
sudo aptitude install build-essential libsdl1.2-dev
./autogen.sh --prefix=/usr
make
sudo make install
Thanks gord, that helped. the ./autogen.sh worked perfectly.gord wrote:when building programs on ubuntu the actual proper way of getting all the tools you need is to get the build-essential package.just do this and you should have everything you need to compile/install zsnes, navigate to the directory that your sources are in and.Code: Select all
sudo aptitude install build-essential
Code: Select all
sudo aptitude install build-essential libsdl1.2-dev ./autogen.sh --prefix=/usr make sudo make install
now the make and sudo make install aren't working.
kgee@linuxlappy:~/zsnes_1_42/src$ make
make: *** No targets specified and no makefile found. Stop.
kgee@linuxlappy:~/zsnes_1_42/src$ sudo make install
make: *** No rule to make target `install'. Stop.
kgee@linuxlappy:~/zsnes_1_42/src$
it says no makefile found, but there are clearly 3 files titled makefile (one is a .check, one is a .in and the other is a .ms)
so close, yet i dont know enough to continue.
a little help?
checking whether c++ accepts -g... yes
checking for nasm... nasm
checking for a BSD compatible install... /usr/bin/install -c
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
./configure: line 1452: syntax error near unexpected token `1.1.0,,AC_MSG_ERROR'./configure: line 1452: `AM_PATH_ZLIB(1.1.0,,AC_MSG_ERROR(ZLIB >= 1.1.0 is required))'
kgee@linuxlappy:~/zsnes_1_42/src$
Yeah, so this is the last part of the ./autogen.sh.
any ideas?
edit: I have zlib1g and it needs greater than 1.1? I cant apt-get to get anything greater, where would I find it?
checking for nasm... nasm
checking for a BSD compatible install... /usr/bin/install -c
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
./configure: line 1452: syntax error near unexpected token `1.1.0,,AC_MSG_ERROR'./configure: line 1452: `AM_PATH_ZLIB(1.1.0,,AC_MSG_ERROR(ZLIB >= 1.1.0 is required))'
kgee@linuxlappy:~/zsnes_1_42/src$
Yeah, so this is the last part of the ./autogen.sh.
any ideas?
edit: I have zlib1g and it needs greater than 1.1? I cant apt-get to get anything greater, where would I find it?
Code: Select all
./autogen.sh --prefix=/usr
kgee: Please post the entire results of ./autogen.sh, there's probably another package that's missing (or silently broken).
gord: good guess, autogen was not installed, yet that did not change the output of the ./autogen.sh.
here is the full result:
kgee@linuxlappy:~/zsnes_1_42/src$ ./autogen.sh
Generating build information using aclocal and autoconf...
acinclude.m4:10: warning: underquoted definition of AM_PATH_ZLIB
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/auto ... ng-aclocal
acinclude.m4:121: warning: underquoted definition of AM_PATH_LIBPNG
autoconf: Undefined macros:
configure.in:27:AC_MSG_ERROR(You need NASM installed to compile ZSNES)
configure.in:53: AC_MSG_ERROR(This Target is Not Supported)
configure.in:61:AM_PATH_SDL(1.2.0,,[AC_MSG_ERROR(SDL >= 1.2
.0 is required)])
configure.in:62:AM_PATH_ZLIB(1.1.0,,[AC_MSG_ERROR(ZLIB >= 1.1.0 is required)])
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc -pipe -I. -Wall -I/usr/local/include -I/usr/include -L/usr/local/lib -L/usr/lib) works... yes
checking whether the C compiler (gcc -pipe -I. -Wall -I/usr/local/include -I/usr/include -L/usr/local/lib -L/usr/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++ -L/usr/local/lib -L/usr/lib) works... yes
checking whether the C++ compiler (c++ -L/usr/local/lib -L/usr/lib) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for nasm... nasm
checking for a BSD compatible install... /usr/bin/install -c
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
./configure: line 1452: syntax error near unexpected token `1.1.0,,AC_MSG_ERROR'./configure: line 1452: `AM_PATH_ZLIB(1.1.0,,AC_MSG_ERROR(ZLIB >= 1.1.0 is required))'
kgee@linuxlappy:~/zsnes_1_42/src$
edit:
to save you all some time, Im going through my packages to see what I have.
I have:
automake1.9
autoconf
autogen
libsdl1.2debian
libsdl1.2debian-all
libsdl1.2-dev
gcc
zlib1g
nasm
libpng12-0
libpng12-dev
g++
here is the full result:
kgee@linuxlappy:~/zsnes_1_42/src$ ./autogen.sh
Generating build information using aclocal and autoconf...
acinclude.m4:10: warning: underquoted definition of AM_PATH_ZLIB
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/auto ... ng-aclocal
acinclude.m4:121: warning: underquoted definition of AM_PATH_LIBPNG
autoconf: Undefined macros:
configure.in:27:AC_MSG_ERROR(You need NASM installed to compile ZSNES)
configure.in:53: AC_MSG_ERROR(This Target is Not Supported)
configure.in:61:AM_PATH_SDL(1.2.0,,[AC_MSG_ERROR(SDL >= 1.2
.0 is required)])
configure.in:62:AM_PATH_ZLIB(1.1.0,,[AC_MSG_ERROR(ZLIB >= 1.1.0 is required)])
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc -pipe -I. -Wall -I/usr/local/include -I/usr/include -L/usr/local/lib -L/usr/lib) works... yes
checking whether the C compiler (gcc -pipe -I. -Wall -I/usr/local/include -I/usr/include -L/usr/local/lib -L/usr/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++ -L/usr/local/lib -L/usr/lib) works... yes
checking whether the C++ compiler (c++ -L/usr/local/lib -L/usr/lib) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for nasm... nasm
checking for a BSD compatible install... /usr/bin/install -c
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
./configure: line 1452: syntax error near unexpected token `1.1.0,,AC_MSG_ERROR'./configure: line 1452: `AM_PATH_ZLIB(1.1.0,,AC_MSG_ERROR(ZLIB >= 1.1.0 is required))'
kgee@linuxlappy:~/zsnes_1_42/src$
edit:
to save you all some time, Im going through my packages to see what I have.
I have:
automake1.9
autoconf
autogen
libsdl1.2debian
libsdl1.2debian-all
libsdl1.2-dev
gcc
zlib1g
nasm
libpng12-0
libpng12-dev
g++
--prefix=/usr just installs the software to /usr instead of /usr/local. if you'v set up your programs to run over a network then you will want it to goto /usr/local but on a normal computer /usr is more.. complient. i'v just seen installing to local to break somethings, force of habit now.
on another note, you might want to make sure you get the zlib1g-dev package as well
on another note, you might want to make sure you get the zlib1g-dev package as well
