Ubuntu Linux 9.04 Installation Issue

General area for talk about ZSNES. The best place to ask for related questions as well as troubleshooting.

Moderator: ZSNES Mods

Post Reply
mangel

Ubuntu Linux 9.04 Installation Issue

Post by mangel »

I navigated to the correct directory and ran the ./configure --enable-release as told and below is the error I received.
michael@angel-desktop:~/super_nintendo/super_nintendo_emulator/zsnes_1_51/src$ ./configure --enable-release
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 a BSD-compatible install... /usr/bin/install -c
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 ISO C89... none needed
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking for nasm... no
configure: error: You need NASM installed to compile ZSNES
I have no understanding of "NASM" and after searching for bit and to no avail I ask you guys, what do I do?
badinsults
"Your thread will be crushed."
Posts: 1236
Joined: Wed Jul 28, 2004 1:49 am
Location: Not in Winnipeg
Contact:

Post by badinsults »

It means just that, you need NASM to compile. Install NASM, and it should work.
<pagefault> i'd break up with my wife if she said FF8 was awesome
mangel

Post by mangel »

What is NASM? Where can I get it? Also, how do you install it?
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Look up NASM in your package manager.

Or if you're not afraid of a terminal, as root:
apt-get install nasm

In Ubuntu, prefix that with sudo.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
safaribans
Rookie
Posts: 15
Joined: Mon Jan 09, 2006 2:22 pm

Post by safaribans »

Quick question, why not

Code: Select all

sudo apt-get install zsnes
Or use Applications -> Add/Remove if you like the gui.

Why build it, the repos have the latest version with patches.[/code]
And behind me is
the Whole Hole
It consumes
anything.
--Yomi (Terranigma)
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

safaribans wrote: Why build it, the repos have the latest version with patches.
Hahahahaha Ha.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
adventure_of_link
Locksmith of Hyrule
Posts: 3634
Joined: Sun Aug 08, 2004 7:49 am
Location: 255.255.255.255
Contact:

Post by adventure_of_link »

Nach wrote:
safaribans wrote: Why build it, the repos have the latest version with patches.
Hahahahaha Ha.
Yeah really, since we all know what happened when Gentoo packaged ZSNES.. :( oh god the HORROR.. the HORROR :cry:
<Nach> so why don't the two of you get your own room and leave us alone with this stupidity of yours?
NSRT here.
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

Nach wrote:
safaribans wrote: Why build it, the repos have the latest version with patches.
Hahahahaha Ha.
You forgot the

Nach wrote: NO


hahahahahahaha
And also the
Soul Harvester wrote:
around that.
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
safaribans
Rookie
Posts: 15
Joined: Mon Jan 09, 2006 2:22 pm

Post by safaribans »

Nach wrote:
safaribans wrote: Why build it, the repos have the latest version with patches.
Hahahahaha Ha.
This isn't the latest (1.51b and all that?)
https://lists.ubuntu.com/archives/jaunt ... 06195.html

To help the op with compilation

Code: Select all

sudo apt-get install build-essential
sudo apt-get build-dep zsnes
That will get most of what one needs for compiling and the dependencies (what package has listed as prerequisite anyway) needed to build zsnes.

If any are still missing, i.e. you didn't have nasm, look for the package nasm. The error messages are actually helpful.

Rather than just make:

if you have a dual core,

Code: Select all

make -j3
quad core

Code: Select all

make -j5
Definitely still pray after running make, this will try to compile parts in parallel and hopefully speed things up :)

EDIT: I just compiled it under ubuntu 9.04, with --enable-libao --enable-release --disable-debugger, however upon running:

Code: Select all

*** buffer overflow detected ***: zsnes terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7c71da8]
/lib/tls/i686/cmov/libc.so.6[0xb7c6feb0]
zsnes[0x805a852]
So I'm going with my own advice and using the one in the repos...
And behind me is
the Whole Hole
It consumes
anything.
--Yomi (Terranigma)
Post Reply