When trying to emerge the latest version of lirc with gentoo-dev-sources 2.6.9-r4, I get the following error: !!! ERROR: app-misc/lirc-0.7.0 failed. !!! Function kernel-mod_configoption_builtin, Line 114, Exitcode 1 !!! kernel has not been configured yet !!! If you need support, post the topmost build error, NOT this status message. /usr/src/linux is a softlink that points to /usr/src/linux-2.6.9-gentoo-r4/ I'm using config-kernel with a koutput dir of /var/tmp/kernel-output and the configuration for my kernel is in /var/tmp/kernel-output/2.6.9-gentoo-r4. I'm not sure why the ebuild isn't happy with this configuration as the previous ebuild compiled successfully. Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r4 i686) ================================================================= System uname: 2.6.9-gentoo-r4 i686 AMD Athlon(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.14.90.0.8-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -O2 -fforce-addr -fomit-frame-pointer -frename-registers -ftracer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /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="-march=athlon-tbird -O2 -fforce-addr -fomit-frame-pointer -frename-registers -ftracer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowex X Xaw3dxml acpi alsa apm arts avi berkdb bitmap-fonts cdr cjk crypt cscope cups curl dga encode esd ethereal evo f77 fam fbcon flac foomaticdb fortran gd gdbm gif gpm gtk gtk2 imagemagick imap imlib innodb java jpeg junit kde lcms libg++ libwww live lzo mad mbox memlimit mikmod mmx mmx2 motif mpeg mysql nas ncurses nls nptl offensive oggvorbis opengl oss pam pdflib perl plotutils png python qt quicktime readline rtc ruby samba sasl scanner sdl slang snmp spell sse ssl svga tcltk tcpd tetex theora threads tiff truetype usb videos wmf x86 xml xml2 xmms xv xvid zlib"
Same here, might this have something to do with the 'kernel-output'? As afaik config-kernel and kernel outbut is still considered broken. Daniel
If I remember correctly (and I might not be), the previous ebuild for lirc required using the koutput stuff? Andy
koutput is deprecated, it seems that the kernel in /usr/src/linux is not the one you are currently running, or you cleaned that directory with make mrproper/clean
My /usr/src/linux is the kernel I'm trying to compile for, but like I said I was using koutput. I was not aware that koutput is deprecated. After reverting back to the 'normal' way of building my kernel, lirc emerges successfully. I started using koutput when lirc-0.7.0_pre7 suggested it with the following message: * Due to the 2.6 kernel build system, external module compilation * with a normal setup requires write access to //usr/src/linux * There are several ways to fix/prevent this. * Users can willingly let portage make this writable by doing * # config-kernel --allow-writable yes * However, this is considered a security risk! * * The prefered method is to enable Gentoo's new 'koutput' method * for kernel modules. See the doc * http://www.gentoo.org/doc/en/2.6-koutput-user.xml * To enable this, you'll need to run * # config-kernel --output-dir /var/tmp/kernel-output * and then install a new kernel You might consider adding a message to the current lirc ebuild to let users know that koutput is deprecated and that they should go back to building the kernels the 'normal' way. Thanks! Andy
what about lirc-0.7.0-r1?
Can't really tell if the new 0.7.0-r1 solves it. But it will work fine now on the gentoo-dev-sources-2.6.9-r9 _without_ using the deprecated koutput stuff. Daniel
Works for me. Thanks!