. #28982

issue DMUNEY45 opened this issue on December 1, 2023
  1. DMUNEY45 commented at 10:37 AM on December 1, 2023: none
              > 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)

  2. fanquake closed this on Dec 1, 2023

  3. bitcoin locked this on Dec 1, 2023
  4. fanquake renamed this:
    > In file included from ../dist/./../cxx/cxx_db.cpp:13:
    .
    on Dec 1, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me