I'm trying to emerge media-tv/rivatv-0.8.5-r1, but it stop at the configuration. I get this error: Checking for configured kernel headers... found [/lib/modules/2.6.7-gentoo-r11/build] Checking for linux kernel >= 2.4.0... yes [2.6.7-gentoo-r11] Using bttv sources in... bttv-2.6 Checking for kernel build system... found Checking for kernel configuration... found Checking for CONFIG_MODVERSIONS... no Checking for CONFIG_PCI... yes [y] Checking for CONFIG_VIDEO_DEV... yes [y] Checking for CONFIG_PROC_FS... yes [y] Checking for CONFIG_I2C... yes [y] Checking for CONFIG_I2C_ALGOBIT... yes [y] Checking for CONFIG_MODULES... yes [y] Checking for kernel dependencies... not needed for 2.6.x kernels Checking for RedHat or Mandrake kernel... no Checking whether AGP code should be included... no Checking whether software conversion code should be included... no Creating Makefile... done Checking your current setup for incompatibilities... Checking for /proc... yes Checking for kernel gcc... tail: `-1' option is obsolete; use `-n 1' since this will be removed in the future Linux version 2.6.7-gentoo-r11 (root@RibSteak) (version gcc 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)) #3 SMP Thu Jul 22 16:07:34 EDT 2004 *** WARNING: *** If you are going to use the running kernel (compiled with *** gcc version Linux version 2.6.7-gentoo-r11 (root@RibSteak) (version gcc 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)) #3 SMP Thu Jul 22 16:07:34 EDT 2004) with RivaTV (will be compiled *** with gcc version version gcc 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)) you may experience system crashes. Checking for write access to /lib/modules/2.6.7-gentoo-r11/build... yes Checking for framebuffer... vesafb Checking for SMP... no Your setup got 0 error(s) and 1 warning(s). We recommend you try to resolve the issues before using RivaTV. !!! ERROR: media-tv/rivatv-0.8.5-r1 failed. !!! Function econf, Line 362, Exitcode 1 !!! econf failed Reproducible: Always Steps to Reproduce: 1.ACCEPT_KEYWORDS="~x86" emerge rivatv 2. 3. Actual Results: Configure fail Expected Results: Probably detect gcc correctly and then build... Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r11) ================================================================= System uname: 2.6.7-gentoo-r11 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.4.16 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib alsa arts avi berkdb cdr chroot crypt cups directfb divx4linux encode escreen esd exif fbcon foomaticdb freetype ftp gdbm gif gphoto2 gpm gtk gtk2 imagemagick imlib java javascript jpeg kde libg++ libwww mad mikmod mmx motif mpeg mpeg4 mplayer msn mysql ncurses network nls nvidia oggvorbis ooo-kde opengl oss pam pdflib perl png python qt quicktime readline samba scanner sdl slang spell sse ssl svga tcltk tcpd transcode truetype x86 xinerama xml2 xmms xv xvid zlib"
Created attachment 36943 [details, diff] Patch for the configure script to work properly on systems with a gcc version string beginning with "version gcc" instead of "gcc version" On some system, gcc outputs its version as "version gcc x.y.z" instead of "gcc version x.y.z". This causes trouble to configure-scripts that look for a version number by looking for "gcc version" in a string.
Do I need save it and applay manually everytime when I compile rivatv or you have planes add it into portages later?
The patch has been added to rivatv-0.8.5-r2, please test and provide feedback.