Difference between revisions of "Building mono from source"

From LSDevLinux
Jump to: navigation, search
m (Categorize)
m (Categorize)
Line 7: Line 7:
 
'''Note:''' the script uses the “sparse checkout” feature of Subversion to create a single top-level directory that can be updated with a single <code>svn up</code>, eg when updating to a new revision. You can add further directories using <code>svn up ''directory''</code>, eg <code>svn up monodevelop</code>. However, you will need to specify the revision number explicitly with <code>-r''number''</code> if you want this directory to be compatible with the existing directories. You can find out the revision number of your existing directories using <code>svn info</code>.
 
'''Note:''' the script uses the “sparse checkout” feature of Subversion to create a single top-level directory that can be updated with a single <code>svn up</code>, eg when updating to a new revision. You can add further directories using <code>svn up ''directory''</code>, eg <code>svn up monodevelop</code>. However, you will need to specify the revision number explicitly with <code>-r''number''</code> if you want this directory to be compatible with the existing directories. You can find out the revision number of your existing directories using <code>svn info</code>.
  
[[Category:Building]]
+
[[Category:Building(FieldWorks)]]

Revision as of 16:15, 14 May 2009

Unpack this tarball in a directory somewhere and run ./checkout-and-build.sh. This will also install mono into /usr/local.

To ensure the use of this version of mono when you run applications, either put /usr/local/bin into your PATH or (better) use /usr/local/bin/mono application.exe whenever you run an application.

Running this script twice will not re-download all the mono source code, but it will reinstall mono.

Note: the script uses the “sparse checkout” feature of Subversion to create a single top-level directory that can be updated with a single svn up, eg when updating to a new revision. You can add further directories using svn up directory, eg svn up monodevelop. However, you will need to specify the revision number explicitly with -rnumber if you want this directory to be compatible with the existing directories. You can find out the revision number of your existing directories using svn info.