Calculating dependencies \>>> Unpacking source... >>> Unpacking groff-1.17.2.tar.gz patching file doc/Makefile patching file doc/groff.texinfo >>> Source unpacked. configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for i686-pc-linux-gnu-gcc... gcc-3.1 checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc-3.1 accepts -g... yes checking for i686-pc-linux-gnu-g++... g++-3.1 checking whether we are using the GNU C++ compiler... yes checking whether g++-3.1 accepts -g... yes checking that C++ compiler can compile simple program... no configure: error: a working C++ compiler is required !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 7, Exitcode 1 !!! (no error message)  ...done! >>> emerge sys-apps/groff-1.17.2-r2 to / >>> md5 ;-) groff-1.17.2.tar.gz !!! emerge aborting on /usr/portage/sys-apps/groff/groff-1.17.2-r2.ebuild .