I have Firefox emerged with the -gtk2 USE flag, because I can't stand the look and feel of Firefox when compiled with GTK2. Anyhow, I also have mplayerplug-in emerged. When configure is run for mplayerplug-in, it detects which GTK library is installed and uses it. You have the options of using GTK1, GTK2, X, or none of the above. In my case, mplayerplug-in compiled against the GTK2 library because of this. When I try to use the plugin on certain sites, I get the following error message: "Toolkit mismatch mozilla(GTK1), plug-in (GTK2)" I can currently work around the issue using EXTRA_ECONF="--enable-gtk1" Reproducible: Always Steps to Reproduce: 1. env USE="-gtk2" emerge mozilla-firefox 2. emerge mplayerplug-in Actual Results: mplayerplug-in fails with a Toolkit Mismatch error message Expected Results: The choice of libraries should be decided through USE flags Portage 2.0.51_pre12 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.4.20040619-r0, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz Gentoo Base System version 1.5.1 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -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.2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://gentoo.oregonstate.edu http://www.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="X acpi alsa arts artswrappersuid audiofile avi berkdb cdr crypt cups dvd encode fam fbcon foomaticdb gdbm gif gpm gtk gtk2 imlib java javascript jpeg kde libg++ libwww mad mbox mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg ncurses nls nptl oggvorbis opengl pam pda pdflib perl png ppds python qt quicktime readline sasl sdl slang spell sse ssl svga tcltk tcpd tiff truetype usb x86 xml2 xmms xv zlib linguas_en"
If I'm not completely mistaking there should also be an X option for the following compile option: --enable-x
Fixed in the latest mplayerplug-in "gtk2" enables gtk2 and "-gtk2" enables gtk1.