Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
diana:windows:building:autotools [2009-11-26 14:04:11]
dages
diana:windows:building:autotools [2022-05-31 09:29:31] (current)
Line 4: Line 4:
  
 The GNU autotools require Perl.  Download and install the MSYS version of Perl from http://sourceforge.net/projects/mingw/files/MSYS%20perl/ You will also need libcrypt from http://sourceforge.net/projects/mingw/files/MSYS%20crypt/. The GNU autotools require Perl.  Download and install the MSYS version of Perl from http://sourceforge.net/projects/mingw/files/MSYS%20perl/ You will also need libcrypt from http://sourceforge.net/projects/mingw/files/MSYS%20crypt/.
 +
 +You //must// use the MSYS version.  You can //not// use ActiveState Perl or similar for this, because it interprets paths differently.
  
 ===== autoconf, automake and libtool ===== ===== autoconf, automake and libtool =====
Line 20: Line 22:
 Build them in the order in which they are listed in the table.  In each case, after extracting, run the following commands: Build them in the order in which they are listed in the table.  In each case, after extracting, run the following commands:
  
-  $ ./configure --prefix=/mingw+  $ ./configure --prefix=/usr
   $ make all install   $ make all install
  
 Do //not// build and install GNU make; it will not work in conjunction with MSYS (though it may work if you install a native Windows shell, such as the Interix / SFU ''ksh'', and don't use MSYS at all) Do //not// build and install GNU make; it will not work in conjunction with MSYS (though it may work if you install a native Windows shell, such as the Interix / SFU ''ksh'', and don't use MSYS at all)
 +
 +Note that in MSYS, ''/usr'' is a symlink to ''/'', but ''make install'' will fail if you try to build with ''--prefix=/''.
 +
 +When you install a particular version automake, it will install ''aclocal'' and ''automake'' but also ''aclocal-X.Y'' and ''automake-X.Y'', so the last version you installed will be the default, but older versions are still available.  Existing configure scripts and Makefiles will use whichever version was the default when they were generated.
  
 ===== pkg-config ===== ===== pkg-config =====
  • diana/windows/building/autotools.1259244251.txt.gz
  • Last modified: 2022-05-31 09:23:14
  • (external edit)