installing on Linux
Moderator: ZSNES Mods
installing on Linux
How may I install zsnes on Linux?
Im new to Linux
Im new to Linux
-
- Dark Wind
- Posts: 1271
- Joined: Thu Jul 29, 2004 8:58 pm
- Location: Texas
- Contact:
I have Topologilinux, its based on Slackware
i typed in
./configure && gmake && gmake install
then the confiqure does its thing and after that
i typed in
./configure && gmake && gmake install
then the confiqure does its thing and after that
Code: Select all
You may now run make to compile zsnes
Make sure you use GNU make when compiling.
/usr/bin/nasm -w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o cpu/addrni.o cpu/addrni.asm
gmake: *** [cpu/addrni.o] Segmentation fault
gmake: *** Deleting file `cpu/addrni.o'
-
- Lurker
- Posts: 165
- Joined: Wed Jul 28, 2004 3:15 am
- Location: The Land of Insanity
- Contact:
First off, you shouldn't have to use gmake at all because this is a GNU linux system - not a big thing, just for general info.
Secondly make sure you have nasm v 0.98.38 because 0.98.37 doesn't play nicely with zsnes at all
Secondly make sure you have nasm v 0.98.38 because 0.98.37 doesn't play nicely with zsnes at all
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]
-
- Lurker
- Posts: 165
- Joined: Wed Jul 28, 2004 3:15 am
- Location: The Land of Insanity
- Contact:
Okay, I know you got a new version of nasm installed, but if you're using a slackware-based distro, I sugggest that you use tgz files, not RPMs. You *can* use RPMs but in my experience it tends to break things on slackware sometimes.
Download the nsam package from here then (as root) cd to wherever you downloaded the file and issue the command
...with that done it's time to actually install zsnes
cd to some directory and untar the ZSNES source code (or better yet grab it from CVS) if you haven't already, just cd to the directory where the sources are and do
Be aware that the --bindir option will put zsnes' compiled binary in $PREFIX/bin, where $PREFIX is the directory you choose so in other words if you do
./configure --bindir=/home/someuser the the resulting binary will be placed in /home/someuser/bin
HTH

Download the nsam package from here then (as root) cd to wherever you downloaded the file and issue the command
Code: Select all
upgradepkg nasm-0.98.38-i486-1.tgz
cd to some directory and untar the ZSNES source code (or better yet grab it from CVS) if you haven't already, just cd to the directory where the sources are and do
Code: Select all
make distclean
./configure --bindir={wherever you want}
make
make install
./configure --bindir=/home/someuser the the resulting binary will be placed in /home/someuser/bin
HTH

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]
Eh? do you need to pass a prefix to the configure command, I guess my redhat/knoppix use made me forget about slack. But yes I find that using the src is better then using rpm's.lord alpha wrote:Gimme a minute to check this...Code: Select all
make distclean ./configure --prefix={wherever you want} make make install
Some people are like slinky's not really good for anything but you can't help smile when one falls down the stairs.
-
- Lurker
- Posts: 165
- Joined: Wed Jul 28, 2004 3:15 am
- Location: The Land of Insanity
- Contact:
No you don't but Dolphin said s/he didn't want zsnes to install to the default localtion (/usr/local/bin) so I gave him/her the flag to use to change thatrage46 wrote:Eh? do you need to pass a prefix to the configure command, I guess my redhat/knoppix use made me forget about slack. But yes I find that using the src is better then using rpm's.lord alpha wrote:Gimme a minute to check this...Code: Select all
make distclean ./configure --prefix={wherever you want} make make install

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]