> In file included from ../dist/./../cxx/cxx_db.cpp:13:
./db_cxx.h:59:10: fatal error: 'iostream.h' file not found
The issue is some code like this in bdb:
#ifdef HAVE_CXX_STDHEADERS
#include <iostream>
#include <exception>
#define __DB_STD(x) std::x
#else
#include <iostream.h>
#include <exception.h>
#define __DB_STD(x) x
#endif
For some reason, configure fails to detect C++ header availability, and HAVE_CXX_STDHEADERS is not defined. Is g++ and a C++ standard library definitely available, which version?
Are you able to post the output of config.log from the bdb build in depends? That should show why the configure check fails to detect the c++ headers. You can get that output using:
gmake -C depends bdb_configured
cat depends/work/build/your-build-triplet/bdb/4.8.30-somehash/build_unix/config.log
Originally posted by @fanquake in #28963 (comment)