728x90
오류 발생 원인
오류의 원인은 명확하게 알 수 없으나 gpt에 따르면 make 패키지로 빌드를 하는 도중에 발생하는 에러이다.
해결방안
GNU autoconf , GNU Automake, GNU libtool 을 설치하면 해결할 수 있다.
이들을 간단하게 살펴보자면,
Autoconf
- 셸스크립트를 만드는 도구이다. 이 도구를 이용하여 자동으로 소프트웨어 소스코드 꾸러미를 구성하여 여러 종류의 유닉스 계열 시스템에 적용할 수 있다.
- autoconf가 만든 구성 스크립트는(configure) 스크립트가 실행될 때 독립적으로 동작한다.
- automake, libtool과 함께 gnu 빌드 시스템을 만든다.
- autoconf는 사용자가 작성한 configure.ac파일을 configure 셀스크립트로 바꾸는데 GNU m4를 이용한다.
- Automake
- automake는 make프로그램을 이용하여 "포팅할 수 있는 makefile"들을 만들어 내는 프로그래밍 도구이며 소프트웨어를 컴파일 하는데 사용된다.
- 펄 프로그래밍 언어로 짜여 있으며 GNU autoconf와 함께 사용해야 한다.
- aclocal과 automake를 포함하고 있다.
- Autotools requirement
- configure.ac를 사용한다.
- 주로 *.in파일들은 configure 의 입력값으로 취급되고 있으며, 이 파일들이 configure과정을 거쳐 실제 원하는 파일이 된다. 예를들어 script.in이라는 파일은 configure 를 거쳐서 script라는 파일이 될 수 있다. 따라서 이들과 configure.in 을 구분하기 위해 configure.ac 라고 부른다.
설치 과정
GNU
$ cd /usr/local
$ wget <http://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.gz>
$ tar xvfz m4-1.4.18.tar.gz
$ cd m4-1.4.18
$ ./configure
$ make
$ make install
GNU autoconf
$ cd /usr/local
$ wget <http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz>
$ tar xvfz autoconf-2.69.tar.gz
$ cd autoconf-2.69
$ ./configure
$ make
$ make install
GNU Automake
$ cd usr/local
$ wget <http://ftp.gnu.org/gnu/automake/automake-1.16.tar.gz>
$ tar xvfz automake-1.16.tar.gz
$ cd automake-1.16
$ ./configure
$ make
$ make install
GNU libtool
$ cd /usr/local
$ wget <http://ftp.jaist.ac.jp/pub/GNU/libtool/libtool-2.4.6.tar.gz>
$ tar xvfz libtool-2.4.6.tar.gz
$ cd libtool-2.4.6
$ ./configure
$ make
$ make install