当我安装堆栈在我的 Ubuntu 16.04 中:
...
checking for sqrt... no
checking for functional regular expressions... configure: error: Regular expressions are not functional, you need g++ 4.9.0 or greater.
我检查我的 g++ 有8.2.0
:
suser@suser-S2600CP[stacks-1.48] g++ -v [10:34]
using specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-pc-linux-gnu/8.2.0/lto-wrapper
target:x86_64-pc-linux-gnu
configure:../configure -enable-checking=release -enable-languages=c,c++ -disable-multilib
threading model:posix
gcc version 8.2.0 (GCC)