The emerge of xfree-4.3.0-r4 fails with an install error on my system. ... In file included from ../../../../../../lib/GL/dri/drm/drm.h:39, from ../../../../../../lib/GL/dri/drm/xf86drm.c:70: /usr/include/linux/config.h:4:28: linux/autoconf.h: No such file or directory make[5]: *** [../../../../../../lib/GL/dri/drm/xf86drm.o] Error 1 make[5]: Leaving directory `/mnt/hdd9/tmp/portage/xfree-4.3.0-r4/work/xc/lib/GL/mesa/src/drv/gamma' make[4]: *** [install] Error 2 make[4]: Leaving directory `/mnt/hdd9/tmp/portage/xfree-4.3.0-r4/work/xc/lib/GL/mesa/src/drv' make[3]: *** [install] Error 2 make[3]: Leaving directory `/mnt/hdd9/tmp/portage/xfree-4.3.0-r4/work/xc/lib/GL' make[2]: *** [install] Error 2 make[2]: Leaving directory `/mnt/hdd9/tmp/portage/xfree-4.3.0-r4/work/xc/lib' make[1]: *** [install] Error 2 make[1]: Leaving directory `/mnt/hdd9/tmp/portage/xfree-4.3.0-r4/work/xc' make: *** [install] Error 2 !!! ERROR: x11-base/xfree-4.3.0-r4 failed. !!! Function src_install, Line 614, Exitcode 2 !!! (no error message) Please see the attachment for more output from the emerge. Output from emerge info Portage 2.0.50 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r3, 2.6.2-reiser4) ================================================================= System uname: 2.6.2-reiser4 i686 AMD Athlon(tm) XP 1900+ Gentoo Base System version 1.4.3.13 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /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/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/var/tmp/distfiles" FEATURES="autoaddcvs ccache sandbox strict userpriv usersandbox" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acpi alsa apache2 apm arts avi berkdb cdr crypt cups dga dvd encode foomaticdb gdbm gif gpm gtk gtk2 imap imlib java jpeg kde lame libg++ libwww lirc mad maildir mbox mikmod motif mozilla mp3 mpeg ncurses nls oggvorbis opengl pam pdflib perl png python qt quicktime readline samba scanner sdl slang spell ssl svga tcpd tetex tiff truetype wmf x86 xml2 xmms xv zlib"
Created attachment 25345 [details] more output from the emerge error
Please: ls /usr/include/linux/autoconf.h qpkg -f -v /usr/include/linux/autoconf.h Maybe `emerge linux-headers` will fix it if it's nonexistent.
Thank you for the fast help! Several days ago i install the kernel-headers-2.6.0 on my system, they don't provide the needed autoconf.h file. Hmm, strange. Maybe there is a bug in this package? It seems that xfree don't build with this headers.
Ideas?
On gentoo-users wrote somebody about the same problem with -r3 and 2.6.0. Refer to: http://www.mail-archive.com/gentoo-user@gentoo.org/msg34220.html He wrote something about a patch. I contacted the autor, perhaps his patch is also applicable on -r4?
There is a patch in -r4 to (supposedly) fix compilation against 2.6 headers. See bug #17345. It's unrelated to autoconf.h.
Merge your headers again and this should go away. I think that this is now solved because I've ditched the "make oldconfig" method which seemed to be making this bug. Thanks.
Yes, i could merge xfree with kernel-headers-2.6.1. These ebuild provide the missing autoconf header. Many thanks!
*** Bug 43062 has been marked as a duplicate of this bug. ***