games-sports/torcs-1.3.0 fails to configure because it wants the exact version 1.8.3 of plib, which is not in portage. The ebuild doesn't appear to deal with this. checking for plib 1.8.3 or newer... PLIB 1.8.3 was not detected. TORCS can run only with PLIB 1.8.3, so verify that the PLIB 1.8.3 is really the version installed on your system. checking for GL_VERSION_1_3... configure: error: GL_VERSION_1_3 not defined via gl.h. Please get the GL header files from mesa3d.org. !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/games-sports/torcs-1.3.0/work/torcs-1.3.0/config.log !!! ERROR: games-sports/torcs-1.3.0 failed. * media-libs/plib Available versions: 1.6.0 1.8.4 ~1.8.4-r1 Installed: 1.8.4 Portage 2.1.2_rc1-r3 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.18.2-ifc i686) ================================================================= System uname: 2.6.18.2-ifc i686 Intel(R) Pentium(R) M processor 1.86GHz Gentoo Base System version 1.12.6 Last Sync: Sat, 11 Nov 2006 00:20:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-Os -march=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 3dnow X a52 alsa berkdb bitmap-fonts bzip2 cairo cdr chroot cli cracklib crypt dbus dlloader dri dv dvd dvdr dvdread eds elibc_glibc emboss encode fam ffmpeg firefox flac fortran gdbm gif gpm gtk gtk2 hal iconv input_devices_keyboard input_devices_mouse input_devices_synaptics isdnlog jpeg kde kdeenablefinal kernel_linux libg++ linguas_en mad mikmod mmx mp3 mpeg ncurses network nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png ppds pppd pwdb python qt3 qt4 quicktime readline reflection sdl session spell spl sse ssl svg theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_ati video_cards_fglrx video_cards_radeon vorbis win32codecs xml xml2 xorg xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
The message lies; it works with 1.8.3 or newer. Your system is screwed up. It should be obvious from config.log.