checking for audio/audiolib.h... yes checking for AuOpenServer in -laudio... yes checking for TTY-related features checking for ncurses/curses.h... no checking for ncurses/term.h... no checking for ncurses/curses.h... no checking for database support checking for ndbm.h... yes checking for dbm_open in -lgdbm... no Error: Required GNU DBM support cannot be provided. Also it fails to detect ncurses correctly as it seems. I have sys-libs/ncurses-5.4-r5 installed, so it should.
Confirmed - libgdbm.so.3 does not contain dbm_open anymore. libgdbm_compat could offer a possible solution, but I don't see yet how to apply this to xemacs. See also http://forums.gentoo.org/viewtopic.php?p=1761255#1761255 and http://bugs.gentoo.org/show_bug.cgi?id=32510
Created attachment 44445 [details, diff] Patch for xemacs ebuilds to address -lgdbm configure error. Run configure with LIBS="-lgdbm -lgdbm_compat" fixes problem.
See also Bug #58350
This bug is also in xemacs-gtk. Patching .ebuild-File to use LIBS="-lgdbm -lgdbm_compat" ./configure... does help.
*** This bug has been marked as a duplicate of 58350 ***