LinuxQuestions.org
Help answer threads with 0 replies.
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 01-10-2006, 09:42 PM   #1
kahlil88
Member
 
Registered: May 2005
Location: Mendocino, CA
Distribution: Arch Linux
Posts: 173

Rep: Reputation: 30
Question Can't install ZSNES 1.42


I've been trying to install ZSNES 1.42 under SuSE 10, and after downloading various dependencies (SDL, NASM, ZLib...) I still can't get it to install. Here is the output:
Quote:
# sh ./autogen.sh && gmake && gmake install
Generating build information using aclocal and autoconf...
acinclude.m4:10: warning: underquoted definition of AM_PATH_ZLIB
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/a...ending-aclocal
acinclude.m4:121: warning: underquoted definition of AM_PATH_LIBPNG
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
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 ANSI C... 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 a BSD-compatible install... /usr/bin/install -c
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking for zlib - version >= 1.1.0... yes
checking for libpng - version >= 1.2.0... yes
checking how to run the C preprocessor... gcc -E
checking for X... no
checking for glGetError in -lGL... yes
checking for OpenGL... yes
checking if you want gdb friendly executable... no
checking which processor class to optimize for... 686
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether sys/types.h defines makedev... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged


ZSNES v1.42

SDL support Version 1.2.9
NASM support NASM version 0.98.39 compiled on Dec 31 2005
ZLib support Version 1.2.3
PNG support (png screenshots) Yes, version 1.2.8
OpenGL support Yes

The binary will be installed in /usr/local/bin

Configure complete, now type 'make' and pray.

gcc -pipe -I. -Wall -I/usr/local/include -I/usr/include -D__LINUX__ -I/usr/include/SDL -D_REENTRANT -D__OPENGL__ -O3 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -s -march=pentiumpro -o chips/dsp1emu.o -c chips/dsp1emu.c
In file included from chips/dsp1emu.c:27:
chips/../gblhdr.h:85:20: error: GL/gl.h: No such file or directory
gmake: *** [chips/dsp1emu.o] Error 1

Last edited by kahlil88; 01-10-2006 at 09:46 PM.
 
Old 01-11-2006, 03:01 AM   #2
ille.pugil42
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 151

Rep: Reputation: 30
well it sounds like the compiler is attempting to compile sound (dsp1emu.c) and is getting caught up in the gl.h file -- apparently having problems with OpenGL. I'd check to make sure that GL is installed and working properly (can you run 'glxgears' ?)

Also, you can attempt to use snes9x instead -- it actually comes precomiled (which may or may not be a good thing)
 
Old 01-11-2006, 06:04 PM   #3
kahlil88
Member
 
Registered: May 2005
Location: Mendocino, CA
Distribution: Arch Linux
Posts: 173

Original Poster
Rep: Reputation: 30
OpenGL you say? I've been having some problems installing my video card (ATI Radeon 9250). Could that be part of the issue? I ran 'glxgears' and averaged 144 FPS.
 
Old 01-11-2006, 09:32 PM   #4
ille.pugil42
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 151

Rep: Reputation: 30
okay, so the FPS in glxgears is not necessarily a benchmark, but can show if acceleration is working or not... Check out this webpage for some examples:

http://ubuntuforums.org/showthread.php?t=39349


and the only card that was close to yours was a GeForce2 MX -- much older hardware. So I'd imagine that GL isn't working all the way, or any at all.
 
Old 01-11-2006, 09:36 PM   #5
ille.pugil42
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 151

Rep: Reputation: 30
Also, on my older test system (Cel 466mhz, 256MB RAM, ATI Rage video) without GL accelaration (in fact I get GL errors even when running glxgears) - I can average 90+ fps
 
  


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
Zsnes dudeman41465 Linux - Software 3 09-30-2005 02:13 AM
How do you install snes9x or ZSNES ? Kylesun Linux - Software 14 07-12-2004 02:44 PM
Trying to install Zsnes version 1.337 Mitsurugi Linux - Software 0 04-06-2004 06:30 PM
Zsnes! ShadowMog Linux - Software 1 10-18-2003 11:09 AM
ZSNES Help Scotty2435 Linux - General 18 09-28-2002 05:41 PM

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

All times are GMT -5. The time now is 08:01 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