When I try to emerge mldonkey-2.5.16-r2, I get this error message: checking for linux/limits.h... yes checking Additionnal includes... checking for ../src/networks/donkey... configure: error: cannot check for file existence when cross compiling gmake: *** [config/Makefile.config] Error 1 Building dependencies fails: try: 'make depend' or 'gmake depend' ./configure: line 10511: CTION-IF-NOT-FOUND:: command not found ./configure: line 10530: syntax error near unexpected token `fi' ./configure: line 10530: `fi' !!! ERROR: net-p2p/mldonkey-2.5.16-r2 failed. !!! Function econf, Line 365, Exitcode 2 !!! econf failed Reproducible: Always Steps to Reproduce: 1. emerge mldonkey 2. 3. Actual Results: mldonkey fails to compile Expected Results: mldonkey should compile emerge --info Portage 2.0.50-r3 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4-ck1) ================================================================= System uname: 2.6.4-ck1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.4.6 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -msse2 -mfpmath=sse,387 -fno-gcse" 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/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -msse2 -mfpmath=sse,387 -fno-gcse" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu/distfiles" MAKEOPTS="-j3" 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="X alsa apm arts avi berkdb bonobo cdr crypt cups dvd dvdr encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib ipv6 java jpeg kde ldap libg++ libwww linguas_fr mad mikmod mmx motif mozilla moznocompose moznoirc mpeg ncurses nls nptl oggvorbis opengl oss pam pda pdflib perl png ppds python qt quicktime readline samba scanner sdl slang spell sse ssl svga tcltk tcpd truetype usb x86 xml2 xmms xv zlib"
mfpmath=sse,387 -fno-gcse <----- please remove this nonsense from your CFLAGS and try again
I've removed the "-fno-gcse" flag, and the error is still present I don't think it's the cause, because mldonkey-2.5.16 successfully emerged
I'm having the same problem. here is a bigger part of the error followed by my emerge --info output: checking byteswap.h usability... no checking byteswap.h presence... yes configure: WARNING: byteswap.h: present but cannot be compiled configure: WARNING: byteswap.h: check for missing prerequisite headers? configure: WARNING: byteswap.h: see the Autoconf documentation configure: WARNING: byteswap.h: section "Present But Cannot Be Compiled" configure: WARNING: byteswap.h: proceeding with the preprocessor's result configure: WARNING: byteswap.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------ ## configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## configure: WARNING: ## ------------------------------------------ ## checking for byteswap.h... yes checking linux/limits.h usability... no checking linux/limits.h presence... yes configure: WARNING: linux/limits.h: present but cannot be compiled configure: WARNING: linux/limits.h: check for missing prerequisite headers? configure: WARNING: linux/limits.h: see the Autoconf documentation configure: WARNING: linux/limits.h: section "Present But Cannot Be Compiled" configure: WARNING: linux/limits.h: proceeding with the preprocessor's result configure: WARNING: linux/limits.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------ ## configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## configure: WARNING: ## ------------------------------------------ ## checking for linux/limits.h... yes checking Additionnal includes... checking for ../src/networks/donkey... configure: error: cannot check for file existence when cross compiling gmake: *** [config/Makefile.config] Error 1 Building dependencies fails: try: 'make depend' or 'gmake depend' ./configure: line 10511: CTION-IF-NOT-FOUND:: command not found ./configure: line 10530: syntax error near unexpected token `fi' ./configure: line 10530: `fi' !!! ERROR: net-p2p/mldonkey-2.5.16-r2 failed. !!! Function econf, Line 365, Exitcode 2 !!! econf failed Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4-rc2) ================================================================= System uname: 2.6.4-rc2 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.4 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -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.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage_overlay" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X Xaw3d alsa apache2 avi bonobo cdr crypt cscope curl dedicated dga directfb dvd encode ethereal fastcgi fbcon gd gdbm ggi gif gpm gstreamer gtk gtk2 imap imlib ipv6 joystick jpeg lcms ldap libwww lirc mad maildir mbox memlimit mikmod mmx mozilla mpeg mpi mysql nas ncurses nls nocd oggvorbis opengl pam pdflib perl plotutils png pnp python qt quicktime readline samba sasl sdl slang snmp spell sse ssl svga tcltk tcpd tiff truetype usb wmf wxwindows x86 xml xml2 xmms xosd xv zlib"
Just the same here Portage 2.0.50-r3 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2. 6.5-gentoo) ================================================================= System uname: 2.6.5-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.4.6 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe" 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/share/config /usr/lib/mozilla/defaults/pref /usr/share/ config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu x/distributions/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 alsa apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww linguas_pt_BR mad mikmod mm x motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Also removing --host parameter, still it doesn't compile :/ -r1 instead seems to compile fine. emerge --info follows also if I don't think is needed this time Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5) ================================================================= System uname: 2.6.5 i686 AMD Athlon(tm) processor Gentoo Base System version 1.4.6 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args -fforce-addr" 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/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 -mcpu=athlon-tbird -O3 -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/" 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="3dnow X alsa apache2 apm arts avi berkdb cdr crypt cups dga dvd encode foomaticdb gdbm gif gphoto2 gpm gtk gtk2 imlib java joystick jpeg kde libg++ libwww lirc mad matroska mikmod mmx motif mozilla mpeg mysql ncurses oggvorbis opengl pam pdflib perl png postgres python qt quicktime readline samba sdl slang ssl tcltk tcpd tetex theora truetype x86 xinerama xml2 xmms xv zlib"
Same here. It doesn't find its header files. Last correct build on my machine: net-p2p/mldonkey-2.5.16-r2 Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3-gentoo-r2) ================================================================= System uname: 2.6.3-gentoo-r2 i686 AMD Athlon(tm) XP 2100+ Gentoo Base System version 1.4.3.13p1 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -frerun-loop-opt -falign-functions=4 -fforce-mem -funroll-loops -ffast-math -finline-functions -foptimize-sibling-calls -m3dnow -mmmx" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -frerun-loop-opt -falign-functions=4 -fforce-mem -funroll-loops -ffast-math -finline-functions -foptimize-sibling-calls -m3dnow -mmmx -Wno-deprecated" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="3dnow X acl acpi alsa apache2 apm autofs avi berkdb cdr crypt cups dvd encode esd foomaticdb gd gdbm gif gimpprint gnome gpm gtk gtk2 imap imlib innodb ipv6 jack java jikes jpeg kde ldap libg++ libwww mad maildir mbox memlimit mikmod mmx mozilla moznocompose moznoirc mpeg mysql ncurses nls nowin oggvorbis opengl pam parse-clocks pdflib png ppds python qt quicktime readline ruby sdl slang spell ssl svga tcltk tcpd tetex truetype unicode vim-with-x x86 xml2 xmms xv xvid zlib"
I also ran into this problem. I don't know what portage does to this, but there's definitely something wrong with it. I tried manual ./configure (also including all parameters mentioned in the ebuild) and make and that worked. But when I set the ./configure (instead of "econf") in the ebuild file, the merge results in the same error message. As soon as emerge runs the "configure" script, make will fail. I don't have an idea about why this is the case. For some reason, the emerge-called configure doesn't display it's summary ("The following modules will not be compiled: { audio_galaxy(obsolete) openFT(obsolete) mldonkey_gui$(EXE) mldonkey_gui2$(EXE) mlchat$(EXE) }") and after that, the emerge-called make again runs configure (or autoconf).
Are you sure you have applied the two patches -r2 has? I tried to compile mldonkey without using portage, but applying all the patches, and it doesn't compile, same error.
And same here...
*** Bug 47491 has been marked as a duplicate of this bug. ***
Yes, I'm really sure. I used emerge to extract the files and then after it produces an error, I run ./configure manually and it works. But the source is already patched in this state, so yes, the patches are applied. Hey there, I got it! I duplicated the call of ./configure in my modified ebuild and it works. Seems like only the second run of ./configure does it. So whenever I tried it manually, I did the second run of configure. I know it's no good way to resolve the error, but it seems to work. Just place an empty "econf" command before the econf with parameters. Compilation did not finish yet, but it seems to work.
Same error here. Adding a first econf doesn'thelp.
I got the same error and the empty econf does not seem to work for me.
It is the 16g patch that is causing trouble, comment it out and it will compile. I have no programming skills so somebody has to figure out why.
and the 16g patch does... what?
install the 2.5.16-r1 and it works. I think the better thing to do is mask 2.5.16-r2 for now.
The 16g patch is a deep customization of the mldonkey core, made by spiralvoice. (Some could say that mldonkey and spiralvoice's mldonkey are two different programs, in fact). BTW: it seems that spiralvoice has a bugzilla account (he submitted bug 46409), so he can be CC'ed (I think). However, have anyone tried version 16k from http://www.8ung.at/spiralvoice/ ? maybe it is already fixed there.
Yeah, I will mask r2...
patch_pack k doesn't work too
i think i just found the error will try to compile now and check it in
added -r3 with latest patch. fixed -r2 too.
I still get the same error with -r3
[snip - many WARNINGs] checking linux/limits.h presence... yes configure: WARNING: linux/limits.h: present but cannot be compiled configure: WARNING: linux/limits.h: check for missing prerequisite headers? configure: WARNING: linux/limits.h: see the Autoconf documentation configure: WARNING: linux/limits.h: section "Present But Cannot Be Compiled" configure: WARNING: linux/limits.h: proceeding with the preprocessor's result configure: WARNING: linux/limits.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------ ## configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## configure: WARNING: ## ------------------------------------------ ## checking for linux/limits.h... yes checking Additionnal includes... checking for ../src/networks/donkey... configure: error: cannot check for file existence when cross compiling gmake: *** [config/Makefile.config] Error 1 Building dependencies fails: try: 'make depend' or 'gmake depend' ./configure: line 10511: en: command not found gcc ./configure: line 10514: syntax error near unexpected token `else' ./configure: line 10514: `else' !!! ERROR: net-p2p/mldonkey-2.5.16-r3 failed. !!! Function econf, Line 365, Exitcode 2 !!! econf failed Still same problem.
please provide #emerge info works here wiht sys-kernel/linux-headers-2.4.23
Same nice error: configure: WARNING: arpa/inet.h: present but cannot be compiled configure: WARNING: arpa/inet.h: check for missing prerequisite headers? configure: WARNING: arpa/inet.h: see the Autoconf documentation configure: WARNING: arpa/inet.h: section "Present But Cannot Be Compiled" configure: WARNING: arpa/inet.h: proceeding with the preprocessor's result configure: WARNING: arpa/inet.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------ ## configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## configure: WARNING: ## ------------------------------------------ ## checking for arpa/inet.h... yes checking netinet/ip.h usability... no checking netinet/ip.h presence... yes configure: WARNING: netinet/ip.h: present but cannot be compiled configure: WARNING: netinet/ip.h: check for missing prerequisite headers? configure: WARNING: netinet/ip.h: see the Autoconf documentation configure: WARNING: netinet/ip.h: section "Present But Cannot Be Compiled" configure: WARNING: netinet/ip.h: proceeding with the preprocessor's result configure: WARNING: netinet/ip.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------ ## configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## configure: WARNING: ## ------------------------------------------ ## checking for netinet/ip.h... yes checking sys/poll.h usability... no checking sys/poll.h presence... yes configure: WARNING: sys/poll.h: present but cannot be compiled configure: WARNING: sys/poll.h: check for missing prerequisite headers? configure: WARNING: sys/poll.h: see the Autoconf documentation configure: WARNING: sys/poll.h: section "Present But Cannot Be Compiled" configure: WARNING: sys/poll.h: proceeding with the preprocessor's result configure: WARNING: sys/poll.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------ ## configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## configure: WARNING: ## ------------------------------------------ ## checking for sys/poll.h... yes checking for poll... yes checking for inflate in -lz... yes checking zlib.h usability... no checking zlib.h presence... yes configure: WARNING: zlib.h: present but cannot be compiled configure: WARNING: zlib.h: check for missing prerequisite headers? configure: WARNING: zlib.h: see the Autoconf documentation configure: WARNING: zlib.h: section "Present But Cannot Be Compiled" configure: WARNING: zlib.h: proceeding with the preprocessor's result configure: WARNING: zlib.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------ ## configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## configure: WARNING: ## ------------------------------------------ ## checking for zlib.h... yes checking for iconv_open in -liconv... yes checking endian.h usability... no checking endian.h presence... yes configure: WARNING: endian.h: present but cannot be compiled configure: WARNING: endian.h: check for missing prerequisite headers? configure: WARNING: endian.h: see the Autoconf documentation configure: WARNING: endian.h: section "Present But Cannot Be Compiled" configure: WARNING: endian.h: proceeding with the preprocessor's result configure: WARNING: endian.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------ ## configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## configure: WARNING: ## ------------------------------------------ ## checking for endian.h... yes checking byteswap.h usability... no checking byteswap.h presence... yes configure: WARNING: byteswap.h: present but cannot be compiled configure: WARNING: byteswap.h: check for missing prerequisite headers? configure: WARNING: byteswap.h: see the Autoconf documentation configure: WARNING: byteswap.h: section "Present But Cannot Be Compiled" configure: WARNING: byteswap.h: proceeding with the preprocessor's result configure: WARNING: byteswap.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------ ## configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## configure: WARNING: ## ------------------------------------------ ## checking for byteswap.h... yes checking linux/limits.h usability... no checking linux/limits.h presence... yes configure: WARNING: linux/limits.h: present but cannot be compiled configure: WARNING: linux/limits.h: check for missing prerequisite headers? configure: WARNING: linux/limits.h: see the Autoconf documentation configure: WARNING: linux/limits.h: section "Present But Cannot Be Compiled" configure: WARNING: linux/limits.h: proceeding with the preprocessor's result configure: WARNING: linux/limits.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------ ## configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## configure: WARNING: ## ------------------------------------------ ## checking for linux/limits.h... yes checking Additionnal includes... checking for ../src/networks/donkey... configure: error: cannot check for file existence when cross compiling gmake: *** [config/Makefile.config] Error 1 Building dependencies fails: try: 'make depend' or 'gmake depend' ./configure: line 10549: syntax error near unexpected token `(' ./configure: line 10549: ` BAD_TARGETS="$BAD_TARGETS mldonkey_gui\$(EXE) mldonkey_gui2\$(EXE) mlchat\$(EXE)"' !!! ERROR: net-p2p/mldonkey-2.5.16-r3 failed. !!! Function econf, Line 365, Exitcode 2 !!! econf failed
Worked here. $ qpkg -I -v mldonkey net-p2p/mldonkey-2.5.16-r3 * Anyone needs more input?
Emerge info is provided above, but ok, there it goes: Portage 2.0.50-r5 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3-gentoo-r2) ================================================================= System uname: 2.6.3-gentoo-r2 i686 AMD Athlon(tm) XP 2100+ Gentoo Base System version 1.4.7 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -frerun-loop-opt -falign-functions=4 -fforce-mem -funroll-loops -ffast-math -finline-functions -foptimize-sibling-calls -m3dnow -mmmx" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -frerun-loop-opt -falign-functions=4 -fforce-mem -funroll-loops -ffast-math -finline-functions -foptimize-sibling-calls -m3dnow -mmmx -Wno-deprecated" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="3dnow X acl acpi alsa apache2 apm autofs avi berkdb cdr crypt cups dvd encode esd foomaticdb gd gdbm gif gimpprint gnome gpm gtk gtk2 imap imlib innodb ipv6 jack java jikes jpeg kde ldap libg++ libwww mad maildir mbox memlimit mikmod mmx mozilla moznocompose moznoirc mpeg mysql ncurses nls nowin oggvorbis opengl pam parse-clocks pdflib png ppds python qt quicktime readline ruby sdl slang spell ssl svga tcltk tcpd tetex truetype unicode vim-with-x x86 xml2 xmms xv xvid zlib"
this is working with kernel-headers 2.4 do you guys use 2.6 headers ?
That's still silly -- a package as mldonkey not working because of a kernel version problem. BTW most did provide emerge info -- you see clearly that it does not work on 2.6.x
2.5.16-r3 works here with kernel 2.6 (mm) and kernel headers 2.4. $ emerge --info Portage 2.0.50-r5 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5-mm4) ================================================================= System uname: 2.6.5-mm4 i586 AMD-K6(tm) 3D processor Gentoo Base System version 1.4.6 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium -Os -pipe -ffast-math -fomit-frame-pointer -ftracer" CHOST="i586-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium -Os -pipe -ffast-math -fomit-frame-pointer -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox userpriv usersandbox" GENTOO_MIRRORS="ftp://ibiblio.org/pub/Linux/distributions/gentoo/ ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="acl apache2 berkdb cxx gdbm imap innodb kerberos krb4 ldap mysql nptl pam perl pic sasl ssl threads x86 xml" nbensa@zeddmore:~$ qpkg -I -v kernel sys-kernel/linux-headers-2.4.22 *
Philipp feel free to submit a patch or whatever to work with kernel-headers 2.6.x
I am using the 2.6 kernel, but the 2.4 headers. Portage 2.0.50-r5 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5-gentoo) ================================================================= System uname: 2.6.5-gentoo i686 AMD Athlon(tm) XP 1700+ Gentoo Base System version 1.4.7 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -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.1/share/config /usr/kde/3.2/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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache emergemail sandbox userpriv" GENTOO_MIRRORS="http://gentoo.oregonstate.edu 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://dark-lord.ihtruelsen.dyndns.org/gentoo-portage" USE="3dnow X aalib acpi aim alsa apm arts avi berkdb bonobo cdr crypt cups dillo directfb dvd encode esd fbcon flash foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile icq imap imlib jabber java jpeg kde ldap libg++ libwww mad maildir maznocompose mikmod motif moznoirc moznomail mpeg msn mysql ncurses nls oggvorbis opengl oscar oss pam pdflib perl png python qt quicktime readline sdl slang slp spell ssl svga tcltk tcpd tetex tiff truetype usb video_cards_nvidia x86 xface xml2 xmms xv yahoo zlib"
configure behaves in an other way when called just with the econf parameters, than when econf calls configure with the whole bunch of parameters: --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --sysconfdir=/etc/mldonkey --sharedstatedir=/var/mldonkey --localstatedir=/var/mldonkey --enable-batch --enable-checks --enable-pthread This fails on my machine. --sysconfdir=/etc/mldonkey --sharedstatedir=/var/mldonkey --localstatedir=/var/mldonkey --enable-batch --enable-checks --enable-pthread However has a clean configure run. When building dependencies with econf it does cd config; autoconf which leads to the failure. When called plainly no such line is shown, but it is advised to do gmake depend.
Doesn't work here. Headers 2.6.5 that I needed for one program.
Still happening with r3 here. raptor root # emerge info Portage 2.0.50-r5 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5-gentoo) ================================================================= System uname: 2.6.5-gentoo i686 AMD Athlon(TM) XP 2600+ Gentoo Base System version 1.4.6 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -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.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirror.clarkson.edu/pub/distributions/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.seren.com/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo/ http://gentoo.oregonstate.edu http://gentoo.binarycompass.org/ http://gentoo.netnitco.net/ http://gentoo.mirrors.pair.com/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acpi alsa apache2 apm arts avi berkdb bindist cdr crypt cups encode esd fam flac foomaticdb gd gd-external gdbm gif gimpprint gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod mmx motif mozilla moznocompose moznoirc mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pda pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype x86 xml2 xmms xv zlib"
If you look up in your configure (those who have problems), it probably has a "permission denied" thing which means it isn't detecting your build host. I tried setting it manually, but then it screws up later with the infamous "Cannot create executables". Very strange.
If there is so much problems with -r2 and -r3, why don't mask it until it will work correctly? I'm going to try compile it also if it will be masked, by my side.
Adding "make depend" before the econf line fixed it.
Builds fine for me with the make depend line.
the make depend line worked for me too
*** Bug 47884 has been marked as a duplicate of this bug. ***
added make depend.