Calculating dependencies \>>> Unpacking source... >>> Unpacking xfontselector-0.9-2.tar.gz >>> Source unpacked. patching file Makefile g++ -march=i686 -O3 -pipe -DNO_DEBUG -I/usr/qt/2/include -c -o xfontselector.o xfontselector.cpp /usr/qt/2/bin/moc xfontselector.h -o moc_xfontselector.cpp g++ -march=i686 -O3 -pipe -DNO_DEBUG -I/usr/qt/2/include -c -o moc_xfontselector.o moc_xfontselector.cpp xfontselector.cpp:23:22: X11/Xlib.h: No such file or directory In file included from /usr/include/g++-v31/backward/iostream.h:31, from xfontselector.cpp:25: /usr/include/g++-v31/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the header for the header for C++ includes, or instead of the deprecated header . To disable this warning use -Wno-deprecated. xfontselector.cpp: In member function `void FontSelector::get_font_list(int)': xfontselector.cpp:117: `XOpenDisplay' undeclared (first use this function) xfontselector.cpp:117: (Each undeclared identifier is reported only once for each function it appears in.) xfontselector.cpp:122: `XListFonts' undeclared (first use this function) xfontselector.cpp:212: `XFreeFontNames' undeclared (first use this function) xfontselector.cpp:213: `XCloseDisplay' undeclared (first use this function) make: *** [xfontselector.o] Error 1 g++ -march=i686 -O3 -pipe -DNO_DEBUG -I/usr/qt/2/include -c -o xfontselector.o xfontselector.cpp xfontselector.cpp:23:22: X11/Xlib.h: No such file or directory In file included from /usr/include/g++-v31/backward/iostream.h:31, from xfontselector.cpp:25: /usr/include/g++-v31/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the header for the header for C++ includes, or instead of the deprecated header . To disable this warning use -Wno-deprecated. xfontselector.cpp: In member function `void FontSelector::get_font_list(int)': xfontselector.cpp:117: `XOpenDisplay' undeclared (first use this function) xfontselector.cpp:117: (Each undeclared identifier is reported only once for each function it appears in.) xfontselector.cpp:122: `XListFonts' undeclared (first use this function) xfontselector.cpp:212: `XFreeFontNames' undeclared (first use this function) xfontselector.cpp:213: `XCloseDisplay' undeclared (first use this function) make: *** [xfontselector.o] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 2, Exitcode 2 !!! (no error message)  ...done! >>> emerge x11-misc/xfontselector-0.9.2 to / >>> md5 ;-) xfontselector-0.9-2.tar.gz !!! emerge aborting on /usr/portage/x11-misc/xfontselector/xfontselector-0.9.2.ebuild .