"checking for C compiler default output file name... configure: error: C compiler cannot create executables"
Reasons: miss some packages for gcc
Solutions: $ apt-get install libc6-dev g++ gcc
My platform is Debian. Same to Redhat similar platforms. "installing the kernel-headers and glibc-devel packages with the Red Hat Package Manager"
Reasons: miss some packages for gcc
Solutions: $ apt-get install libc6-dev g++ gcc
My platform is Debian. Same to Redhat similar platforms. "installing the kernel-headers and glibc-devel packages with the Red Hat Package Manager"
本文介绍了当遇到configure:error:Ccompiler cannot create executables错误时的解决方案,主要原因是缺少必要的GCC包。适用于Debian及类似平台,如Red Hat。文中提供了安装所需软件包的具体命令。
860

被折叠的 条评论
为什么被折叠?



