10 |
<body> |
<body> |
11 |
<h2 align="center">Windows Build Instructions <img src="gfx/logos/msys.png" alt="msys logo"> HOWTO by Andreas Persson</h2> |
<h2 align="center">Windows Build Instructions <img src="gfx/logos/msys.png" alt="msys logo"> HOWTO by Andreas Persson</h2> |
12 |
<br> |
<br> |
13 |
<center>July 26th, 2009</center><br> |
<center>January 31th, 2010</center><br> |
14 |
<div style="background-color: #F4F4FF; margin: 1em 3em 1em 3em; padding: 1em 1em 1em 2.2em;"> |
<div style="background-color: #F4F4FF; margin: 1em 3em 1em 3em; padding: 1em 1em 1em 2.2em;"> |
15 |
<a href="#intro">1. Introduction</a><br> |
<a href="#intro">1. Introduction</a><br> |
16 |
<a href="#mingw">2. MinGW</a><br> |
<a href="#mingw">2. MinGW</a><br> |
66 |
|
|
67 |
<h3><a name="mingw">2. MinGW</a></h3> |
<h3><a name="mingw">2. MinGW</a></h3> |
68 |
|
|
69 |
<p>Download the MinGW installer, MinGW-5.1.4.exe, |
<p>Download the MinGW installer, MinGW-5.1.6.exe, |
70 |
from <a href="http://www.mingw.org">www.mingw.org</a> and run it. The |
from <a href="http://www.mingw.org">www.mingw.org</a>, "Automated |
71 |
installer will automatically download and install further |
MinGW Installer, MinGW 5.1.6", and run it. The installer will |
72 |
packages. Choose the base tools and the g++ compiler.</p> |
automatically download and install further packages. Choose the base |
73 |
|
tools and the g++ compiler.</p> |
74 |
|
|
75 |
|
|
76 |
<h3><a name="pkg">3. pkg-config and gtkmm</a></h3> |
<h3><a name="pkg">3. pkg-config and gtkmm</a></h3> |
89 |
|
|
90 |
<h3><a name="msys">4. MSYS</a></h3> |
<h3><a name="msys">4. MSYS</a></h3> |
91 |
|
|
92 |
<p>Download from "MSYS Base System, Current Release_ MSYS-1.0.11":</p> |
<p>Download from "MSYS Base System, msys-1.0.11":</p> |
93 |
<pre>MSYS-1.0.11.exe</pre> |
<pre>MSYS-1.0.11.exe</pre> |
94 |
|
|
95 |
<p>Run the installer.</p> |
<p>Run the installer.</p> |
96 |
|
|
97 |
<p>Download from "MSYS Supplementary Tools, Technology Preview_ Tools for MSYS-1.0.11":</p> |
<p>Download from "MSYS bison, bison-2.4.1-1":</p> |
98 |
<pre>bison-2.3-MSYS-1.0.11-1.tar.bz2 ** |
<pre>bison-2.4.1-1-msys-1.0.11-bin.tar.lzma **</pre> |
99 |
crypt-1.1-1-MSYS-1.0.11-1.tar.bz2 ** |
|
100 |
cvs-1.11.22-MSYS-1.0.11-1-bin.tar.gz ** |
<p>From "MSYS crypt, crypt-1.1_1-2":</p> |
101 |
perl-5.6.1-MSYS-1.0.11-1.tar.bz2 **</pre> |
<pre>libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma **</pre> |
102 |
|
|
103 |
|
<p>From "MSYS cvs, cvs-1.12.13-1":</p> |
104 |
|
<pre>cvs-1.12.13-1-msys-1.0.11-bin.tar.lzma **</pre> |
105 |
|
|
106 |
|
<p>From "MSYS perl, perl-5.6.1_2-1":</p> |
107 |
|
<pre>perl-5.6.1_2-1-msys-1.0.11-bin.tar.lzma **</pre> |
108 |
|
|
109 |
|
<p>From "MSYS m4, m4-1.4.13-1":</p> |
110 |
|
<pre>m4-1.4.13-1-msys-1.0.11-bin.tar.lzma **</pre> |
111 |
|
|
112 |
<p>Extract these files to the msys root directory, by starting msys, do |
<p>Extract these files to the msys root directory, by starting msys, do |
113 |
"cd /" followed by "tar xaf <i>filename</i>".</p> |
"cd /" followed by "tar -x --lzma -f <i>filename</i>".</p> |
114 |
|
|
115 |
<p>Download from "MinGW autoconf, autoconf2.5, autoconf2.5-2.63-1":</p> |
<p>Download from "MinGW autoconf, autoconf2.5, autoconf2.5-2.64-1":</p> |
116 |
<pre>autoconf2.5-2.63-1-mingw32-bin.tar.lzma **</pre> |
<pre>autoconf2.5-2.64-1-mingw32-bin.tar.lzma **</pre> |
117 |
|
|
118 |
<p>From "MinGW autoconf, wrapper, autoconf-6-1":</p> |
<p>From "MinGW autoconf, wrapper, autoconf-7-1":</p> |
119 |
<pre>autoconf-6-1-mingw32-bin.tar.lzma **</pre> |
<pre>autoconf-7-1-mingw32-bin.tar.lzma **</pre> |
120 |
|
|
121 |
<p>From "MinGW automake, automake1.11, automake1.11-1.11-1":</p> |
<p>From "MinGW automake, automake1.11, automake1.11-1.11-1":</p> |
122 |
<pre>automake1.11-1.11-1-mingw32-bin.tar.lzma **</pre> |
<pre>automake1.11-1.11-1-mingw32-bin.tar.lzma **</pre> |
135 |
<p>From "GCC Version 4, Current Release_ gcc-4.4.0":</p> |
<p>From "GCC Version 4, Current Release_ gcc-4.4.0":</p> |
136 |
<pre>gcc-core-4.4.0-mingw32-dll.tar.gz ***</pre> |
<pre>gcc-core-4.4.0-mingw32-dll.tar.gz ***</pre> |
137 |
|
|
138 |
<p>From "MinGW libtool, libtool-2.27a-1":</p> |
<p>From "MinGW libtool, libtool-2.2.7a-1":</p> |
139 |
<pre>libtool-2.2.7a-1-mingw32-bin.tar.lzma</pre> |
<pre>libtool-2.2.7a-1-mingw32-bin.tar.lzma</pre> |
140 |
|
|
141 |
<p>Extract all these files to the MinGW directory, by starting msys, do |
<p>Extract all these files to the MinGW directory, by starting msys, do |
178 |
documentation, so it needs the xsltproc command. Download from |
documentation, so it needs the xsltproc command. Download from |
179 |
<a href="http://www.zlatkovic.com/pub/libxml/">http://www.zlatkovic.com/pub/libxml/</a>:</p> |
<a href="http://www.zlatkovic.com/pub/libxml/">http://www.zlatkovic.com/pub/libxml/</a>:</p> |
180 |
|
|
181 |
<pre>libxml2-2.7.3.win32.zip |
<pre>libxslt-1.1.26.win32.zip</pre> |
|
libxslt-1.1.24.win32.zip</pre> |
|
182 |
|
|
183 |
<p>Copy the contents of the bin directories from both zip files to a |
<p>Copy the contents of the bin directory from the zip file to a |
184 |
directory of your choice. Add this directory last in your msys PATH, |
directory of your choice. Add this directory last in your msys PATH, |
185 |
for example:</p> |
for example:</p> |
186 |
|
|
233 |
|
|
234 |
<p>The windows precompiled version of SQLite doesn't include the |
<p>The windows precompiled version of SQLite doesn't include the |
235 |
neccessary development files, so it's best to build SQLite yourself. |
neccessary development files, so it's best to build SQLite yourself. |
236 |
Download sqlite-amalgamation-3.6.16.tar.gz |
Download sqlite-amalgamation-3.6.22.tar.gz |
237 |
from <a href="http://www.sqlite.org">www.sqlite.org</a> |
from <a href="http://www.sqlite.org">www.sqlite.org</a> |
238 |
and extract it to your $HOME:</p> |
and extract it to your $HOME:</p> |
239 |
|
|
240 |
<pre>cd |
<pre>cd |
241 |
tar xzf sqlite-amalgamation-3.6.16.tar.gz</pre> |
tar xzf sqlite-amalgamation-3.6.22.tar.gz</pre> |
242 |
|
|
243 |
<p>Build and install:</p> |
<p>Build and install:</p> |
244 |
|
|
245 |
<pre>cd sqlite-3.6.16 |
<pre>cd sqlite-3.6.22 |
246 |
CFLAGS=-O2 ./configure |
CFLAGS=-O2 ./configure |
247 |
make |
make |
248 |
make install</pre> |
make install</pre> |
254 |
|
|
255 |
<p>The windows precompiled version of libsndfile doesn't include the |
<p>The windows precompiled version of libsndfile doesn't include the |
256 |
neccessary pkg-config file, so it's best to build libsndfile |
neccessary pkg-config file, so it's best to build libsndfile |
257 |
yourself. Download libsndfile-1.0.20.tar.gz |
yourself. Download libsndfile-1.0.21.tar.gz |
258 |
from <a href="http://www.mega-nerd.com/libsndfile/">www.mega-nerd.com</a> and |
from <a href="http://www.mega-nerd.com/libsndfile/">www.mega-nerd.com</a> and |
259 |
extract it to your $HOME:</p> |
extract it to your $HOME:</p> |
260 |
|
|
261 |
<pre>cd |
<pre>cd |
262 |
tar xzf libsndfile-1.0.20.tar.gz</pre> |
tar xzf libsndfile-1.0.21.tar.gz</pre> |
263 |
|
|
264 |
<p>Build and install:</p> |
<p>Build and install:</p> |
265 |
|
|
266 |
<pre>cd libsndfile-1.0.20 |
<pre>cd libsndfile-1.0.21 |
267 |
./configure |
./configure |
268 |
make |
make |
269 |
make install</pre> |
make install</pre> |