1. The error log: # emerge games-strategy/asc Calculating dependencies ...done! >>> emerge (1 of 1) games-strategy/asc-1.16.3.0 to / >>> Downloading http://ftp.lug.ro/gentoo/distfiles/asc-source+music-1.16.3.0.tar.bz2 --09:27:35-- http://ftp.lug.ro/gentoo/distfiles/asc-source+music-1.16.3.0.tar.bz2 => `/usr/portage/distfiles/asc-source+music-1.16.3.0.tar.bz2' Resolving ftp.lug.ro... 83.166.201.99 Connecting to ftp.lug.ro|83.166.201.99|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 18,859,902 (18M) [application/x-tar] 100%[==================================================>] 18,859,902 122.02K/s ETA 00:00 09:30:06 (123.67 KB/s) - `/usr/portage/distfiles/asc-source+music-1.16.3.0.tar.bz2' saved [18859902/18859902] >>> md5 files ;-) asc-1.16.2.0.ebuild >>> md5 files ;-) asc-1.16.3.0.ebuild >>> md5 files ;-) asc-1.15.0.0.ebuild >>> md5 files ;-) files/digest-asc-1.15.0.0 >>> md5 files ;-) files/digest-asc-1.16.2.0 >>> md5 files ;-) files/digest-asc-1.16.3.0 >>> md5 src_uri ;-) asc-source+music-1.16.3.0.tar.bz2 >>> Unpacking source... >>> Unpacking asc-source+music-1.16.3.0.tar.bz2 to /var/tmp/portage/asc-1.16.3.0/work >>> Source unpacked. * Using GNU config files from /usr/share/libtool * Updating config.sub [ ok ] * Updating config.guess [ ok ] ./configure --prefix=/usr/games --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share/games --sysconfdir=/etc/games --localstatedir=/var/games --disable-dependency-tracking --disable-paraguitest --disable-paragui --datadir=/usr/share checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for style of include used by make... GNU checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-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 i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking dependency style of i686-pc-linux-gnu-gcc... none checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking dependency style of i686-pc-linux-gnu-g++... none checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E checking for i686-pc-linux-gnu-g77... i686-pc-linux-gnu-g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether i686-pc-linux-gnu-g77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-gcc static flag -static works... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-g++ static flag -static works... yes checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for i686-pc-linux-gnu-g77 option to produce PIC... -fPIC checking if i686-pc-linux-gnu-g77 PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-g77 static flag -static works... yes checking if i686-pc-linux-gnu-g77 supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-g77 linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... (cached) none needed checking dependency style of i686-pc-linux-gnu-gcc... (cached) none checking for i686-pc-linux-gnu-g++... (cached) i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether i686-pc-linux-gnu-g++ accepts -g... (cached) yes checking dependency style of i686-pc-linux-gnu-g++... (cached) none checking bitset usability... yes checking bitset presence... yes checking for bitset... yes checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.2... 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 version 1.2.2 not found! If you have a distribution supplied SDL.RPM installed, perhaps the SDL-devel.RPM is missing. If your distribution does not include the SDL library, you can get it from http://www.libsdl.org/ !!! ERROR: games-strategy/asc-1.16.3.0 failed. !!! Function egamesconf, Line 64, Exitcode 1 !!! egamesconf failed !!! If you need support, post the topmost build error, NOT this status message.
2. installed SDL packages: media-libs/libsdl-1.2.8-r1 media-libs/sdl-flic-1.2 media-libs/sdl-gfx-2.0.13-r1 media-libs/sdl-image-1.2.3-r1 media-libs/sdl-net-1.2.5 media-libs/sdl-sound-1.0.1-r1 media-libs/sdl-ttf-2.0.7 media-libs/sdlmm-0.1.8-r1
3. My system: # emerge --info Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686) ================================================================= System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(tm) XP 2800+ Gentoo Base System version 1.12.0_pre15 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-mtune=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /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/bind /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-mtune=athlon-xp -O2 -pipe -fforce-addr -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow -msse -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.lug.ro/gentoo/ http://gentoo.blueyonder.co.uk http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.du.se/pub/os/gentoo" LANG="en_US.UTF-8" LINGUAS="fr en de ar hu jp ro ru sp" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow X Xaw3d a52 aac aalib acl acpi adns aim alsa apache2 apm arts audiofile avi bash-completion bcmath berkdb bidi bitmap-fonts blas bluetooth bmp bzip2 calendar canna caps cdb cdinstall cdparanoia cdr chasen cjk clamav cpdflib crypt cscope ctype cups curl curlwrappers dba dbm dbus dbx dga dio directfb doc dri dts dv dvb dvd dvdr dvdread emboss encode ethereal evo examples exif expat fam fastcgi fbcon fdftk ffmpeg fftw flac flash flatfile foomaticdb fortran freewnn ftp gcj gd gdbm geoip ggi gif ginac glut gmp gnome gnutls gphoto2 gstreamer gtk gtk2 gtkhtml guile hal howl iconv icq idn ieee1394 imagemagick imap imlib inifile innodb iodbc ipv6 jack java javascript jikes joystick jpeg jpeg2k junit kde kdexdeltas kerberos ladcca lapack lcms ldap lesstif libcaca libgda libwww lirc lm_sensors lua m17n-lib mad maildir matroska mbox mcal memlimit mhash migemo mikmod mime ming mmap mmx mng mnogosearch mozilla mp3 mpeg msession msn mysql mysqli nas ncurses neXt netboot netcdf nls nocd nptl nsplugin odbc offensive ofx ogg oggvorbis openal opengl osc oscar pam pcntl pcre pda pdflib perl php pic plotutils png portaudio posix ppds prelude profile python qt quicktime readline recode ruby samba sasl scanner sdl session sharedext sharedmem shorten simplexml skey slang slp sndfile soap sockets socks5 source sox speex spell spl sqlite sse ssl svg svga sysvipc szip tcltk tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb utf8 v4l vcd vhosts videos vorbis wddx wifi win32codecs wmf wxwindows xface xine xinerama xml xml2 xmms xosd xpm xprint xsl xv xvid yahoo zlib video_cards_nvidia linguas_fr linguas_en linguas_de linguas_ar linguas_hu linguas_jp linguas_ro linguas_ru linguas_sp userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS
you need to remerge some packages. check the config.log file to see which one. revdep-rebuild might find it for you.
*** Bug 120613 has been marked as a duplicate of this bug. ***
Yes you're right. But revdep-rebuild didn't reports any dependency problem in libs (only games and some apps). I re-emerged all svga, sdl and openal packages and now it works. Sometimes Gentoo makes me crazy!