본문 바로가기

UNIX / LINUX

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

glibc를 컴파일 할 때였다.

이런 메세지가 뜨길래 방법을 찾아봤는데 간단했다.

 

말 그대로

 

현재 디렉토리에 다른 폴더를 만들어 주고 만든 디렉토리 안에서 configure하면 되는 거였다.

$mkdir build            build 폴더 생성

$cd build                build 폴더로 이동

$../configure            configure 실행