当前位置:论坛首页 > Linux面板 > 求助

【已解决】无法安装软件

发表在 Linux面板2024-1-24 10:33 [复制链接] 5 937

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:8.05
系统版本:centos7
问题描述:无法安装软件

相关截图(日志、错误):长度限制,复制部分日志
Configured for linux-x86_64.making all in crypto...make[1]: Entering directory `/root/openssl-1.0.2u/crypto'make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule./bin/perl ../util/mkbuildinf.pl "gcc -I. -I.. -I../include -fPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -m64 -DL_ENDIAN -O3 -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM" "linux-x86_64" >buildinf.hgcc -I. -I.. -I../include -fPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -m64 -DL_ENDIAN -O3 -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -c -o cryptlib.o cryptlib.cIn file included from /usr/include/features.h:399:0,from /usr/include/stdlib.h:24,from cryptlib.h:62,from cryptlib.c:117:/usr/include/gnu/stubs.h:10:27: fatal error: gnu/stubs-64.h: No such file or directory# include <gnu/stubs-64.h>^compilation terminated.make[1]: *** [cryptlib.o] Error 1make[1]: Leaving directory `/root/openssl-1.0.2u/crypto'make: *** [build_crypto] Error 1making all in crypto...make[1]: Entering directory `/root/openssl-1.0.2u/crypto'gcc -I. -I.. -I../include -fPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -m64 -DL_ENDIAN -O3 -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -c -o cryptlib.o cryptlib.cIn file included from /usr/include/features.h:399:0,from /usr/include/stdlib.h:24,from cryptlib.h:62,from cryptlib.c:117:/usr/include/gnu/stubs.h:10:27: fatal error: gnu/stubs-64.h: No such file or directory# include <gnu/stubs-64.h>^compilation terminated.make[1]: *** [cryptlib.o] Error 1make[1]: Leaving directory `/root/openssl-1.0.2u/crypto'make: *** [build_crypto] Error 1--2024-01-24 10:14:45-- https://ctcc2-node.bt.cn/src/curl-7.70.0.tar.gzResolving ctcc2-node.bt.cn (ctcc2-node.bt.cn)... 103.212.48.148Connecting to ctcc2-node.bt.cn (ctcc2-node.bt.cn)|103.212.48.148|:443... connected.HTTP request sent, awaiting response... 200 OKLength: 3986357 (3.8M) [application/octet-stream]Saving to: ‘curl-7.70.0.tar.gz’   3850K .......... .......... .......... .......... .. 100% 35.9M=0.3s2024-01-24 10:14:45 (11.8 MB/s) - ‘curl-7.70.0.tar.gz’ saved [3986357/3986357]checking whether to enable maintainer-specific portions of Makefiles... nochecking whether make supports nested variables... yeschecking whether to enable debug build options... nochecking whether to enable compiler optimizer... (assumed) yeschecking whether to enable strict compiler warnings... nochecking whether to enable compiler warnings as errors... nochecking whether to enable curl debug memory tracking... nochecking whether to enable hiding of library internal symbols... yeschecking whether to enable c-ares for DNS lookups... yeschecking whether to disable dependency on -lrt... (assumed no)checking whether to enable ESNI support... nochecking for path separator... :checking for sed... /bin/sedchecking for grep... /bin/grepchecking for egrep... /bin/grep -Echecking for ar... /bin/archecking for a BSD-compatible install... /bin/install -cchecking for gcc... gccchecking whether the C compiler works... noconfigure: error: in `/root/curl-7.70.0':configure: error: C compiler cannot create executablesSee `config.log' for more detailschecking whether to enable maintainer-specific portions of Makefiles... nochecking whether make supports nested variables... yeschecking whether to enable debug build options... nochecking whether to enable compiler optimizer... (assumed) yeschecking whether to enable strict compiler warnings... nochecking whether to enable compiler warnings as errors... nochecking whether to enable curl debug memory tracking... nochecking whether to enable hiding of library internal symbols... yeschecking whether to enable c-ares for DNS lookups... nochecking whether to disable dependency on -lrt... (assumed no)checking whether to enable ESNI support... nochecking for path separator... :checking for sed... /bin/sedchecking for grep... /bin/grepchecking for egrep... /bin/grep -Echecking for ar... /bin/archecking for a BSD-compatible install... /bin/install -cchecking for gcc... gccchecking whether the C compiler works... noconfigure: error: in `/root/curl-7.70.0':configure: error: C compiler cannot create executablesSee `config.log' for more details./configurechecking whether to enable maintainer-specific portions of Makefiles... nochecking whether make supports nested variables... yeschecking whether to enable debug build options... nochecking whether to enable compiler optimizer... (assumed) yeschecking whether to enable strict compiler warnings... nochecking whether to enable compiler warnings as errors... nochecking whether to enable curl debug memory tracking... nochecking whether to enable hiding of library internal symbols... yeschecking whether to enable c-ares for DNS lookups... nochecking whether to disable dependency on -lrt... (assumed no)checking whether to enable ESNI support... nochecking for path separator... :checking for sed... /bin/sedchecking for grep... /bin/grepchecking for egrep... /bin/grep -Echecking for ar... /bin/archecking for a BSD-compatible install... /bin/install -cchecking for gcc... gccchecking whether the C compiler works... noconfigure: error: in `/root/curl-7.70.0':configure: error: C compiler cannot create executablesSee `config.log' for more detailsmake: *** [all] Error 77make: *** No rule to make target `install'. Stop.--2024-01-24 10:14:46-- https://ctcc2-node.bt.cn/src/mhash-0.9.9.9.tar.gzResolving ctcc2-node.bt.cn (ctcc2-node.bt.cn)... 103.212.48.148Connecting to ctcc2-node.bt.cn (ctcc2-node.bt.cn)|103.212.48.148|:443... connected.HTTP request sent, awaiting response... 200 OKLength: 931437 (910K) [application/octet-stream]Saving to: ‘mhash-0.9.9.9.tar.gz’   1250K .......... .......... .......... .......... .......... 99% 41.1M 0s1300K ... 100% 98.1M=0.2s2024-01-24 10:14:48 (5.58 MB/s) - ‘libmcrypt-2.5.8.tar.gz’ saved [1335178/1335178]checking build system type... x86_64-redhat-linux-gnuchecking host system type... x86_64-redhat-linux-gnuchecking target system type... x86_64-redhat-linux-gnuchecking for a BSD-compatible install... /bin/install -cchecking whether build environment is sane... yeschecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking whether to enable maintainer-specific portions of Makefiles... nochecking whether make sets $(MAKE)... (cached) yeschecking for g++... g++checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executablesSee `config.log' for more details.make all-recursivemake[1]: Entering directory `/root/libmcrypt-2.5.8'Making all in modulesmake[2]: Entering directory `/root/libmcrypt-2.5.8/modules'make[2]: *** No rule to make target `all'. Stop.make[2]: Leaving directory `/root/libmcrypt-2.5.8/modules'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/root/libmcrypt-2.5.8'make: *** [all] Error 2Making install in modulesmake[1]: Entering directory `/root/libmcrypt-2.5.8/modules'make[1]: *** No rule to make target `install'. Stop.make[1]: Leaving directory `/root/libmcrypt-2.5.8/modules'make: *** [install-recursive] Error 1creating cache ./config.cachechecking for a BSD compatible install... /bin/install -cchecking whether build environment is sane... yeschecking whether make sets ${MAKE}... yeschecking for working aclocal... foundchecking for working autoconf... foundchecking for working automake... foundchecking for working autoheader... foundchecking for working makeinfo... missingchecking whether to enable maintainer-specific portions of Makefiles... nochecking for gcc... gccchecking whether the C compiler (gcc ) works... noconfigure: error: installation or configuration problem: C compiler cannot create executables.make: *** No targets specified and no makefile found. Stop.--2024-01-24 10:14:51-- https://ctcc2-node.bt.cn/src/mcrypt-2.6.8.tar.gzResolving ctcc2-node.bt.cn (ctcc2-node.bt.cn)... 103.212.48.148Connecting to ctcc2-node.bt.cn (ctcc2-node.bt.cn)|103.212.48.148|:443... connected.HTTP request sent, awaiting response... 200 OKLength: 471915 (461K) [application/octet-stream]Saving to: ‘mcrypt-2.6.8.tar.gz’0K .......... .......... .......... .......... .......... 10% 1.18M 0s
450K .......... 100% 55.2M=0.2s2024-01-24 10:14:52 (2.08 MB/s) - ‘mcrypt-2.6.8.tar.gz’ saved [471915/471915]checking build system type... x86_64-unknown-linux-gnuchecking host system type... x86_64-unknown-linux-gnuchecking target system type... x86_64-unknown-linux-gnuchecking for a BSD-compatible install... /bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking for style of include used by make... GNUchecking for gcc... gccchecking for C compiler default output file name...configure: error: C compiler cannot create executablesSee `config.log' for more details.make: *** No targets specified and no makefile found. Stop.make: *** No rule to make target `install'. Stop.--2024-01-24 10:14:53-- https://ctcc2-node.bt.cn/src/libiconv-1.14.tar.gzResolving ctcc2-node.bt.cn (ctcc2-node.bt.cn)... 103.212.48.148Connecting to ctcc2-node.bt.cn (ctcc2-node.bt.cn)|103.212.48.148|:443... connected.HTTP request sent, awaiting response... 200 OKLength: 4984397 (4.8M) [application/octet-stream]Saving to: ‘libiconv-1.14.tar.gz’   4800K .......... .......... .......... .......... .......... 99% 21.5M 0s4850K .......... ....... 100% 76.8M=1.3s  patching file srclib/stdio.in.hchecking for a BSD-compatible install... /bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking whether make sets $(MAKE)... (cached) yeschecking for gcc... gccchecking whether the C compiler works... noconfigure: error: in `/root/libiconv-1.14':configure: error: C compiler cannot create executablesSee `config.log' for more detailsmake: *** No targets specified and no makefile found. Stop.make: *** No rule to make target `install'. Stop.install_soft.sh: line 24: nginx.sh: No such file or directory|-Successify --- 命令已执行! ---

