HOWTO: Install ZSNES from SVN

Got a question? Read here first. Failure to read this forum beforehand may result in you getting chewed out by the forum regulars.

Moderators: ZSNES Mods, ZSNES Doc Team

Locked
Aerdan
Winter Knight
Posts: 467
Joined: Mon Aug 16, 2004 10:16 pm
Contact:

HOWTO: Install ZSNES from SVN

Post by Aerdan »

DOS/Windows
Download: http://nsrt.edgeemu.com/zget.zip
Extract all files, and run the zget.exe application.

Debian x86

Code: Select all

su
apt-get install build-essential nasm autoconf automake libsdl1.2-dev zlib1g-dev libpng12-dev subversion mesa-common-dev libao-dev
exit
cd ~
rm -rf zsnes
svn co https://svn.bountysource.com/zsnes/trunk/ zsnes
cd zsnes/src
./autogen.sh --enable-libao
make
su
make install
exit


Debian AMD64
Follow these steps, then proceed within your 32-bit chroot as with Debian x86.

Ubuntu/Kubuntu/Xubuntu PC

Code: Select all

sudo apt-get install build-essential nasm autoconf automake libsdl1.2-dev zlib1g-dev libpng12-dev subversion mesa-common-dev libao-dev
cd ~
rm -rf zsnes
svn co https://svn.bountysource.com/zsnes/trunk/ zsnes
cd zsnes/src
./autogen.sh --enable-libao
make
sudo make install


Gentoo x86/AMD64

Code: Select all

emerge subversion
sudo -s
echo 'PORTDIR_OVERLAY="/usr/local/neoportage"' >> /etc/make.conf
cd /usr/local
svn co svn://oldos.org/neoportage/trunk neoportage
emerge zsnes


Other Distributions
You need to install the following:
  • gcc
  • g++
  • make
  • autoconf
  • automake
  • nasm
  • SDL plus related devel package
  • libpng plus related dev package
  • zlib plus related dev package
  • ncurses plus related dev package, for the debugger [add '--disable-debugger' after ./autogen.sh [put a space between autogen.sh and the option] to disable]
  • mplayer, for recording movies into other formats
  • subversion
  • libao plus related dev package, this will be mandatory soon
Then follow these steps:

Code: Select all

cd ~
rm -rf zsnes
svn co https://svn.bountysource.com/zsnes/trunk/ zsnes
cd zsnes/src
./autogen.sh
make
su
make install
exit


Updating ZSNES from SVN:
This doesn't apply to DOS, Windows, or Gentoo.

Code: Select all

cd ~/zsnes
svn up
cd src
rm makefile.dep
make makefile.dep
make
su
make install
exit
Last edited by Aerdan on Mon Oct 09, 2006 3:34 am, edited 3 times in total.
badinsults
"Your thread will be crushed."
Posts: 1236
Joined: Wed Jul 28, 2004 1:49 am
Location: Not in Winnipeg
Contact:

Post by badinsults »

Note, if you get an error when compiling in Ubuntu complaining about "gl.h" being missing, you can resolve that problem by reinstalling the mesa-common-dev package.
<pagefault> i'd break up with my wife if she said FF8 was awesome
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

For those of you who fail at compiling, try downloading binaries from here at your own risk:
http://board.zsnes.com/phpBB2/viewtopic.php?t=9465
Continuing FF4 Research...
Locked