While emerging unison-2.13.0 I got the error while compiling lablgtk. It seems like the problem comes from having USE="opengl" flag enabled. # emerge -av unison These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] dev-ml/lablgtk-2.4.0 -debug +doc -glade +gnome -gnomecanvas +opengl +svg 0 kB [ebuild N ] net-misc/unison-2.13.0 -debug +doc +gtk +gtk2 -static -threads 0 kB Total size of downloads: 0 kB Do you want me to merge these packages? [Yes/No] >>> emerge (1 of 2) dev-ml/lablgtk-2.4.0 to / >>> md5 files ;-) lablgtk-1.2.7.ebuild >>> md5 files ;-) lablgtk-2.4.0.ebuild >>> md5 files ;-) lablgtk-2.2.0.ebuild >>> md5 files ;-) lablgtk-1.2.6.ebuild >>> md5 files ;-) lablgtk-1.2.5.ebuild >>> md5 files ;-) files/digest-lablgtk-1.2.6 >>> md5 files ;-) files/digest-lablgtk-1.2.7 >>> md5 files ;-) files/digest-lablgtk-2.2.0 >>> md5 files ;-) files/lablgtk-2.4.0-gcc34.patch >>> md5 files ;-) files/digest-lablgtk-2.4.0 >>> md5 files ;-) files/digest-lablgtk-1.2.5 >>> md5 src_uri ;-) lablgtk-2.4.0.tar.gz >>> Unpacking source... >>> Unpacking lablgtk-2.4.0.tar.gz to /var/tmp/portage/lablgtk-2.4.0/work * Applying lablgtk-2.4.0-gcc34.patch ... [ ok ]configure.in:406: warning: underquoted definition of CONF_SUMMARY run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/share/aclocal/pth.m4:43: warning: underquoted definition of _AC_PTH_ERROR /usr/share/aclocal/pth.m4:55: warning: underquoted definition of _AC_PTH_VERBOSE /usr/share/aclocal/pth.m4:61: warning: underquoted definition of AC_CHECK_PTH /usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT /usr/share/aclocal/libfame.m4:6: warning: underquoted definition of AM_PATH_LIBFAME /usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB /usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB /usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK /usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB /usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE /usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO configure.in:406: warning: underquoted definition of CONF_SUMMARY run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/share/aclocal/pth.m4:43: warning: underquoted definition of _AC_PTH_ERROR /usr/share/aclocal/pth.m4:55: warning: underquoted definition of _AC_PTH_VERBOSE /usr/share/aclocal/pth.m4:61: warning: underquoted definition of AC_CHECK_PTH /usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT /usr/share/aclocal/libfame.m4:6: warning: underquoted definition of AM_PATH_LIBFAME /usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB /usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB /usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK /usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB /usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE /usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO >>> Source unpacked. ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu --with-rsvg --without-glade --with-gnomecanvas --with-gnomeui --with-panel --with-gl checking for ocamlc... ocamlc ocaml version is 3.08.1 ocaml library path is /usr/lib/ocaml Default install dirs are : /usr/lib/ocaml/lablgtk2 and /usr/lib/ocaml/stublibs Compile with ocamlc -I +lablgtk2 checking for ocamlopt... ocamlopt checking ocamlopt version... ok checking for ocamlc.opt... ocamlc.opt checking ocamlc.opt version... ok checking for ocamlopt.opt... ocamlopt.opt checking ocamlc.opt version... ok checking for ocamlrun... ocamlrun checking for ocamldep... ocamldep checking for ocamldoc... ocamldoc checking for ocamllex... ocamllex checking for ocamllex.opt... ocamllex.opt checking for ocamlyacc... ocamlyacc checking for ocamlmktop... ocamlmktop checking for ocamlmklib... ocamlmklib checking for camlp4o... camlp4o checking for ocaml threads... system checking for ocaml dll support... yes checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib OCaml uses to compile C files checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking platform... Unix checking for pkg-config... /usr/bin/pkg-config checking for GTK+ - version >= 2.0.0... yes (version 2.6.7) checking for x86_64-pc-linux-gnu-pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GTK_CFLAGS... -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include checking for GTK_LIBS... -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 checking lablGL directory... +lablGL checking for GTKGL_CFLAGS... checking for GTKGL_LIBS... configure: error: gtkgl enforced but support not found !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/lablgtk-2.4.0/work/lablgtk-2.4.0/config.log !!! ERROR: dev-ml/lablgtk-2.4.0 failed. !!! Function econf, Line 485, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. And after disabling the flag, it compiles fine: # USE="-opengl" emerge -av1 lablgtk Reproducible: Always Steps to Reproduce: As described above. Actual Results: With USE="opengl" lablgtk fails to compile. With USE="-opengl" lablgtk compiles fine. Expected Results: Probably some more dependencies should be included to avoid the error: checking for GTKGL_LIBS... configure: error: gtkgl enforced but support not found # emerge --info Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r6 x86_64) ================================================================= System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=k8 -ffast-math -fomit-frame-pointer -mfpmath=sse -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=k8 -ffast-math -fomit-frame-pointer -mfpmath=sse -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.netnitco.net http://gentoo.inode.at http://src.gentoo.pl" LANG="pl_PL" LC_ALL="pl_PL" LINGUAS="pl" 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="amd64 X accessibility acl acpi aim alsa arts artworkextra avi bash-completion berkdb bitmap-fonts bzip2 cdr crypt cups curl dio doc dvd dvdr eds encode esd evo foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal icq ieee1394 imagemagick imap imlib inifile innodb ipv6 jabber java jpeg junit justify kde kdeenablefinal libwww logitech-mouse lzw lzw-tiff mad mikmod mime motif mozilla mozsvg mozxmlterm mp3 mpeg msn mysql ncurses nls nptl nptlonly nvidia ogg oggvorbis openexr opengl pam pcre pdflib perl php pic png postgres python qt quicktime readline ruby samba sdl slang soap spell ssl svg tcpd tetex tidy tiff truetype truetype-fonts type1-fonts unicode usb usepackagedmakefiles userlocales videos vorbis wmf xine xml2 xmlrpc xmms xpm xsl xv xvid yahoo zlib linguas_pl userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS
Created attachment 67962 [details] lablgtk-2.4.0/config.log emerge said: !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/lablgtk-2.4.0/work/lablgtk-2.4.0/config.log So, the file is attached.
You probably have a messed up gtkgl installation (try to find gtkgl-2.0.pc somewhere in /usr, it should be in /usr/lib/pkgconfig). Try with the latest gtkglarea ebuild and it should work fine.
You're probably right. Trying newer versions is always a good habit :) Thanks for the suggestion - I'll try it if I hit the same problem again.