Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11738 - Emerge ZSnes Fails with SDL not Found error
Summary: Emerge ZSnes Fails with SDL not Found error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-07 14:26 UTC by Angel Ortiz
Modified: 2005-01-14 09:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log (config.log,3.57 KB, text/plain)
2005-01-14 08:23 UTC, Boris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Angel Ortiz 2002-12-07 14:26:36 UTC
When trying to emerge zsnes I received the following error:

checking for SDL - version >= 1.2.0... no
*** Could not run SDL test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means SDL was incorrectly installed
*** or that you have moved SDL since it was installed. In the latter case, you
*** may want to edit the sdl-config script: /usr/bin/sdl-config
configure: error: SDL >= 1.2.0 is required

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 22, Exitcode 1
!!! (no error message)

I have SDL installed: $ qpkg -I -v sdl
media-libs/libsdl-1.2.4.20020601 *
media-libs/sdl-mixer-1.2.4 *
media-libs/sdl-gfx-2.0.3 *
media-libs/sdl-image-1.2.2 *

After searching around the net and bugging frinds I found a solution that let me
install the package.  What I did as a workaround was

1.  cd /usr/portage/app-emulation/zsnes 
2.  ebuild zsnes-1.36.ebuild unpack
3.  cp /usr/include/SDL/* /var/tmp/portage/zsnes-1.36/work/zsnes-1.36/src
4.  ebuild zsnes-1.36.ebuild merge

Before doing that I tried installing by hand to get the config.log to see why it
was failing.  Here is a snippet from those logs related to sdl:

configure:1526: gcc -o conftest -pipe -I. -Wall -D__LINUX__ -I
-I/usr/include/SDL -D_REENTRANT   -L/usr/X11R6/lib conftest.c  -L/usr/lib
-Wl,-rpath,/usr/lib -lSDL -lpthread 1>&5
configure:1514:17: SDL.h: No such file or directory 

I hope that helps to ferret out the problem.  I apologize if this is a dupe.  I
searched for zsnes errors and found only bugs about unzip.
Comment 1 SpanKY gentoo-dev 2003-01-21 23:49:32 UTC
what if you reemerge libsdl ? (make sure you are using 1.2.5) 
Comment 2 SpanKY gentoo-dev 2003-03-03 02:37:33 UTC
also, please include config.log from the build dir
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2003-07-08 18:45:28 UTC
And please post the output of emerge info as requested in the bug submission
form.  Thanks.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2003-07-09 17:47:23 UTC
I can't reproduce this so I'm closing it.

Angel - go ahead and reopen if you still have a problem.
Comment 5 SpanKY gentoo-dev 2003-08-03 19:54:10 UTC
time to closer 'er out
Comment 6 SpanKY gentoo-dev 2003-08-03 19:54:24 UTC
ayup, see ya
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2003-09-25 12:36:55 UTC
closing again.
Comment 8 Boris 2005-01-14 08:23:55 UTC
Created attachment 48467 [details]
config.log

I can reproduce this (see attached config.log), but I can't reopen the bug.
Here's my emerge info:

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4,
glibc-2.3.4.20040808-r1, 2.6.10-ck1 i686)
=================================================================
System uname: 2.6.10-ck1 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -O2 -pipe
-fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/bin/viewurl-opera.sh /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -O2 -pipe
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks noinfo sandbox sfperms strict suidctl userpriv
usersandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.oregonstate.edu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow jpeg mmx oggvorbis png sse ssl video_cards_nvidia linguas_de"
Comment 9 SpanKY gentoo-dev 2005-01-14 08:51:26 UTC
your bug is completely unrelated to this one ... it should also be fixed in 1.40
Comment 10 Boris 2005-01-14 09:24:47 UTC
Sorry for bothering, the ouput looked similar and it was the only similar I found here.
So I'll wait till zsnes gets -* removed.

Thanks for your quick respond.