# emerge teg Calculating dependencies ...done! >>> emerge app-games/teg-0.10.1 to / >>> md5 ;-) teg-0.10.1.tar.gz >>> Unpacking source... >>> Unpacking teg-0.10.1.tar.gz >>> Source unpacked. nls readline creating cache ./config.cache checking for a BSD compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking whether the C compiler (gcc -march=pentium4 -O4 -pipe ) works... yes checking whether the C compiler (gcc -march=pentium4 -O4 -pipe ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether ln -s works... yes checking for Cygwin environment... no checking for mingw32 environment... no checking how to run the C preprocessor... gcc -E checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependant libraries... pass_all checking for object suffix... o checking for executable suffix... no checking command to parse /usr/bin/nm -B output... ok checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... no creating libtool checking for strerror in -lcposix... no checking for ANSI C header files... yes checking for glib-config... /usr/bin/glib-config checking for GLIB - version >= 1.2.0... yes checking for gnome-config... /usr/bin/gnome-config Unknown library `xml' checking for xmlNewDoc in -lxml... Unknown library `xml' no configure: error: Could not link sample xml program make: *** No targets specified and no makefile found. Stop. !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -20, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/app-games/teg/teg-0.10.1.ebuild .
It seems there is a dependency missing: libxml (libxml2 seems not to work for teg).
you should consider to include libxml as an dependency
definitely