8 1. Compilation and Installation
9 ===============================
14 To build Mono, you will need the following components:
18 Available from: http://www.freedesktop.org/Software/pkgconfig
22 Available from: http://www.gtk.org/
24 Optional dependencies:
28 http://oss.software.ibm.com/icu/index.html
30 You will need this one to get complete support for the international
31 features of the .NET Framework.
33 * Cairo and libgdiplus
35 If you want to get support for System.Drawing, you will need to get
36 both Libgdiplus and Cairo.
38 b. Building the Software
39 ------------------------
41 If you obtained this package as an officially released tarball,
42 this is very simple, use configure and make:
44 ./configure --prefix=/usr/local
48 If you obtained this as a snapshot, you will need an existing
49 Mono installation. To upgrade your installation, unpack both
52 tar xzf mcs-XXXX.tar.gz
53 tar xzf mono-XXXX.tar.gz
55 ./autogen.sh --prefix=/usr/local
61 If you are upgrading from CVS you will need an existing Mono installation.
62 First verify that you have a working installation:
64 echo 'class X { static void Main () { System.Console.Write("OK");}}' > x.cs
74 If you get the output `OK' and no errors, you are ready to start your CVS upgrade.
76 First, make sure that you have up-to-date mcs and mono sources:
80 Then, go into the mono directory, and configure:
83 ./autogen --prefix=/usr/local
85 Then compile using the special target `fullbuild':
89 This step will compile and install at the same time.
91 Failure to follow these steps will result in a broken installation.
97 Once you have installed the software, you can run a few programs:
113 See the man pages for mono(1), mint(1), monodis(1) and mcs(2)
120 Contains the web site contents.
123 Technical documents about the Mono runtime.
126 Configuration files installed as part of the Mono runtime.
129 The core of the Mono Runtime.
132 The object system and metadata reader.
135 The Just in Time Compiler.
138 CIL executable Disassembler
141 Common code for the JIT and the interpreter.
144 The I/O layer and system abstraction for
145 emulating the .NET IO model.
148 Common Intermediate Representation, XML
149 definition of the CIL bytecodes.
152 Interpreter for CLI executables.
155 Architecture specific portions.
159 Manual pages for the various Mono commands and programs.
163 Scripts used to invoke Mono and the corresponding program.
167 A directory holding a pre-compiled version of the Mono