码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2015-05-02 09:37:04      阅读:611      评论:0      收藏:0      [点我收藏+]

标签:configure   glibc   error   separate   directory   

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 

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

标签:configure   glibc   error   separate   directory   

原文地址:http://blog.csdn.net/testcs_dn/article/details/45437481

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!