--- web/trunk/www.linuxsampler.org/msys.html 2009/06/13 13:35:13 1918 +++ web/trunk/www.linuxsampler.org/msys.html 2009/07/26 19:25:25 1949 @@ -10,7 +10,7 @@

Windows Build Instructions   msys logo   HOWTO by Andreas Persson


-
June 13th, 2009

+
July 26th, 2009

1.  Introduction
2.  MinGW
@@ -67,42 +67,56 @@ from www.gtk.org.)

Download the gtkmm windows installer, -gtkmm-win32-devel-2.16.0-3.exe, +gtkmm-win32-devel-2.16.0-4.exe, from www.gtkmm.org, and run it. Let the installer adjust the PATH variable as it wants.

4.  MSYS

-

I use the 1.0.11 Release Candiadate version, as I had problems -building DLLs with the 1.0.10 current version.

- -

Download from "MSYS Base System, Release Candidate: MSYS-1.0.11":

- -
MSYS-1.0.11-rc-1.exe
+

Download from "MSYS Base System, Current Release_ MSYS-1.0.11":

+
MSYS-1.0.11.exe

Run the installer.

-

Download from "MSYS Supplementary Tools, Technology Preview: Tools for -MSYS-1.0.11":

- -
autoconf2.5-2.61-1-bin.tar.bz2 **
-autoconf-4-1-bin.tar.bz2 **
-automake1.10-1.10-1-bin.tar.bz2 **
-automake-3-1-bin.tar.bz2 **
-bison-2.3-MSYS-1.0.11-1.tar.bz2 **
+

Download from "MSYS Supplementary Tools, Technology Preview_ Tools for MSYS-1.0.11":

+
bison-2.3-MSYS-1.0.11-1.tar.bz2 **
 crypt-1.1-1-MSYS-1.0.11-1.tar.bz2 **
 cvs-1.11.22-MSYS-1.0.11-1-bin.tar.gz **
-gettext-0.16.1-1-bin.tar.bz2 ***
-gettext-0.16.1-1-dll.tar.bz2 ***
-libiconv-1.11-1-bin.tar.bz2 ***
-libiconv-1.11-1-dll.tar.bz2 ***
-libtool1.5-1.5.25a-1-bin.tar.bz2
-perl-5.6.1-MSYS-1.0.11-1.tar.bz2 ***
- -

Extract all these files to the msys directory, by starting msys, do -"cd /" followed by "tar xjf filename" for .tar.bz2 files and -"tar xzf filename" for .tar.gz files.

+perl-5.6.1-MSYS-1.0.11-1.tar.bz2 **
+ +

Extract these files to the msys root directory, by starting msys, do +"cd /" followed by "tar xaf filename".

+ +

Download from "MinGW autoconf, autoconf2.5, autoconf2.5-2.63-1":

+
autoconf2.5-2.63-1-mingw32-bin.tar.lzma **
+ +

From "MinGW autoconf, wrapper, autoconf-6-1":

+
autoconf-6-1-mingw32-bin.tar.lzma **
+ +

From "MinGW automake, automake1.11, automake1.11-1.11-1":

+
automake1.11-1.11-1-mingw32-bin.tar.lzma **
+ +

From "MinGW automake, wrapper, automake-4-1":

+
automake-4-1-mingw32-bin.tar.lzma **
+ +

From "MinGW gettext, gettext-0.17-1":

+
gettext-0.17.1-1-mingw32-dev.tar.lzma ***
+libgettextpo-0.17-1-mingw32-dll-0.tar.lzma ***
+libintl-0.17-1-mingw32-dll-8.tar.lzma ***
+ +

From "MinGW libiconv, libiconv-1.13.1-1":

+
libiconv-1.13.1-1-mingw32-dll-2.tar.lzma ***
+ +

From "GCC Version 4, Current Release_ gcc-4.4.0":

+
gcc-core-4.4.0-mingw32-dll.tar.gz ***
+ +

From "MinGW libtool, libtool-2.27a-1":

+
libtool-2.2.7a-1-mingw32-bin.tar.lzma
+ +

Extract all these files to the MinGW directory, by starting msys, do +"cd /mingw" followed by "tar -x --lzma -f filename" for the +.tar.lzma files and "tar xaf filename" for the .tar.gz file.

5.  ASIO SDK

@@ -123,7 +137,7 @@

Download intltool_0.40.4-1_win32.zip from http://ftp.gnome.org/pub/GNOME/binaries/win32/intltool

-

Unzip this into the msys local directory (C:\msys\1.0\local)

+

Unzip this into the gtkmm directory (C:\Program Files\gtkmm)

8.  Perl ***

@@ -138,7 +152,7 @@

The gigedit Makefile wants to build the gigedit quick start documentation, so it needs the xsltproc command. Download from -ftp://ftp.zlatkovic.com/pub/libxml/:

+http://www.zlatkovic.com/pub/libxml/:

libxml2-2.7.3.win32.zip
 libxslt-1.1.24.win32.zip
@@ -157,7 +171,7 @@ installed it. The space in "Program Files" causes problems, so the short file name form is used here):

-
echo "/c/Progra~1/gtkmm/share/aclocal" >> /usr/local/share/aclocal/dirlist
+
echo "/c/Progra~1/gtkmm/share/aclocal" >> /mingw/share/aclocal/dirlist

Add the gtkmm bin directory first in your PATH (the installer has already added gtkmm to the PATH, but it may have used "Program Files" @@ -165,7 +179,7 @@

export PATH=/c/Progra~1/gtkmm/bin:$PATH
-

Make sure pkg-config will find the LinuxSampler libraries:

+

Make sure pkg-config will find the libraries you build:

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
@@ -179,11 +193,11 @@ export PATH=/c/Perl/bin:$PATH -

*** MSYS gettext and gtkmm both include libintl. We want the gtkmm -version. Remove the MSYS files so the gettext configure tools don't +

*** MinGW gettext and gtkmm both include libintl. We want the gtkmm +version. Remove the MinGW files so the gettext configure tools don't choose the wrong version:

-
rm /usr/local/include/libintl.h /usr/local/lib/libintl*
+
rm /mingw/include/libintl.h /mingw/lib/libintl*

*** The gettext configure tools also need:

@@ -196,16 +210,16 @@

The windows precompiled version of SQLite doesn't include the neccessary development files, so it's best to build SQLite yourself. -Download sqlite-amalgamation-3.6.14.2.tar.gz +Download sqlite-amalgamation-3.6.16.tar.gz from www.sqlite.org and extract it to your $HOME:

cd
-tar xzf sqlite-amalgamation-3.6.14.2.tar.gz
+tar xzf sqlite-amalgamation-3.6.16.tar.gz

Build and install:

-
cd sqlite-3.6.14.2
+
cd sqlite-3.6.16
 CFLAGS=-O2 ./configure
 make
 make install