Building zlib and bzip2 on Windows

Download and extract the correct versions of zlib and bzip2:

Package	Location	Version
zlib	http://sourceforge.net/projects/libpng/files/	1.2.3
bzip2	http://www.bzip.org/downloads.html	1.0.5

To build zlib, run the following commands after extracting the source code:

$ make -f win32/Makefile.gcc INCLUDE_PATH=/mingw/include LIBRARY_PATH=/c/met.no/lib all install
$ rm /c/met.no/lib/libzdll.a
$ cp README /c/met.no/copyright/zlib

To build bzip2, run the following commands after extracting the source code:

$ make
$ cp libbz2.a /c/met.no/lib
$ cp LICENSE /c/met.no/copyright/bzip2