wish5115 发表于 2021-10-22 13:41:40

请教军哥,天翼云安装lnmp失败

本帖最后由 wish5115 于 2021-10-22 13:49 编辑

============================== Check install ==============================
Checking ...
Error: Nginx install failed.
Error: MySQL install failed.
Error: PHP install failed.
Sorry, Failed to install LNMP!
Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum

系统:CentOS7.6 64位Linux ecs-b0ae-1014592 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
日志见附件


wish5115 发表于 2021-10-22 13:52:24

CPU: 8核16G

licess 发表于 2021-10-22 17:55:10

checking how to run the C preprocessor... /lib/cpp
configure: error: in `/root/lnmp1.8-full/src/freetype-2.7/builds/unix':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
make: *** Error 1
。。。。。。
checking how to run the C preprocessor... /lib/cpp
configure: error: in `/root/lnmp1.8-full/src/php-7.4.21':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
。。。。。。
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

参考:https://bbs.vpser.net/thread-25571-1-1.html

wish5115 发表于 2021-10-23 16:51:36

可以了,非常感谢军哥!:victory::hug:
页: [1]
查看完整版本: 请教军哥,天翼云安装lnmp失败