程序员人生 网站导航

configure: error: you must configure in a separate build directory

栏目:服务器时间:2015-05-21 08:13:59

configure glibc⑵.14 时出现以下毛病:

[root@localhost opt]# cd glibc⑵.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

这个只要回到上1级目录履行 configure 就能够了:

[root@localhost glibc-2.14]# cd ../ [root@localhost opt]# ./glibc⑵.14/configure
------分隔线----------------------------
------分隔线----------------------------

最新技术推荐