lnmp1.7安装失败
mysql5.6,php7.4麻烦各位大神帮忙解决一下
# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
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
。。。。。。
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
页:
[1]