LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   FakeNES won't install (http://www.linuxquestions.org/questions/linux-software-2/fakenes-wont-install-105363/)

GT_Onizuka 10-17-2003 08:13 PM

FakeNES won't install
 
I downloaded an older version of FakeNES on accident and installed it. I was able to run it sortof okay but whenever I closed it, the program would have a segmentation fault and all my settings would get erased. When i found out i had an old version I downloaded the latest 0.3.0. I downloaded it and everything and then did ./configure and all went well. It then said do "make install" rather then make && make install, so i typed make install and this is the error it gives me.

Quote:

[root@localhost fakenes-0.3.0]# make install
cd src && /usr/bin/make install
make[1]: Entering directory `/home/ynadji/fakenes-0.3.0/src'
gcc -c gui.c -o gui.o `allegro-config --cflags` -Iinclude/ -Isupport/ -g -O2 -DUSE_ZLIB -DUSE_HAWKNL -DLSB_FIRST -DPOSIX -DNO_C_CORE
gui.c: In function `update_menus':
gui.c:721: `GFX_SVGALIB' undeclared (first use in this function)
gui.c:721: (Each undeclared identifier is reported only once
gui.c:721: for each function it appears in.)
gui.c: In function `options_video_driver_linux_menu_svgalib':
gui.c:3243: `GFX_SVGALIB' undeclared (first use in this function)
make[1]: *** [gui.o] Error 1
make[1]: Leaving directory `/home/ynadji/fakenes-0.3.0/src'
make: *** [install] Error 2
the only thing i can guess is it can't find allegro (the gaming program library FakeNES uses) i KNOW i installed it (i downloaded the newest tar.gz file the .rpm's are too old to work with FakeNES according to the FakeNES FAQ) and there wasn't a single problem with the installation of allegro. Could it be that FakeNES can't find allegro or something like that? I'm really confused and I'm sick of not being able to play NES games since the switch from Windoze (although my other emus work fine, but I need my Double Dragon 2 :D)

GT_Onizuka 10-18-2003 11:00 AM

anyone?

wuck 10-18-2003 11:03 AM

Looks like either some bad coding, or maybe the absence of svgalib?
I like the idea of a NES emu, /me go get file.

GT_Onizuka 10-18-2003 11:30 AM

gah still doesn't work after installing svgalib. also i tried 0.2.0 and it has the same error 0.1.5 did, i keep getting segfaults at the end and it doesn't save my preferences and i need to change a lot everytime since my sound card blows and i wanna play with mah joysticks ^_^

Micro420 10-18-2003 12:12 PM

I'm a linux newbie and I downloaded the tar.gz file. I extracted it then I sat there for a couple minutes and deleted the folder.

I don't know how to compile. lol

GT_Onizuka 10-18-2003 12:48 PM

Quote:

Originally posted by Micro420
I'm a linux newbie and I downloaded the tar.gz file. I extracted it then I sat there for a couple minutes and deleted the folder.

I don't know how to compile. lol

well i can help you with that. after you extract the .tar.gz file, you will get a folder with the same name (minus the .tar.gz part that is). bust out a terminal and cd into that directory. for some reason, the people who made this prog didn't make the configure file with executable rights so you hafta do that yourself, no worries just do this.

$ chmod a+x configure

that makes it executable, now:

$ ./configure

this will configure it to your system, then (for this app most have you do 'make' first) do:

$ su
(to become root)
then:

$ make install

and that should do it for ya! tell me if it works for you, i can't get mine to install :P


All times are GMT -5. The time now is 08:55 PM.