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.
what if you reemerge libsdl ? (make sure you are using 1.2.5)
also, please include config.log from the build dir
And please post the output of emerge info as requested in the bug submission form. Thanks.
I can't reproduce this so I'm closing it. Angel - go ahead and reopen if you still have a problem.
time to closer 'er out
ayup, see ya
closing again.
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"
your bug is completely unrelated to this one ... it should also be fixed in 1.40
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.