2013-05-17 1 views
3

지금은 Mac에서 Automake를 빌드하려고하는데, 지금까지 모든 것이 순조롭게 진행되고 있습니다. 나는 Autoconf와 m4를 패키지 밖의 어떤 문제없이 만들었다 (git pulls와 반대). 그리고 나서 저는 Automake에 도착합니다. 그 곳에서 물건이 떨어져 나옵니다.Automake는 "Autoconf 2.65 이상"을 요구하지만 아직 Autoconf 2.69를 설치했습니다.

checking whether autoconf is installed... yes 
    checking whether autoconf works... yes 
    checking whether autoconf is recent enough... no 
    configure: error: Autoconf 2.65 or better is required. 

autoconf 2.68을 빌드하고 설치하면 문제가 지속됩니다. 거기에 내가 빠뜨린 일종의 트릭이 있습니까?

+1

아, 그런데, 오신 것을 환영합니다 stackoverflow! [Ask Different] (http://apple.stackexchange.com/about) 및 [Super User] (http://superuser.com/about)도 확인하십시오. –

답변

4

make 파일은 사용자의 $PATH에서 Autoconf의 이전 버전을 감지합니다. Sebastien의 블로그에서 this post을 살펴보십시오. 특히 Automake를 빌드하기 전에 $PATH에 새 Autoconf bin 디렉토리를 추가하라는 내용의 부분을 살펴보십시오. "표준"OSX 폴더 구조 규칙을 따르려면 Autoconf를 /usr/local에 설치하십시오.

Sebastien 's 스크립트의 Daniel Farrelly version을 부끄럽게 여기지 마라.

export build=~/devtools # or wherever you'd like to build 
mkdir -p $build 

## 
# Autoconf 
# http://ftpmirror.gnu.org/autoconf 

cd $build 
curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-2.69.tar.gz 
tar xzf autoconf-2.69.tar.gz 
cd autoconf-2.69 
./configure --prefix=/usr/local 
make 
sudo make install 
export PATH=/usr/local/bin 

## 
# Automake 
# http://ftpmirror.gnu.org/automake 

cd $build 
curl -OL http://ftpmirror.gnu.org/automake/automake-1.13.2.tar.gz 
tar xzf automake-1.13.2.tar.gz 
cd automake-1.13.2 
./configure --prefix=/usr/local 
make 
sudo make install 
관련 문제