lnmp安装出错
log:https://send.firefox.com/download/a520a64bfca5564c/#THtK8skXL90_MEavF8iY6Q 密码:lnmplnmp1.6安装出错,请大佬帮忙看下,谢谢!
系统Centos 7.7 x64
log 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发行版
页:
[1]