The frozen-bubble-1.0.0.r2 can't find SDL_mixer, even though it is installed.
please post the output of emerge --info when reporting bugs as instructed on the bug submission page.
My emerge info: mikeh@gideon:pts/6:1 files 7.5Kb -> emerge --info Portage 2.0.49-r7 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-gentoo-r5) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Pentium II (Deschutes) ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=i686 -O2 -pipe -mmmx -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=i686 -O2 -pipe -mmmx -fomit-frame-pointer" DISTDIR="/usr/local/portage/distfiles" FEATURES="autoaddcvs sandbox buildpkg ccache distcc userpriv usersandbox notitles noclean noauto cvs keeptemp keepwork FEATURES" GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/local/portage/packages" PORTAGE_TMPDIR="/usr/local/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt encode foomaticdb gif jpeg libg++ mad mikmod mmx ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline aalib svga tcltk java guile X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk cdr scanner -arts bonobo cups gtk2 jikes -kde -motif mozilla mpeg -opengl pda plotutils -qt -qtmt tetex -alsa usb"
Your features are probably wrong. I don't know if this affects your build of frozen-bubble, but unless you're a developer you shouldn't have some of the FEATURES set that you do. Take out autoaddcvs userpriv usersandbox noclean noauto cvs keeptemp keepwork and FEATURES from the FEATURES line in make.conf and try it again.
it's ok he has those in his FEATURES ... whatever floats his boat ;) but unless you *really* know what you're doing, keepwork/keeptemp is going to fill up your hard drive space fast ... the fact that you actually have 'FEATURES' in your FEATURES variable is wrong though ;) could you please post output of the failure ? and if it's during the configure stage, post the config.log file ...
Most of the items in my FEATURES were in make.conf by default . . . I did take some out (I'm not a developer anyway). I couldn't find an config.log. Here the output of the build mikeh@gideon:pts/5:297 files 9.3Mb -> sudo emerge frozen-bubble Calculating dependencies ...done! >>> emerge (1 of 1) games-arcade/frozen-bubble-1.0.0-r2 to / >>> md5 src_uri ;-) frozen-bubble-1.0.0.tar.bz2 >>> md5 src_uri ;-) frozen-bubble-client-0.0.3.tar.bz2 >>> md5 src_uri ;-) frozen-bubble-server-0.0.3.tar.bz2 >>> Unpacking source... >>> Unpacking frozen-bubble-1.0.0.tar.bz2 to >>> /usr/local/portage/portage/frozen-bubble-1.0.0-r2/work >>> Unpacking frozen-bubble-client-0.0.3.tar.bz2 to >>> /usr/local/portage/portage/frozen-bubble-1.0.0-r2/work >>> Unpacking frozen-bubble-server-0.0.3.tar.bz2 to >>> /usr/local/portage/portage/frozen-bubble-1.0.0-r2/work >>> Source unpacked. make[1]: Entering directory `/usr/local/portage/portage/frozen-bubble-1.0.0-r2/work/frozen-bubble-1.0.0/c_stuff' test -e Makefile_c || perl Makefile.PL PREFIX=/usr/local/portage/portage/frozen-bubble-1.0.0-r2/image//usr **ERROR**: SDL_mixer is needed (and, by the way, version >= 1.2.2 will be needed) make[1]: *** [fb_c_stuff] Error 2 make[1]: Leaving directory `/usr/local/portage/portage/frozen-bubble-1.0.0-r2/work/frozen-bubble-1.0.0/c_stuff' make: *** [dirs] Error 2 !!! ERROR: games-arcade/frozen-bubble-1.0.0-r2 failed. !!! Function src_compile, Line 35, Exitcode 2 !!! (no error message)
What's the output of `qpkg | grep -i sdl` look like? If you don't have qpkg, you may need to emerge gentoolkit
gideon etc # qpkg | grep -i sdl dev-perl/sdl-perl * games-fps/lsdldoom * media-libs/libsdl * media-libs/sdl-gfx * media-libs/sdl-image * media-libs/sdl-mixer * media-libs/sdl-ttf *
... and `qpkg -l sdl-mixer` ?
mikeh@gideon:pts/6:298 files 9.3Mb -> qpkg -l sdl-mixer media-libs/sdl-mixer-1.2.5-r1 * CONTENTS: /usr /usr/lib /usr/lib/libSDL_mixer.a /usr/lib/libSDL_mixer-1.2.so.0.2.3 /usr/lib/libSDL_mixer-1.2.so.0 -> libSDL_mixer-1.2.so.0.2.3 /usr/lib/libSDL_mixer.la /usr/lib/libSDL_mixer.so -> libSDL_mixer-1.2.so.0.2.3 /usr/share /usr/share/doc /usr/share/doc/sdl-mixer-1.2.5-r1 /usr/share/doc/sdl-mixer-1.2.5-r1/README.gz /usr/share/doc/sdl-mixer-1.2.5-r1/COPYING.gz /usr/share/doc/sdl-mixer-1.2.5-r1/CHANGES.gz /usr/include /usr/include/SDL /usr/include/SDL/SDL_mixer.h
Getting closer: output for `sdl-config --cflags` and `sdl-config --libs` please?
mikeh@gideon:pts/7:298 files 9.3Mb -> sdl-config --cflags --libs -I/usr/include/SDL -D_REENTRANT -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
Try compiling this: #include <SDL/SDL.h> #include <SDL/SDL_mixer.h> int main (int argc, char* argv[]) { ; } like this: gcc -o temctest.o temctest.c -I/usr/include/SDL -D_REENTRANT -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread that's what seems to be failing in Makefile.PL Of course, you could try doing VERBOSE=1 emerge frozen-bubble and posting the output of that as well so we could see what it was trying to compile as well.
mikeh@gideon:pts/6:2 files 20Kb -> cat sdltest.c #include <SDL/SDL.h> #include <SDL/SDL_mixer.h> int main (int argc, char* argv[]) { ; } mikeh@gideon:pts/6:2 files 20Kb -> gcc -o sdltest.o sdltest.c -I/usr/include/SDL -D_REENTRANT -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread mikeh@gideon:pts/6:3 files 20Kb -> l sdltest.* -rw-r--r-- 1 mikeh users 90 2003-10-07 16:32 sdltest.c -rwxr-xr-x 1 mikeh users 6980 2003-10-07 16:33 sdltest.o Here is the verbose output: gideon root # VERBOSE=1 emerge frozen-bubble Calculating dependencies ...done! >>> emerge (1 of 1) games-arcade/frozen-bubble-1.0.0-r2 to / >>> md5 src_uri ;-) frozen-bubble-1.0.0.tar.bz2 >>> md5 src_uri ;-) frozen-bubble-client-0.0.3.tar.bz2 >>> md5 src_uri ;-) frozen-bubble-server-0.0.3.tar.bz2 >>> Unpacking source... >>> Unpacking frozen-bubble-1.0.0.tar.bz2 to /usr/local/portage/portage/frozen-bubble-1.0.0-r2/work >>> Unpacking frozen-bubble-client-0.0.3.tar.bz2 to /usr/local/portage/portage/frozen-bubble-1.0.0-r2/work >>> Unpacking frozen-bubble-server-0.0.3.tar.bz2 to /usr/local/portage/portage/frozen-bubble-1.0.0-r2/work >>> Source unpacked. make[1]: Entering directory `/usr/local/portage/portage/frozen-bubble-1.0.0-r2/work/frozen-bubble-1.0.0/c_stuff' test -e Makefile_c || perl Makefile.PL PREFIX=/usr/local/portage/portage/frozen-bubble-1.0.0-r2/image//usr RUNNING: gcc -o temctest temctest.c -I/usr/include/SDL -D_REENTRANT -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lSDL_mixer **ERROR**: SDL_mixer is needed (and, by the way, version >= 1.2.2 will be needed) make[1]: *** [fb_c_stuff] Error 2 make[1]: Leaving directory `/usr/local/portage/portage/frozen-bubble-1.0.0-r2/work/frozen-bubble-1.0.0/c_stuff' make: *** [dirs] Error 2 !!! ERROR: games-arcade/frozen-bubble-1.0.0-r2 failed. !!! Function src_compile, Line 35, Exitcode 2 !!! (no error message)
please do: emerge `qpkg -nc -f /usr/lib/perl5/site_perl | grep dev-perl` and then try emerging frozen-bubble again
This happens for r3 too and emerge `qpkg -nc -f /usr/lib/perl5/site_perl | grep dev-perl` dosen't seem to do the trick... at least not for me. It fails with the following: >>> Source unpacked. eutils games perl-module Can't load '/usr/lib/perl5/site_perl/5.8.0/i686-linux/auto/SDL_perl/SDL_perl.so' for module SDL_perl: libSDL_gfx.so.0: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.1/i686-linux/DynaLoader.pm line 229. at /usr/lib/perl5/site_perl/5.8.0/i686-linux/SDL.pm line 9 Compilation failed in require at /usr/lib/perl5/site_perl/5.8.0/i686-linux/SDL.pm line 9. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/i686-linux/SDL.pm line 9. Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1. This makes sense, since libSDL_gfx.so.0 isn't on my system... But I have: /usr/lib/libSDL_gfx.la /usr/lib/libSDL_gfx.so /usr/lib/libSDL_gfx.a /usr/lib/libSDL_gfx.so.8.0.0 /usr/lib/libSDL_gfx.so.8 It also seems that it mixes versions (both version 5.8.0 and 5.8.1 is mentioned in the same line) but I don't know if thats a problem??
martin: what if you `emerge sdl-perl frozen-bubble` ? does frozen-bubble work then ?
Nope... (sorry :-) Still the exact same error :-( But if I do a: ln -s /usr/lib/libSDL_gfx.so /usr/lib/libSDL_gfx.so.0 and then try an emerge frozen-bubble it all works!! And the game works well too! So it could seem that it is perls dynamic loader that needs this link...??? So either fixing perls dynamic loader or the SDL ebuild to make the link, should fix the problem.
re-emerging sdl-perl *should* have fixed it ... if you have perl 5.8.1 now, it should have put SDL_perl.so here: /usr/lib/perl5/vendor_perl/5.8.1/i686-linux/auto/SDL_perl/SDL_perl.so then, when you run `ldd` on it: libSDL_gfx.so.9 => /usr/lib/libSDL_gfx.so.9 (0x400b5000) although it is weird that the .0 was not created i think ...
Any change in this bug?
No feedback and it works for me so...
I have the same problem "cannot find SDL_mixer". The involved test: gcc -o temctest temctest.c -I/usr/include/SDL -D_REENTRANT -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lSDL_mixer returns /usr/lib/libsmpeg-0.4.so.0: undefined reference to `_Unwind_GetIP' /usr/lib/libsmpeg-0.4.so.0: undefined reference to `_Unwind_Resume_or_Rethrow' /usr/lib/libsmpeg-0.4.so.0: undefined reference to `_Unwind_GetRegionStart' /usr/lib/libsmpeg-0.4.so.0: undefined reference to `_Unwind_Resume' /usr/lib/libsmpeg-0.4.so.0: undefined reference to `_Unwind_DeleteException' /usr/lib/libsmpeg-0.4.so.0: undefined reference to `_Unwind_RaiseException' /usr/lib/libsmpeg-0.4.so.0: undefined reference to `_Unwind_SetIP' /usr/lib/libsmpeg-0.4.so.0: undefined reference to `_Unwind_GetTextRelBase' /usr/lib/libsmpeg-0.4.so.0: undefined reference to `_Unwind_GetLanguageSpecificData' /usr/lib/libsmpeg-0.4.so.0: undefined reference to `_Unwind_SetGR' /usr/lib/libsmpeg-0.4.so.0: undefined reference to `_Unwind_GetDataRelBase' collect2: ld returned 1 exit status seems to be missing the stdc++ Infact, if I link with -lstdc++: gcc -o temctest temctest.c -I/usr/include/SDL -D_REENTRANT -L/usr/lib -Wl,-rpath,/usr/lib -l-lpthread -lSDL_mixer -lstdc++ it just go. emerge --info Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r9 i686) ================================================================= System uname: 2.6.9-gentoo-r9 i686 AMD Duron(tm) processor 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="-mcpu=athlon -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=athlon -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks nostrip sandbox sfperms" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ http://gentoo.tiscali.nl/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X Xaw3d acpi adns alsa apm artworkextra avi berkdb bitmap-fonts cdparanoia cdr crypt cscope cups debugger divx4linux doc dvd dvdread edl eds emacs encode erandom esd evo f77 fam flac fmod foomaticdb fortran gdbm gif gimpprint ginac gnome gnutls gpg gpm gstreamer gtk gtk2 gtkhtml guile hal hdf5 howl imagemagick imlib innodb ipv6 java jbig joystick jpeg kerberos lcms ldap libg++ libwww live lzo mad mikmod mmx mng mozilla moznoirc moznomail moznoxft mpeg mysql mythtv ncurses network nls no-old-linux nptl oggvorbis opengl oss pam pcre pdflib perl plotutils png python qhull quicktime readline rtc sasl sdl silc skey slang slp sndfile snmp spell sse ssl svg tcltk tcpd tetex theora tiff truetype unicode v4l v4l2 vim-with-x wmf wxwindows x86 xchatdccserver xml xml2 xmms xv xvid zlib"