Chinaunix首页 | 论坛 | 博客
  • 博客访问: 639824
  • 博文数量: 263
  • 博客积分: 6000
  • 博客等级: 准将
  • 技术积分: 2555
  • 用 户 组: 普通用户
  • 注册时间: 2008-02-26 11:20
文章分类

全部博文(263)

文章存档

2011年(10)

2010年(19)

2009年(170)

2008年(64)

我的朋友

分类: LINUX

2009-04-19 23:17:28

Contents

[]

Installling newest autotools

After installing , it's recommended to install the latest autotools packages.
The "latest" packages from the MinGW website are also outdated. So it's preferable to rebuild them yourself.


Installing m4

M4 must be built using . It will not work if you build it using your normal MinGW environment!

Go to .

Go to a download mirror, or .

Get .

M4 needs to be patched to run properly under MSYS. The change involves consuming carriage returns that might exist in frozen files created in text-mode. Get the patch here.

Run the following in an msysDVLPR shell:

tar xfvj m4-1.4.12.tar.bz2
patch -p0 < ../m4-1.4.12-MSYS.diff
cd m4-1.4.12
./configure
make
cp src/m4.exe /c/msys/bin/m4.exe

Installing autoconf

Note: If you experience an endlessly recursive make, try using an older version of make.exe like 3.79.
If you followed this wiki, you should be able to just rename your existing c:\msys\bin\make.exe to c:\msys\bin\make.exe.bak, and use the backup c:\msys\bin\make-3.79.exe by renaming it to c:\msys\bin\make.exe
Don't forget to switch them back after these packages!!!

Go to .

Go to a download mirror, or .

Get .

Run the following in an MSYS shell:

tar xfvj autoconf-2.63.tar.bz2
cd autoconf-2.63
./configure --prefix=/usr
make
make install


Installing automake

Go to .

Go to a download mirror, or .

Get .

Run the following in an MSYS shell:

tar xfvj automake-1.10.2.tar.bz2
cd automake-1.10.2
./configure --prefix=/usr
make
make install


Installing libtool

Go to .

Go to a download mirror, or .

Get .

Run the following in an MSYS shell:

tar xfvj libtool-1.5.26.tar.gz
cd libtool-1.5.26
./configure --prefix=/usr
make
make install



If you used make-3.79.exe here, don't forget to switch back to the latest version!!!


阅读(987) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~