When trying to emerge media-video/mkvtoolnix-1.8.0 the configure fails: [...] checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo... yes checking for ogg_sync_init in -logg... yes checking ogg/ogg.h usability... yes checking ogg/ogg.h presence... yes checking for ogg/ogg.h... yes checking for vorbis_synthesis_init in -lvorbis... yes checking vorbis/codec.h usability... yes checking vorbis/codec.h presence... yes checking for vorbis/codec.h... yes checking for FLAC__stream_decoder_new in -lFLAC... yes checking for FLAC__StreamMetadata_StreamInfo.sample_rate... yes checking for FLAC__stream_decoder_skip_single_frame in -lFLAC... yes checking for pcre-config... /usr/bin/pcre-config checking for libpcrecpp... no configure: error: Could not find the PCRE C++ library !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/media-video/mkvtoolnix-1.8.0/work/mkvtoolnix-1.8.0/config.log !!! ERROR: media-video/mkvtoolnix-1.8.0 failed. Call stack: ebuild.sh, line 1568: Called dyn_compile ebuild.sh, line 937: Called src_compile mkvtoolnix-1.8.0.ebuild, line 37: Called econf '--disable-lzo' '--enable-bz2' '--disable-gui' '--disable-debug' '--with-flac' ebuild.sh, line 540: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. $ emerge --info Portage 2.1.2_rc2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-suspend2-mw i686) ================================================================= System uname: 2.6.18-suspend2-mw i686 Intel(R) Pentium(R) M processor 1.73GHz Gentoo Base System version 1.12.6 Last Sync: Sat, 18 Nov 2006 08:20:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.6, 2.4.4 dev-python/pycrypto: 2.0.1-r5 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, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 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="-march=pentium-m -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=pentium-m -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://212.219.56.134/sites/www.ibiblio.org/gentoo/" LANG="C" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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.de.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X Xaw3d aac aalib acpi alsa aoss apache apache2 bash-completion berkdb bitmap-fonts blender-game branding bzip2 cairo cdparanoia cdr cli cracklib crypt crypto_openssl css cups curl dba dbus dedicated devmap dga directfb divx dlloader doc dri dvd dvdr dvi editor elibc_glibc emboss encode escreen exif expat fam fbcon ffmpeg firefox flac ftp gd gdbm gif gimpprint glut gnome gnutls gstreamer gtk gtk2 gtkhtml hal hddtemp i8x0 iconv icq idn imagemagick imap input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 jabber java john jpeg jpeg2k kernel_linux lame ldap libcaca libg++ libnotify logrotate mad mbox mmx mmxext mng mozdevelop mozilla mozsvg mp3 mpeg mysql nautilus ncurses nfs nls no-htdocs nptl nptlonly nsplugin nvidia offensive ogg openal opengl openssl oscar oss pam pcre pdf perl php png pop postfix postgres ppds python qt3 qt4 quicktime readline real realmedia rtc ruby samba sdl server session silverxp spell spl sqlite sse sse2 ssl startup-notification svg tcpd tetex theora thunderbird tiff tools truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales video_cards_fglrx vim vim-with-x visualization vorbis win32codecs wmf x264 xanim xchattext xine xml xorg xpm xprint xsl xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
It configures and builds fine here, but I have dev-libs/libpcre installed already, which provides libpcrecpp. That looks to me like dev-libs/libpcre needs to be added as a dependency in the ebuild.
Dep to libprcre added, it should be fixed now.
*** Bug 155642 has been marked as a duplicate of this bug. ***
*** Bug 155965 has been marked as a duplicate of this bug. ***
If you see this error with pcre installed, the headers may be corrupted, maybe due to some related update. Try emerge --oneshot libpcre - worked at least for me. The error as shown in the configure.log: configure:8333: x86_64-pc-linux-gnu-g++ -o conftest -O2 -march=athlon64 -fweb -pipe -fomit-frame-pointer conftest.cpp -L/usr/lib64 -lpcre -lpcrecpp >&5 In file included from /usr/include/pcrecpp.h:333, from conftest.cpp:33: /usr/include/pcre_stringpiece.h:50:30: error: bits/type_traits.h: No such file or directory /usr/include/pcre_stringpiece.h:160: error: '__type_traits' is not a template /usr/include/pcre_stringpiece.h:160: error: explicit specialization of non-template '__type_traits'