mysql 发表于 2022-6-27 09:15:44

阿里云服务器 lnmp1.9 php安装失败

PHP安装失败 大神帮忙看看怎么回事。


服务器是阿里云的Alibaba Cloud Linux 3.21.04
lnmp1.9


第一次安装的时候php和mysql失败了
之后单独装的mysql没问题
再装PHP就一直失败

licess 发表于 2022-6-27 19:56:30


Downloading Packages:
re2c-0.14.3-2.1.al8.x86_64.rpm: Already downloaded                  
Running transaction check
Waiting for process with pid 41528 to finish.
No such file or directory: '/var/cache/dnf/alinux3-powertools-aa5580218919c372/packages/re2c-0.14.3-2.1.al8.x86_64.rpm'
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
Waiting for process with pid 41677 to finish.
。。。。。。
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... ./configure: line 4574: conftest.c: No such file or directory
./configure: line 2173: conftest.err: No such file or directory
sed: can't read conftest.c: No such file or directory
./configure: line 2173: conftest.err: No such file or directory
sed: can't read conftest.c: No such file or directory
./configure: line 2173: conftest.err: No such file or directory
sed: can't read conftest.c: No such file or directory
./configure: line 2173: conftest.err: No such file or directory
sed: can't read conftest.c: No such file or directory
./configure: line 2173: conftest.err: No such file or directory
sed: can't read conftest.c: No such file or directory
./configure: line 2173: conftest.err: No such file or directory
sed: can't read conftest.c: No such file or directory
./configure: line 2173: conftest.err: No such file or directory
sed: can't read conftest.c: No such file or directory
unsupported
checking whether gcc understands -c and -o together... ./configure: line 4673: conftest.c: No such file or directory
no
checking whether make supports the include directive... ./configure: line 4727: confinc.mk: No such file or directory
./configure: line 4735: confmf.BSD: No such file or directory
./configure: line 4737: confmf.GNU: No such file or directory
no
checking dependency style of /root/lnmp1.9/src/libiconv-1.16/build-aux/compile gcc... none
checking how to run the C preprocessor... ./configure: line 4940: conftest.c: No such file or directory
./configure: line 2211: conftest.i: No such file or directory
sed: can't read conftest.c: No such file or directory
./configure: line 4940: conftest.c: No such file or directory
./configure: line 2211: conftest.i: No such file or directory
sed: can't read conftest.c: No such file or directory
./configure: line 4940: conftest.c: No such file or directory
./configure: line 2211: conftest.i: No such file or directory
sed: can't read conftest.c: No such file or directory
./configure: line 4940: conftest.c: No such file or directory
./configure: line 2211: conftest.i: No such file or directory
sed: can't read conftest.c: No such file or directory
./configure: line 4940: conftest.c: No such file or directory
./configure: line 2211: conftest.i: No such file or directory
sed: can't read conftest.c: No such file or directory
./configure: line 4940: conftest.c: No such file or directory
./configure: line 2211: conftest.i: No such file or directory
sed: can't read conftest.c: No such file or directory
/lib/cpp
./configure: line 4999: conftest.c: No such file or directory
./configure: line 2211: conftest.i: No such file or directory
sed: can't read conftest.c: No such file or directory
./configure: line 4999: conftest.c: No such file or directory
./configure: line 2211: conftest.i: No such file or directory
sed: can't read conftest.c: No such file or directory
configure: error: in `/root/lnmp1.9/src/libiconv-1.16':
configure: error: C preprocessor "/lib/cpp" fails sanity check

......
./configure: line 42522: ./build/shtool: No such file or directory
./configure: line 42529: ./build/shtool: No such file or directory

。。。。。
crypto/bn/asm/x86_64-gcc.o crypto/bn/asm/x86_64-gcc.c
In file included from crypto/bn/asm/x86_64-gcc.c:10:
crypto/bn/asm/../bn_local.h:21:12: fatal error: crypto/bn_conf.h: No such file or directory
   21 | #include "crypto/bn_conf.h"
      |            ^~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** Error 1

居多错误信息,正常全新安装的系统都没问题,系统初始化之后做过什么操作?
没有数据的话没有修复的意义,建议直接重装后安装

licess 发表于 2022-6-27 12:19:58

lnmp安装失败需要上传lnmp安装失败的日志,你传的php升级的日志

mysql 发表于 2022-6-27 13:04:21

lnmp安装日志

mysql 发表于 2022-6-27 13:06:35

licess 发表于 2022-6-27 12:19
lnmp安装失败需要上传lnmp安装失败的日志,你传的php升级的日志

下面这个是lnmp的日志

mysql 发表于 2022-6-27 20:18:57

licess 发表于 2022-6-27 19:56
居多错误信息,正常全新安装的系统都没问题,系统初始化之后做过什么操作?
没有数据的话没有修复的意义, ...

之前用的CentOS 8,因为不支持了,装成了alibaba cloud linux,装好后只执行了个yum update
页: [1]
查看完整版本: 阿里云服务器 lnmp1.9 php安装失败