"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及类似平台上通过$ apt-get install libc6-dev g++ gcc安装所需的库。
871

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



