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

简介: configure glibc-2.14 时出现以下错误:[root@localhost opt]# cd glibc-2.14[root@localhost glibc-2.

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 
目录
相关文章
|
Linux
configure: error: cannot guess build type; you must specify one
configure: error: cannot guess build type; you must specify one
351 0
|
7月前
cancal报错 config dir not found
cancal报错 config dir not found
|
11月前
|
Java Maven
Error running ‘ssm [clean]‘: No valid Maven installation found. Either set the home directory in the
Error running ‘ssm [clean]‘: No valid Maven installation found. Either set the home directory in the
configure: error: gperf is needed
configure: error: gperf is needed
90 0
configure: error: libacl not found
configure: error: libacl not found
61 0
configure: error: cups-config not found
configure: error: cups-config not found
74 0
|
开发工具 git
编译pluma:configure.ac:229: error: required file ‘pluma/mate-submodules/Makefile.in‘ not found
编译pluma:configure.ac:229: error: required file ‘pluma/mate-submodules/Makefile.in‘ not found
95 0
configure: error: Package requirements (commoncpp 6.2.2) were not met
configure: error: Package requirements (commoncpp 6.2.2) were not met
61 0
|
应用服务中间件 Linux nginx
./configure: error: C compiler cc is not found
./configure: error: C compiler cc is not found
615 0
|
Linux 异构计算
成功解决./nvidia-installer: invalid option: "‐‐no‐opengl‐files" ERROR: Invalid commandline, please run `
成功解决./nvidia-installer: invalid option: "‐‐no‐opengl‐files" ERROR: Invalid commandline, please run `