VPS侦探论坛

 找回密码
 注册
查看: 3211|回复: 2

lnmp安装出错

[复制链接]
发表于 2020-1-3 18:45:40 | 显示全部楼层 |阅读模式

log:  https://send.firefox.com/download/a520a64bfca5564c/#THtK8skXL90_MEavF8iY6Q   密码:lnmp
lnmp1.6安装出错,请大佬帮忙看下,谢谢!
系统Centos 7.7 x64


美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2020-1-3 19:26:12 | 显示全部楼层


log                        

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 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发行版
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-22 01:40 , Processed in 0.026533 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表