CentOS 7 기준으로 쓰여진 포스트입니다.
M4, autoconf, automake 순서로 설치해야 오류를 피할 수 있다. 먼저, M4, autoconf, automake압축 파일을 다운해 보자. 최신 버전은 이 링크들(m4, autoconf, automake)에서 각각 확인 가능하다. (해당 내용은 이 블로그 를 참고로 작성되었다.)
M4
autoconf
automake
123456
# m4wget http://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.gz# autoconfwget http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz# automakewget http://ftp.gnu.org/gnu/automake/automake-1.16.1.tar.gz
압축은 이렇게 풀면 된다.
# m4tar xvfz m4-1.4.18.tar.gz# autoconftar xvfz autoconf-2.69.tar.gz# automaketar xvfz automake-1.16.1.tar.gz
123
cd m4-1.4.18./configure --prefix=/usrmake && sudo make install
cd autoconf-2.69./configure --prefix=/usrmake && sudo make install
cd automake-1.16.1./configure --prefix=/usrmake && sudo make install