Installing problem (new problems same guy)

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

Moderator: ZSNES Mods

Post Reply
PouKii
New Member
Posts: 5
Joined: Thu Jan 17, 2008 8:49 pm

Installing problem (new problems same guy)

Post by PouKii »

hello guys, first of all i have to tell that i'm new in linux so you have to be patient with me.

I have fedora core 8 in a athlon 64 3000+ 1.8 Ghz, and 512 ram ddr (i use to have 1 gb, but the other memory just fucked up!).

I have been reading about how to install the zsnes and find out that i need to install some "things" (fyles? programs? aplications? dunno... just install them). Like:
glibc-devel.i386
SDL-devel.i386
zlib-devel.i386
ncurses-devel.i386
mesa-libGL-devel.i386
libpng-devel.i386
libao.i386
libao-devel.i386

i dunno what are they or what did they do... but i installed all of them.
Then i:
* Download the latest source release of ZSNES from [ZSNES.com].

* After unpacking, navigate to the src directory and run the following

commands:

./configure --enable-release
but this happened:
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-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++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for nasm... nasm
checking for sdl-config... no
checking for SDL - version >= 1.2.0... no
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
configure: error: SDL >= 1.2.0 is required

It says that SDL 1.2 is required. I think <<i need to install that shit>> so i yum installed that and oh oh:
Transaction Check Error:

package SDL-1.2.13-1.x86_64 (which is newer than SDL-1.2.12-5.fc8.i386) is already installed

what can i do? i insist in my noobness in linux and fedora, so i there is anything else what i need please tell me.

Thanks for your answers!
Last edited by PouKii on Fri Jan 18, 2008 12:38 am, edited 2 times in total.
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

1) You should be strictly using 32-bit libs for compiling with ZSNES.

2) If you are using a package manager, it should be easy enough to add the require libs/ (so it goes into the proper directories) and/or remove libs (that are for x86-64 apps) so you can compile ZSNES with.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
PouKii
New Member
Posts: 5
Joined: Thu Jan 17, 2008 8:49 pm

Post by PouKii »

Ok guys i've been trying hard for hours (for all day) and now i'm getting this message:

/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpng.so when searching for -lpng
/usr/bin/ld: skipping incompatible /usr/lib/libpng.so when searching for -lpng
/usr/bin/ld: skipping incompatible /usr/lib/libpng.so when searching for -lpng
/usr/bin/ld: skipping incompatible /usr/lib/libncurses.so when searching for -lncurses
/usr/bin/ld: skipping incompatible /usr/lib/libncurses.so when searching for -lncurses
/usr/bin/ld: skipping incompatible /usr/lib/libncurses.so when searching for -lncurses
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/ld: i386 architecture of input file `endmem.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `init.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `vcache.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `ztime.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `chips/c4proc.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `chips/dsp1proc.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `chips/dsp2proc.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `chips/dsp3proc.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `chips/dsp4proc.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `chips/fxemu2.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `chips/fxemu2b.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `chips/fxemu2c.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `chips/fxtable.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `chips/obc1proc.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `chips/sa1proc.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `chips/sa1regs.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `chips/sfxproc.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `chips/st10proc.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `chips/7110proc.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `chips/st11proc.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `cpu/dma.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `cpu/dsp.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `cpu/dspproc.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `cpu/execute.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `cpu/irq.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `cpu/memory.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `cpu/spc700.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `cpu/stable.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `cpu/table.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `cpu/tablec.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `debugasm.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gui/gui.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gui/menu.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `video/makev16b.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `video/makev16t.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `video/makevid.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `video/mode716.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `video/mode716b.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `video/mode716d.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `video/mode716e.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `video/mode716t.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `video/mode7.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `video/mode7ext.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `video/mv16tms.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `video/m716text.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `video/newg162.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `video/newgfx.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `video/newgfx16.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `video/newgfx2.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `video/procvid.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `video/sw_draw.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `video/2xsaiw.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `video/hq2x16.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `video/hq2x32.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `video/hq3x32.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `video/hq4x16.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `video/hq4x32.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `video/copyvwin.o' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `linux/sdlintrf.o' is incompatible with i386:x86-64 output
collect2: ld devolvió el estado de salida 1
make: *** [main] Error 1

omg please somebody help me :S Do i have to disable all the x86_64 files i downloaded and make them in i386?... the thing is that i have an AMD Athlon 64, there is no problem with it?
NFITC1
Rookie
Posts: 36
Joined: Wed Jun 21, 2006 4:58 pm
Location: 127.0.0.1
Contact:

Post by NFITC1 »

IF all dependent packages are installed correctly (and it looks like you got through configure just fine) and you set your flags correctly it should work. Since it's looking in /usr/lib and not /usr/lib32 I would think not. Try getting the ia32-libs package for your distro. That should enable you to install 32-bit apps. Your flags should be set like this: (type this in the console BEFORE running ./configure)

Code: Select all

export LDFLAGS="-L/usr/lib32"
export CFLAGS="-m32"
That will tell the compiler to look in /usr/lib32 for libraries and compile it as a 32-bit app. That's what it looks like your problem is.
PouKii
New Member
Posts: 5
Joined: Thu Jan 17, 2008 8:49 pm

Post by PouKii »

NFITC1: Thanks for the answer. i think its installed now. How can i run it?
i have like 700 roms that i download in windows and use them in the zsnes windows version (in windows XP) are the same fyles or i have to download linux versions of those files?

and again... how to run it?

Thanks for your patience.
NFITC1
Rookie
Posts: 36
Joined: Wed Jun 21, 2006 4:58 pm
Location: 127.0.0.1
Contact:

Post by NFITC1 »

Assuming you did a

Code: Select all

sudo make install
then all you'd have to do is type 'zsnes' in a console and go from there. It'll create a new folder ~/.zsnes/ to keep all your saves in. Then it runs like normal (again, assuming it installed correctly).
PouKii
New Member
Posts: 5
Joined: Thu Jan 17, 2008 8:49 pm

Post by PouKii »

ok, now i'm playing F-zero!

thank you all! you are great ;)
NFITC1
Rookie
Posts: 36
Joined: Wed Jun 21, 2006 4:58 pm
Location: 127.0.0.1
Contact:

Post by NFITC1 »

Welcome. Ironically, I can't get mine to work and I had the exact same problem. :(
What did you do to get SDL installed?
PouKii
New Member
Posts: 5
Joined: Thu Jan 17, 2008 8:49 pm

Post by PouKii »

ah look... i just went to the add and remove software. search for "SDL" and uninstall all the x86_64 SDL things (like SDL 1.2.dunnowa-x86_64. and install the i836 versions.
I make that and works perfectly, and following the steps you tell me.

Hope it works for you!

(btw i have all the other packages in x86_64, so wtf? i dunno).


greetings
Post Reply