1. The problem: # emerge games-sports/torcs >>> emerge (1 of 1) games-sports/torcs-1.2.4 to / >>> md5 files ;-) torcs-1.2.4.ebuild >>> md5 files ;-) files/digest-torcs-1.2.4 >>> md5 src_uri ;-) torcs-1.2.4.tar.bz2 >>> Unpacking source... >>> Unpacking torcs-1.2.4.tar.bz2 to /var/tmp/portage/torcs-1.2.4/work >>> Source unpacked. * Using GNU config files from /usr/share/libtool * No config.sub found in /var/tmp/portage/torcs-1.2.4/work/torcs-1.2.4, skipping ... * No config.guess found in /var/tmp/portage/torcs-1.2.4/work/torcs-1.2.4, skipping ... ./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 --x-libraries=/usr/lib 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 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 for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... none checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E 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 for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for a BSD-compatible install... /bin/install -c checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E checking for egrep... grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking for ar... ar checking for ld... ld checking whether byte ordering is bigendian... no checking for X... libraries /usr/lib, headers 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 GL/gl.h usability... yes checking GL/gl.h presence... yes checking for GL/gl.h... yes checking GL/glut.h usability... yes checking GL/glut.h presence... yes checking for GL/glut.h... yes checking GL/glx.h usability... yes checking GL/glx.h presence... yes checking for GL/glx.h... yes checking X11/Xlib.h usability... yes checking X11/Xlib.h presence... yes checking for X11/Xlib.h... yes checking X11/Xatom.h usability... yes checking X11/Xatom.h presence... yes checking for X11/Xatom.h... yes checking X11/keysym.h usability... yes checking X11/keysym.h presence... yes checking for X11/keysym.h... yes checking plib/ssg.h usability... yes checking plib/ssg.h presence... yes checking for plib/ssg.h... yes checking AL/al.h usability... yes checking AL/al.h presence... yes checking for AL/al.h... yes checking for sin in -lm... yes checking for XOpenDisplay in -lX11... yes checking for XShmCreateImage in -lXext... yes checking for IceSetIOErrorHandler in -lICE... yes checking for SmsSetErrorHandler in -lSM... yes checking for XtDisplay in -lXt... yes checking for XOpenDevice in -lXi... yes checking for XmuSimpleErrorHandler in -lXmu... yes checking for XF86VidModeSetViewPort in -lXxf86vm... yes checking for XRenderSetSubpixelOrder in -lXrender... yes checking for XRRQueryVersion in -lXrandr... yes checking for alEnable in -lopenal... no configure: error: Can't find AL/al.h. OpenAL can be found on http://www.openal.org/ !!! ERROR: games-sports/torcs-1.2.4 failed. !!! Function egamesconf, Line 64, Exitcode 1 !!! egamesconf failed !!! If you need support, post the topmost build error, NOT this status message.
2. Installed openal version and use flags: # etcat -u openal [ Colour Code : set unset ] [ Legend : (U) Col 1 - Current USE flags ] [ : (I) Col 2 - Installed With USE flags ] U I [ Found these USE variables in : media-libs/openal-20050504-r1 ] + + alsa : Adds support for media-libs/alsa-lib (Advanced Linux Sound Architecture) + + arts : Adds support for aRts: the KDE sound daemon - - esd : Adds support for media-sound/esound (Enlightened Sound Daemon) + + sdl : Adds support for Simple Direct Layer (media library) - - debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too + + vorbis : Adds support for the OggVorbis audio codec + + mpeg : Adds libmpeg3 support to various packages.
3. My system info: # 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
*** This bug has been marked as a duplicate of 120611 ***