BUG ./configure /install #25035

issue mahyariiii opened this issue on April 29, 2022
  1. mahyariiii commented at 9:07 PM on April 29, 2022: none

    After the latest update Can not be installed In the ./configure section with the following problem

    ./configure

    . . . checking dependency style of g++... gcc3 checking whether g++ supports C++17 features with -std=c++17... yes checking whether std::atomic can be used without link library... yes checking whether std::filesystem can be used without link library... no checking whether std::filesystem needs -lstdc++fs... no checking whether std::filesystem needs -lc++fs... configure: error: in /home/bi tcoin': configure: error: cannot figure out how to use std::filesystem See config.log' for more details

  2. mahyariiii added the label Bug on Apr 29, 2022
  3. MarcoFalke commented at 6:38 AM on April 30, 2022: member

    What OS/gcc version?

  4. mahyariiii commented at 12:44 PM on April 30, 2022: none

    OS/gcc version?

    Ubuntu 18.04

  5. MarcoFalke commented at 1:24 PM on April 30, 2022: member

    You'll need to install gcc-8 or clang-10 and pass them to configure.

    CC=gcc-8 CXX=g++-8 ./configure or CC=clang-10 CXX=clang++-10 ./configure

  6. MarcoFalke closed this on Apr 30, 2022

  7. mahyariiii commented at 6:07 PM on May 1, 2022: none

    You'll need to install gcc-8 or clang-10 and pass them to configure.

    CC=gcc-8 CXX=g++-8 ./configure or CC=clang-10 CXX=clang++-10 ./configure

    Hello I installed both and again the same problem when requesting ./configure

  8. sipa commented at 6:12 PM on May 1, 2022: member

    You need to run CC=gcc-8 CXX=g++-8 ./configure

  9. mahyariiii commented at 7:47 PM on May 1, 2022: none

    thank you after install gcc-8 g++-8 ...... this problem was solved with this command

    sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 40

  10. BitcoinMechanic commented at 12:03 AM on May 26, 2022: none

    Having the same issue on Mac OS 10.14.x - intel processor.

    error:

    checking whether std::atomic can be used without link library... yes
    checking whether std::filesystem can be used without link library... no
    checking whether std::filesystem needs -lstdc++fs... no
    checking whether std::filesystem needs -lc++fs... configure: error: in `/Users/xxx/bitcoin/bitcoin':
    configure: error: cannot figure out how to use std::filesystem
    

    after CC=gcc-8 CXX=g++-8 ./configure:

    checking whether make supports nested variables... (cached) yes
    checking whether the C++ compiler works... no
    configure: error: in `/Users/xxx/bitcoin/bitcoin':
    configure: error: C++ compiler cannot create executables
    
  11. DrahtBot locked this on May 26, 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-17 06:13 UTC

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