configure glibc-2.14 时出现以下错误:
[root@localhost opt]# cd glibc-2.14
[root@localhost glibc-2.14]# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
configure: error: you must configure in a separate build directory
这个只要回到上一级目录执行 configure 就可以了:
[root@localhost glibc-2.14]# cd ../
[root@localhost opt]# ./glibc-2.14/configure
配置glibc-2.14错误解决
本文介绍在配置glibc-2.14过程中遇到的错误及解决方法。当尝试直接在源码目录运行configure命令时,会收到错误提示要求在单独的构建目录进行配置。解决此问题只需回到源码目录的上级目录执行configure即可。
2068

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



