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!!!