This is just something I realized here recently, if you're using MinGW on Windows,
DO NOT use the gui installer assistant!!
The MinGW installer sets up the package like:
Code: Select all
MinGW = C:/MinGW
MSYS = C:/MinGW/msys/1.0
But this is @$$-backwards. All of the shell scripts are configured to work like
Code: Select all
MinGW = C:/MSYS/mingw
MSYS=C:/MSYS
If you don't set it up this way you'll be thrown for a loop when you try to set up a more complex autotools project with gettext or custom m4 scripts because nearly every single script will be pointing at the wrong directory (including /etc/profile, which is why many users have to manually add C:/MinGW/bin to their environment path)
Instead, do it manually by following the directions on
this page (MSYS) and
this page (MinGW).
(Note: MSYS Core 1.0.11 is a misdirected link, it's actually
here)
--------
Some extra installation notes for when installing MinGW libs from the SourceForge repository:
- The gettext, automake, autoconf, and libtool binaries you want to install are in the MinGW/Base and MinGW/Extension directories. These you'll want to install into your /mingw directory.
- You'll need the gettext dev package for gettextize
- You'll want to install all versions of automake and autoconf and their wrappers
- The bison and flex you want are in MSYS/Extensions. These you'll want to install into your / directory. You may want wget here as well.