VPS侦探论坛

 找回密码
 注册
查看: 588|回复: 1

lnmp1.7安装失败

[复制链接]
发表于 2022-1-24 17:26:40 | 显示全部楼层 |阅读模式

mysql5.6,php7.4

麻烦各位大神帮忙解决一下
[root@ecs-32c3-0007 ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin

本帖子中包含更多资源

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

x
美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2022-1-25 11:09:58 | 显示全部楼层


configure: error: in `/etc/yum.repos.d/lnmp1.7/src/libiconv-1.15':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details


。。。。。。
[  0%] Building C object zlib/CMakeFiles/zlib.dir/adler32.o
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 /etc/yum.repos.d/lnmp1.7/src/mysql-5.6.48/zlib/zconf.h:420,
                 from /etc/yum.repos.d/lnmp1.7/src/mysql-5.6.48/zlib/zlib.h:34,
                 from /etc/yum.repos.d/lnmp1.7/src/mysql-5.6.48/zlib/zutil.h:22,
                 from /etc/yum.repos.d/lnmp1.7/src/mysql-5.6.48/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 cc option to accept ISO C89... none needed
checking how to run the C preprocessor... /lib/cpp
configure: error: in `/etc/yum.repos.d/lnmp1.7/src/php-7.4.12':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details

.....
checking for uint32_t ... uint32_t not found, u_int32_t not found
./configure: error: can not define uint32_t
make: *** No rule to make target `build', needed by `default'.  Stop.

参考:https://bbs.vpser.net/thread-25571-1-1.html
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2022-5-27 20:47 , Processed in 0.016384 second(s), 17 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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