使用道具 举报 只看该作者 回复
发表于 2024-1-24 11:10:09 | 显示全部楼层
您好,这个具体要看下安装过程的config.log文件内的编译安装过程信息了,具体这里可能是GCC这类编译过程中其他一些设置之类出错导致失败了
使用道具 举报 回复 支持 反对
发表于 2024-1-24 11:24:47 | 显示全部楼层
是所有软件都无法安装,从哪儿获取这个log文件,我发附件
使用道具 举报 回复 支持 反对
发表于 2024-1-24 11:49:58 | 显示全部楼层
谢花郎 发表于 2024-1-24 11:10
您好,这个具体要看下安装过程的config.log文件内的编译安装过程信息了,具体这里可能是GCC这类编译过程中 ...

是所有软件都无法安装,从哪儿获取这个log文件,我发附件
使用道具 举报 回复 支持 反对
发表于 2024-1-24 11:56:21 | 显示全部楼层
afeiliu 发表于 2024-1-24 11:49
是所有软件都无法安装,从哪儿获取这个log文件,我发附件

你下个Todesk远程工具,然后论坛私信我看看
使用道具 举报 回复 支持 反对
发表于 2024-1-24 17:01:27 | 显示全部楼层
谢花郎 发表于 2024-1-24 11:56
你下个Todesk远程工具,然后论坛私信我看看

私信你了
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

立即付费处理

工作时间:09:00至24:00

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