Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
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.
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.
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:
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 ^^
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.
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:
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
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
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.
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:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.