# emerge -pv net-www/apache These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-www/apache-2.0.59 USE="apache2 ssl threads -debug -doc -ldap -mpm-itk -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker (-selinux) -static-modules (-no-suexec%)" 0 kB Total size of downloads: 0 kB # emerge -v net-www/apache ... Making all in srclib make[1]: Entering directory `/var/tmp/portage/apache-2.0.59/work/httpd-2.0.59/srclib' Making all in pcre make[2]: Entering directory `/var/tmp/portage/apache-2.0.59/work/httpd-2.0.59/srclib/pcre' make[3]: Entering directory `/var/tmp/portage/apache-2.0.59/work/httpd-2.0.59/srclib/pcre' /usr/share/apr-0/build/libtool --silent --mode=compile gcc -pthread -O2 -pipe -march=pentium-m -fomit-frame-pointer -mfpmath=sse -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/include/apr-0 -I/usr/include/db4.2 -I. -I/var/tmp/portage/apache-2.0.59/work/httpd-2.0.59/os/unix -I/var/tmp/portage/apache-2.0.59/work/httpd-2.0.59/server/mpm/worker -I/var/tmp/portage/apache-2.0.59/work/httpd-2.0.59/modules/http -I/var/tmp/portage/apache-2.0.59/work/httpd-2.0.59/modules/filters -I/var/tmp/portage/apache-2.0.59/work/httpd-2.0.59/modules/proxy -I/var/tmp/portage/apache-2.0.59/work/httpd-2.0.59/include -I/var/tmp/portage/apache-2.0.59/work/httpd-2.0.59/modules/generators -I/usr/include/openssl -I/var/tmp/portage/apache-2.0.59/work/httpd-2.0.59/modules/dav/main -prefer-non-pic -static -c maketables.c && touch maketables.lo /usr/share/apr-0/build/libtool --silent --mode=compile gcc -pthread -O2 -pipe -march=pentium-m -fomit-frame-pointer -mfpmath=sse -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/include/apr-0 -I/usr/include/db4.2 -I. -I/var/tmp/portage/apache-2.0.59/work/httpd-2.0.59/os/unix -I/var/tmp/portage/apache-2.0.59/work/httpd-2.0.59/server/mpm/worker -I/var/tmp/portage/apache-2.0.59/work/httpd-2.0.59/modules/http -I/var/tmp/portage/apache-2.0.59/work/httpd-2.0.59/modules/filters -I/var/tmp/portage/apache-2.0.59/work/httpd-2.0.59/modules/proxy -I/var/tmp/portage/apache-2.0.59/work/httpd-2.0.59/include -I/var/tmp/portage/apache-2.0.59/work/httpd-2.0.59/modules/generators -I/usr/include/openssl -I/var/tmp/portage/apache-2.0.59/work/httpd-2.0.59/modules/dav/main -prefer-non-pic -static -c get.c && touch get.lo libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' make[3]: *** [get.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' make[3]: *** [maketables.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/apache-2.0.59/work/httpd-2.0.59/srclib/pcre' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/apache-2.0.59/work/httpd-2.0.59/srclib/pcre' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/apache-2.0.59/work/httpd-2.0.59/srclib' make: *** [all-recursive] Error 1 !!! ERROR: net-www/apache-2.0.59 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile apache-2.0.59.ebuild, line 188: Called die !!! problem compiling apache2 !!! If you need support, post the topmost build error, and the call stack if relevant. # emerge --info Portage 2.1.2_pre1-r4 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.18-suspend2 i686) ================================================================= System uname: 2.6.18-suspend2 i686 Intel(R) Pentium(R) M processor 1.70GHz Gentoo Base System version 1.12.5 Last Sync: Thu, 28 Sep 2006 06:00:09 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [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.4-r6 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.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -march=pentium-m -fomit-frame-pointer -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-O2 -pipe -march=pentium-m -fomit-frame-pointer -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks metadata-transfer sandbox sfperms strict test" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="ru_RU.UTF-8" LINGUAS="ru uk" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" 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.gentoo.org/gentoo-portage" USE="x86 X a52 aac acpi alsa amr apache2 asf berkdb bitmap-fonts bzip2 cairo cdr chardet chroot cli crypt dbus dlloader dri dvd dvdr elibc_glibc emboss encode fam fat ffmpeg firefox flac fluidsynth freetype gd gdbm gif glitz glut gnome gpm gstreamer gtk gtk2 hal iconv input_devices_keyboard input_devices_mouse input_devices_synaptics irda isdnlog ithreads jpeg kernel_linux libg++ linguas_ru linguas_uk logrotate mikmod mmap mmx mozdevelop mozilla moznocompose moznoirc mp3 ncurses nls nptl nptlonly nsplugin ogg opengl pam pam_chroot pcre perl pic png pnp ppds pppd pthreads readline reflection reiser4 reiserfs samba sdl seamonkey session slang spl sse sse2 ssl svg symlink syslog tcpd threads timidity truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales utf8 video_cards_ati video_cards_fglrx video_cards_radeon video_cards_vesa video_cards_vga vim-with-x vlm vorbis win32codecs wma wxwindows x264 xinerama xml xml2 xmms xorg xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS
Re-emerge libtool, try again.
not help :( same error again
reinstall apr and apr-util resolve this problem for me