KB 600007 How to compile source code on Ubuntu 10.10

Summary

This article describes how to compile source code on Ubuntu 10.10.

Due to an xbuild bug, https://bugzilla.xamarin.com/show_bug.cgi?id=3055, #SNMP 7.5 cannot be compiled on Ubuntu.

Prerequisites

You may download the source code from https://github.com/lextm/sharpsnmplib/releases.

You can get Ubuntu 10.10 from here.

Default Configuration

You can follow these steps to build #SNMP,
  1. Execute the following in a terminal to install Mono, "sudo apt-get install mono-devel mono-vbnc mono-xbuild monodevelop"
  2. Open Properties window for prepare.sh.
  3. In Permissions tab, check the box for Allow executing file as program and click Close.
  4. Do the same for release.sh.
  5. Execute prepare.sh in the terminal.
  6. Execute release.sh to build the source code.
The compiled binaries are in the bin folder.

More Information

VB.NET projects cannot be compiled under Mono at this moment.

Only tested on Ubuntu 10.10 with Mono 2.6.7.

References

N/A

Last edited Oct 30, 2013 at 7:43 AM by lextm, version 8