小编OMG*_*gar的帖子

C 编译器无法创建可执行文件退出 77

我使用的是 RedHat linux 环境,但我没有 root 权限(我使用的是付费服务器帐户)。

每次我尝试在我尝试设置和安装的新包上运行“./configure”时,我都会遇到一个问题,因为 C 编译器和/或 gcc 有问题。

我的主要问题是尝试在本地安装 python,以便我可以安装某些 Python 工具,如 Flask 和 Pip。这是我尝试运行 Python 的 "./configure" 时的错误消息:

checking for --with-universal-archs... 32-bit
checking MACHDEP... linux2
checking EXTRAPLATDIR...
checking machine type as reported by uname -m... x86_64
checking for --without-gcc... no
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
Run Code Online (Sandbox Code Playgroud)

以下是 config.log 文件的内容:

    This file contains any messages produced by compilers while …
Run Code Online (Sandbox Code Playgroud)

compiling gcc software-installation configure

8
推荐指数
1
解决办法
2万
查看次数

标签 统计

compiling ×1

configure ×1

gcc ×1

software-installation ×1