VPS侦探论坛

标题: lnmp1.8和1.7都没法安装 [打印本页]

作者: cong101    时间: 2021-6-25 21:24
标题: lnmp1.8和1.7都没法安装
一开始弄了1.8,报错装不上,没在意,以为太高了换1.7,结果一样,系统是CentOS7.6 64位

作者: cong101    时间: 2021-6-25 21:26
============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: 100.125.0.40
* extras: 100.125.0.40
* updates: 100.125.0.40
Package iptables-services-1.4.21-35.el7.x86_64 already installed and latest version
Nothing to do
iptables: Saving firewall rules to /etc/sysconfig/iptables: [  OK  ]
Redirecting to /bin/systemctl reload iptables.service
Job for iptables.service invalid.
Add iptables service at system startup...
Add Startup and Starting LNMP...
Add nginx service at system startup...
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
Add mysql service at system startup...
Add php-fpm service at system startup...
============================== 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.



作者: licess    时间: 2021-6-26 17:35
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

。。。。。。
/usr/include/bits/local_lim.h:38:26: fatal error: linux/limits.h: No such file or directory
#include <linux/limits.h>
                          ^
compilation terminated.

。。。。。。
In file included from /usr/include/errno.h:35:0,
                 from /root/lnmp1.7/src/mysql-5.6.48/extra/libevent/buffer.c:73:
/usr/include/bits/errno.h:24:26: fatal error: linux/errno.h: No such file or directory
# include <linux/errno.h>
                          ^
compilation terminated.
。。。。。。
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




欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) Powered by Discuz! X3.4