Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
here I did ./configure then no errors reported then make gives error.Can anybody suggest
linux-goap:/home/lxuser/tuxnes-0.75 # ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... missing
checking for working automake... found
checking for working autoheader... missing
checking for working makeinfo... missing
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc -O ) works... yes
checking whether the C compiler (gcc -O ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking for features.h... yes
checking for fcntl.h... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for linux/joystick.h... yes
checking for linux/soundcard.h... yes
checking for sys/soundcard.h... yes
checking for ppm.h... no
checking for snss.h... no
checking for X11/xpm.h... yes
checking for X11/vroot.h... no
checking for sys/ipc.h... yes
checking for sys/shm.h... yes
checking for X11/extensions/XShm.h... yes
checking for X11/extensions/Xext.h... yes
checking for XpmWriteFileFromImage in -lXpm... yes
checking for XMissingExtension in -lXext... yes
checking for gzgetc in -lz... yes
checking for pbm_writepbm in -lpbm... no
checking for pgm_writepgm in -lpgm... no
checking for ppm_writeppm in -lppm... no
checking for sin in -lm... yes
checking for openSnssFile in -lsnss... no
checking for ggi/gii.h... no
checking for ggi/ggi.h... no
checking for ggiInit in -lggi... no
checking for giiInit in -lgii... no
checking for Wlib.h... no
checking for w_init in -lW... no
checking whether byte ordering is bigendian... no
checking for working const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking for size_t... yes
checking for 8-bit clean memcmp... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking return type of signal handlers... void
checking for gettimeofday... yes
checking for strtod... yes
checking for strtoul... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
linux-goap:/home/lxuser/tuxnes-0.75 # make
gcc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -Wall -D__USE_BSD -c x86.S
gcc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -Wall -D__USE_BSD -c d6502.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -Wall -D__USE_BSD -c dynrec.c
dynrec.c: In function ‘translate’:
dynrec.c:66: warning: pointer targets in assignment differ in signedness
dynrec.c:76: warning: pointer targets in assignment differ in signedness
gcc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -Wall -D__USE_BSD -c emu.c
emu.c: In function ‘loadpal’:
emu.c:893: error: expected ‘)’ before string constant
emu.c:915: error: expected ‘)’ before string constant
emu.c:927: error: expected ‘)’ before string constant
emu.c: In function ‘main’:
emu.c:1605: error: expected ‘)’ before string constant
make: *** [emu.o] Error 1
linux-goap:/home/lxuser/tuxnes-0.75 #
Has anybody successfully installed tuxnes from source?
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,484
Rep:
There are two alternatives : use the binary tuxnes-0.74-i586-pc-linux-gnu
> > tuxnes-0.74-i586-pc-linux-gnu.gz from http://tuxnes.sourceforge.net/download.php
'gunzip' <package>' , 'chmod +x tuxnes-0.74-i586-pc-linux-gnu'.
Or compile 'tuxnes-0.75/' with gcc-2.95 .:
cpp-2.95-2.95.4-23.i386.rpm, gcc-2.95-2.95.4-23.i386.rpm
# 'alien -r <package> <package>' will make the rpm's
'alien-8.72' is the one to be preferred.
.....
'cd tuxnes-0.75/' .. './configure' .. 'make CC=gcc-2.95'
.....
I have downloaded the binary of version 0.74 of (160,117 bytes) and will make unzipped file executable then if any problem occurs I will report in this thread.
I got the binary & in gnome-terminal changed to folder where file was extracted.Then
~>./tuxnes-0.74-i586-pc-linux-gnu <GameFile>
caused that file to be loaded & playing begins
BUT
screen size is small even after resizing window or giving option of -G=800*600 on command line.
....thanks for the link to the binary. This is frustrating.
The binary does launch, but only from command line and only in a little window. Playing with the various options gives only a big window around the little window. This is true for the G and E options.
Now, I've tried to grab gtuxnes but can't seem to compile...
Thanks, that was a trick for compiling tuxnes. However, I do have the .74 version running. It is just very small. I am trying to compile the gtuxnes .75 version and get an error message. (Oh, I have GCC 4.2-24 installed.)
I was then trying to install the gtuxnes version. I got an error message there and realized I didn't have teh GTK libaries installed. I did have GTK2 libraries.
I then ran make again and get a bunch of error messages, but do get a working gtuxnes binary.
Code:
kai@xwing:~/downloads/gtuxnes-0.75/gtuxnes-0.75> make
gcc `gtk-config --cflags` -c gtuxnes.c -o gtuxnes.o
gtuxnes.c: In function ‘run_tuxnes’:
gtuxnes.c:150: warning: incompatible implicit declaration of built-in function ‘strlen’
gtuxnes.c:157: warning: incompatible implicit declaration of built-in function ‘strcpy’
gtuxnes.c:158: warning: incompatible implicit declaration of built-in function ‘strcat’
gtuxnes.c: In function ‘main’:
gtuxnes.c:585: warning: incompatible implicit declaration of built-in function ‘strcpy’
gtuxnes.c:586: warning: incompatible implicit declaration of built-in function ‘strcat’
gcc `gtk-config --cflags` -c general.c -o general.o
gcc `gtk-config --cflags` -c sound.c -o sound.o
sound.c: In function ‘translate_sound_combo’:
sound.c:43: warning: incompatible implicit declaration of built-in function ‘strlen’
gcc `gtk-config --cflags` -c files.c -o files.o
gcc `gtk-config --cflags` -c video.c -o video.o
gcc `gtk-config --cflags` -c input.c -o input.o
gcc `gtk-config --cflags` -c panels.c -o panels.o
gcc `gtk-config --cflags` -c debug.c -o debug.o
gcc `gtk-config --cflags` -c config.c -o config.o
config.c: In function ‘read_config_file’:
config.c:60: warning: incompatible implicit declaration of built-in function ‘strlen’
config.c:62: warning: incompatible implicit declaration of built-in function ‘strncpy’
gcc -o gtuxnes gtuxnes.o general.o sound.o files.o video.o input.o\
panels.o debug.o config.o `gtk-config --cflags --libs`
kai@xwing:~/downloads/gtuxnes-0.75/gtuxnes-0.75>
Thinking that - since I've had NESTicle working on my wife's Win2K system for some years I tried running that in both Crossover Office - killed the X session - and VMWare.
I found the answer. I had also tried nestopia but never could get it to build. However, someone on the openSUSE mailing list suggested I use the one-click-install service - http://software.opensuse.org/search?...p=1&q=nestopia - which did the trick.
I now have nestopia running with all the time-wasters - erm, games - that I need.
TO ALL READERS
Here is what I have learnt from this thread
Code:
(1)'./configure' followed by 'make CC=gcc-2.95' even 4.2(which is my gcc version) instead of 2.95 does not help.
Go for the compiled binary at http://tuxnes.sourceforge.net/packag...c-linux-gnu.gz.
(2)try option --enlarge=2 to get good view of game window.
(3)here is list of keyboard controls
Arrows Move (P1)
A,C or Space A button (P1)
Z, X or D B button (P1)
Add Select button (P1)
Enter Start button (P1)
BackSpace Reset game
H, J, K, L Move (P2)
B A button (P2)
V B button (P2)
F Select button (P2)
G Start button (P2)
[/{ Insert Coin (Left)
]/} Insert Coin (Right)
If this helps you than thank me by pressing thumbs up button(in the same way i have thanked posts found useful).Thank You.
Last edited by sumeet inani; 11-10-2009 at 02:08 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.