donaricano-btn

AutoTools - Autoconf, AutoMake, M4 설치하기


1. AutoTools

- GNU Build system 을 의미한다

- 리눅스와 유닉스 같은 OS에서 소스코드를 빌드하는데 사용한다


2. 설치방법

- Autoconf 를 설치하기 위해선 일련의 순서?가 필요하다

- Autoconf만 먼저 설치 하면 에러가 발생

1) 설치순서

- M4 -> autoconf -> automake 순으로 진행 해야한다

2) M4

- 매크로 처리언어의 구현판? (확실히 모름)

a. wget http://ftp.gnu.org/gnu/m4/m4-1.4.1.tar.gz

b. tar xvzf m4-1.4.1.tar.gz

c. cd m4-1.4.1

d. ./configure

오류 1) configure: error: no acceptable C compiler found in $PATH

- 컴파일을 찾지 못해서 생긴 문제라고 한다(gcc)

- yum install gcc

e. make

f. make install

3) autoconf

a. wget ftp://ftp.gnu.org/gnu/autoconf/autoconf-latest.tar.gz

b. tar xvfz autoconf-2.69.tar.gz

c. cd autoconf-2.69

d. ./configure

오류 1) gnu m4 1.4.6 or later is required; 1.4.16 or newer is recommended

- m4를 설치 하면된다. 위에서 설치를 안함

- yum install m4

e. make

f. make install

g. yum install autoconf

4) automake

a. wget ftp://ftp.gnu.org/gnu/automake/automake-1.9.tar.gz

b. tar xvfz automake-1.9.tar.gz

c. cd automake-1.9.tar.gz

d. ./configure

e. make

f. make install

g .yum install automake


블로그 이미지

리딩리드

,