LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-23-2003, 06:47 PM   #1
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 31
problem installing ZSNES


when i do "gmake" to make ZSNES it gives me this error

Error Message

any clues as to whats up?
 
Old 08-24-2003, 12:22 PM   #2
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Original Poster
Rep: Reputation: 31
i feel bad having to do this... *bump*
 
Old 08-24-2003, 12:47 PM   #3
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
I don't see anything wrong right away. Make sure you have zlib, sdl, libpng and nasm installed. I could only get it to work with Redhat 9.0 and apt-get. I've just apt-get for everything:

apt-get install zlib
apt-get install libpng
apt-get install nasm

And then, when I run ./configure && gmake && gmake install, it installed
 
Old 08-24-2003, 01:01 PM   #4
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
on linux you should use make, not gmake. i had a problem installing zsnes but it turned out to be a problem with my libpng, after i patched libpng it went ok just like any other program. if you cant compile it then as Megaman X suggests just get the prepackaged binaries.
 
Old 08-24-2003, 03:02 PM   #5
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Original Poster
Rep: Reputation: 31
im a little confused about the who "apt-get" thing you were reffering to MMX but i figured out my problem (i was missing some of the things i need ^^; and all is well and i can finally play my snes games when i boot to linux *is happy* ^_^. but if you could explain the apt-get thing to me that would be cool, thanks everyone

Last edited by GT_Onizuka; 08-24-2003 at 03:03 PM.
 
Old 08-24-2003, 03:22 PM   #6
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
It'll be my pleasure explaining it for you GT_Onizuka .

apt-get and synaptic, if I'm not mistaken, where tools that appeared first in Debian Linux. Other distros are already using it, such as the big Redhat and the small, but good, Conectiva Linux. It works like this: You install programs with one single command, apt-ge/synaptic will connect to internet, download the package, download the dependencies and install it for you. Let's suppose you want to install mplayer from rpms.

You will need to download codecs, install rpm's, font's rpm and god knows that at the end, you will get an error with some sort of "missing packages X"... With apt-get, all you have to do is to type:

apt-get install mplayer

It will connect to internet, download all packages, install it all quickly and painless for you. Not only that, with apt-get you are able to also upgrade packages:

apt-get upgrade <package name>

Or even your distribution:

apt-get dist-upgrade

And indeed, it selfs:

apt-get update

apt-get upgrade

Synaptic is a graphical interface for apt-get. It does the same thing, but you are able to "see" packages you've installed and remove/upgrade them or install new ones. It's great to when you are bored and want see/try a program . And indeed, keep your distro up-to-date . Give it a try and you will surely feel drunk with apt-get and synaptic's power .

Almost all distros has actually a similar tool. Mandrake has urpmi, gentoo has emerge, sorcerer has cast, debian, knoppix, redhat, conectiva sticks with apt-get and etc. I use RedHat and Slackware myself. RedHat and Apt-get/synaptic really is a powerful combo. If you are on Redhat too, get it here:

http://freshrpms.net/

The install is usually smooth .

Good luck GT_Onizuka, I'm glad the emulator is working now. Which package was missing?

Best Regards...

Last edited by Mega Man X; 09-29-2003 at 03:54 AM.
 
Old 08-24-2003, 08:27 PM   #7
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Original Poster
Rep: Reputation: 31
i was missing nasm... >_< i swear to god i downloaded. but then again it was at like... 4 am so i might have been a little out of it anyways this apt-get thing sounds absolutely fabulous, i downloaded it but im a little confused so i ask for your help again ^^;. how exactly do i know what can/can't be installed using apt-get? i read that doing apt-get update would generate a list of some sort, im hoping you can help me decipher it ^^

Get:1 http://ayo.freshrpms.net redhat/9/i386 release [1170B]
Fetched 1170B in 0s (1874B/s)
Get:1 http://ayo.freshrpms.net redhat/9/i386/os pkglist [1357kB]
Get:2 http://ayo.freshrpms.net redhat/9/i386/os release [140B]
Get:3 http://ayo.freshrpms.net redhat/9/i386/updates pkglist [354kB]
Get:4 http://ayo.freshrpms.net redhat/9/i386/updates release [153B]
Get:5 http://ayo.freshrpms.net redhat/9/i386/freshrpms pkglist [146kB]
Get:6 http://ayo.freshrpms.net redhat/9/i386/freshrpms release [157B]
Fetched 1857kB in 13s (141kB/s)
Reading Package Lists... Done
Building Dependency Tree... Done


anyway MegaMan X you have helped me out so much, im glad there are nice people like you on this board who can make my trying-to-learn-Linux experience a little less brain busting.
 
Old 08-25-2003, 12:41 AM   #8
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Hi again GT_Onizuka

yeah, I've been there too. Downloading and installing Linux stuff till 4h00am hehe . And school homework at the same time, which justifies my awful grades .

I'm also not quite sure where to get a full list with packages, but here you can see some repositories:

http://freshrpms.net/apt/repositories.html (few repositories sites/ftps)

http://apt.au.freshrpms.net/ (one of the repositories sites for rpms downloads).

But the very best way is with synaptic. If you install and run synaptic though (apt-get install synaptic) you can see all the packages you have installed, remove or even upgrade them. There, you can also see the packages that you _don't_ have installed, or ratter saying, that you can download and install, so I consider it as being some sort of list as well .

I'd say that, not every package is available in apt-get's repositories, nor all the stuff are brand new releases, but it's without a doubt, a great tool

And it's my pleasure helping you out. I've lost the count of how many times peoples have helped me in here. All my questions have been answered so far, unless it's something quite odd that I've done to my systems... ghehe
 
Old 09-01-2003, 04:05 PM   #9
Morf
LQ Newbie
 
Registered: Sep 2003
Distribution: RH 9
Posts: 3

Rep: Reputation: 0
Exclamation ZSNES and Linux driving me to distraction

I have only recently decided to plunge in to Linux and am just "playing" around at the moment, or at least it was playing till I started going mad.

Am trying to install ZSNES 1.36 on my RH 9 dist and am having major headaches.

I d/l the file and run the ./configure with no aparant problems but when I type make, I get the following problem:

make: w-orphan-labels: Command not found
make: [video/mode7ext.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o video/mv16tms.o video/mv16tms.asm
make: w-orphan-labels: Command not found
make: [video/mv16tms.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o video/newg162.o video/newg162.asm
make: w-orphan-labels: Command not found
make: [video/newg162.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o video/newgfx16.o video/newgfx16.asm
make: w-orphan-labels: Command not found

and more like

c: dos/vesa12.o: No such file or directory
gcc: gui/gui.o: No such file or directory
gcc: gui/menu.o: No such file or directory
gcc: video/makev16b.o: No such file or directory
gcc: video/makev16t.o: No such file or directory
gcc: video/makevid.o: No such file or directory
gcc: video/mode716.o: No such file or directory
gcc: video/mode716b.o: No such file or directory
gcc: video/mode716d.o: No such file or directory
gcc: video/mode716e.o: No such file or directory
gcc: video/mode716t.o: No such file or directory
gcc: video/mode7.o: No such file or directory
gcc: video/mode7ext.o: No such file or directory
gcc: video/mv16tms.o: No such file or directory

Please help I'm at the end of my teather.
 
Old 09-03-2003, 03:56 PM   #10
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Hi Morf!!!

Welcome to LinuxQuestions.org!. Apparently, into zsnes documentantion it stands that to compile it, you've to use:

./configure && gmake && gmake install

As root and into zsnes' source (/src) directory after uncompressing it. Again, use gmake instead of make and see if helps. Make sure you have zlib, sdl, libpng and nasm installed...

Here is the official installation guide for Linux from zsnes developers. Good luck!

Linux port:
I assume the standard development tools are installed (gcc, make, ...)
You'll also need :
- SDL (Simple DirectMedia Layer) : check www.libsdl.org to grab SDL 1.2.0 or
later. If you are using rpm packages, don't
forget the -devel package.
- NASM v0.98 : http://www.kernel.org/pub/software/devel/nasm/
the version found on http://nasm.2y.net/ DOES NOT WORK
with zsnes sources. When you type nasm -r, you must get
'NASM version 0.98' and not 'NASM version 0.98.08' if you
have the correct version
- zlib : http://www.info-zip.org/pub/infozip/zlib/
it is probably already installed on your
system, maybe you are just missing the
development headers. Check in the
packages available with your distribution
or go to the page above
- libpng : http://www.libpng.org/
You might also need libpng, ZSNES will compile without
PNG support but I have found doing so to make ZSNES
unstable for some weird reason. If you don't have
libpng, either get it and install it or pass the
--without-png option to the 'configure' script.

Then to build the executable, go to the src directory and type:
./configure && gmake && gmake install

Note: you require root to install zsnes to the the default (/usr/local/*)
directory

Also Note: libpng (optional) needs to be recent, or zsnes will not use it

You may also want to compress the zsnes executable with upx
(http://upx.sourceforge.net), it will divide its size by 10.

Last edited by Mega Man X; 09-03-2003 at 03:57 PM.
 
Old 09-29-2003, 03:47 AM   #11
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Lightbulb Redhat 9.0 +apt-get +zsnes

Hi!!!

Just in case somebody check this thread for information, I would like to add here that I've found an apt-get repository for Redhat 9.0 with Zsnes-1.36 package. I've recently switched to Jamd and it won't compile zsnes as I did with Redhat (yeah, I've installed gcc too and all dependencies but Jamd simply is not that a distro for compiling stuff...ghehe). To use this apt-get repository, go into:

/etc/apt/

and edit a file called source.list or source.list.rpmsave, adding the following line:

http://newrpms.sunsite.dk/apt/redhat/en/i386/9.0/SRPMS.newrpms/zsnes-1.36-2.src.rpm

After that, update apt-get and install zsnes, like this

apt-get update
apt-get install zsnes

That's all you need to do for a painless install of a great emulator Viva apt-get!!!

Good luck!

Last edited by Mega Man X; 09-29-2003 at 03:49 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing zsnes. The_Messiah Linux - Software 3 04-02-2005 08:59 PM
problem installing zsnes tehnick Linux - Software 0 08-06-2004 11:43 PM
Wierd Problem With ZSNES jlacroix Fedora 0 06-01-2004 10:05 PM
Installing ZSNES and a libSDL problem.! HELP! toolfan Linux - Software 2 05-24-2004 05:03 AM
Yet another zsnes make problem...in slack 9.1...redefinition probs cbreeze34 Linux - Software 0 11-29-2003 09:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration