默认安装过程提示报错《fatal error: stdarg.h not found找不到》,但仍然完成了安装
![](https://i-blog.csdnimg.cn/blog_migrate/8677f61c4b1fa81f5eb4e4a538c4d49d.png)
最终启动失败
检查 /usr/include 目录,的确没有这个头文件。find 发现在 /usr/lib/gcc/x86_64-linux-gnu/8/include/
解决方案:
在当前窗口执行以下配置
# gcc/g++ include, Kevin 2021-8-11
export INCLUDE=/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/:/usr/lib/gcc/x86_64-linux-gnu/8/include/
export C_INCLUDE_PATH=/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/:/usr/lib/gcc/x86_64-linux-gnu/8/include/
export CPLUS_INCLUDE_PATH=/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/:/usr/lib/gcc/x86_64-linux-gnu/8/include/
#gcc/g++ lib path
export LD_LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/8/
随便也把这个写入了 `/etc/bash.bashrc` 方便日后操作