본문 바로가기

TroubleShooting/Linux

autoconf 2.6x for CentOS 5

728x90


CentOS 5(마지막판인 5.5)에서 autoconf 버전이 2.59 라서 어떤 소스에서는 configure 도중 다음과 같은 에러가 발생한다.

aclocal.m4:20: warning: this file was generated for autoconf 2.61.

You have another version of autoconf. It may work, but is not guaranteed to.

If you have problems, you may need to regenerate the build system entirely.

To do so, use the procedure documented by the package, typically `autoreconf'.

configure.ac:3: error: Autoconf version 2.60 or higher is required

aclocal.m4:1078: AM_INIT_AUTOMAKE is expanded from...

yum update autoconf 를 해봐도 업데이트할게 없다는 메시지만 나오고, 그렇다고 해당 rpm 도 인터넷을 찾아봐도 안 보이고, 소스 rpm(srpm) 도 www.centos.org 에서 사라졌다.

결국 직접 autoconf 소스 tarball 을 가지고와서 컴파일하고 설치를 하니, 다시 해당 프로그램에서 autoconf 에러 메시지가  사라진다.

autoconf :

http://www.gnu.org/software/autoconf/


출처 :

https://www.centos.org/modules/newbb/viewtopic.php?topic_id=28629