configure: error: C++ compiler cannot create executables

You need to install c++ on your computer. even if you installed gcc that doesn’t automatically install g++. Try to run one of the following commands that fit your Linux distribution best :)
终端输入
apt-get install g++
请使用浏览器的分享功能分享到微信等