... checking for malloc.h... (cached) yes checking for ostream.h... no checking for iostream.h... no checking for fstream.h... no configure: error: To compile ht://Dig, you will need a C++ library. Try installing libstdc++. !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 11, Exitcode 1 !!! (no error message) !!! emerge aborting on /usr/portage/net-www/htdig/htdig-3.1.6-r3.ebuild .
These errors on configure seem to disappear if the 'configure' script is searched for all instances of ostream.h fstream.h and iostream.h and they are replaced by ostream fstream and iostream (The C++ standard). This doesn't stop the make step stopping with a syntax error about ostream being out of scope. I've tried correcting the includes on this to no avail.
This probably means that 'ostream' should be replaced by 'std::ostream'. Alternatively, 'using namespace std;' can be placed at the top of the source files.
Works with latest ebuild. Bug can be closed.