- 积分
- 117977
- 威望
-
- 金钱
-
- 注册时间
- 2009-4-24
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
发表于 2020-1-4 15:12:55
|
显示全部楼层
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
。。。。。
In file included from /usr/include/bits/posix1_lim.h:160:0,
from /usr/include/limits.h:144,
from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/limits.h:168,
from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/syslimits.h:7,
from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/limits.h:34,
from /root/lnmp/src/mysql-8.0.13/build/extra/zlib/zconf.h:420,
from /root/lnmp/src/mysql-8.0.13/extra/zlib/zlib.h:34,
from /root/lnmp/src/mysql-8.0.13/extra/zlib/zutil.h:22,
from /root/lnmp/src/mysql-8.0.13/extra/zlib/adler32.c:8:
/usr/include/bits/local_lim.h:38:26: fatal error: linux/limits.h: No such file or directory
#include <linux/limits.h>
^
compilation terminated.
。。。。。
checking for void * size ... 8 bytes
checking for uint32_t ... uint32_t not found, u_int32_t not found
./configure: error: can not define uint32_t
limits.h这种gcc包里都包含了,也提示已经安装了,肯定是你系统上有部分文件被误删之类的
还有其他各种各样的问题,最简单的方法,如果是自己捣鼓过重新安装系统,重装完就这样这系统有问题没法用直接换其他版本或linux发行版
|
|