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 check out the source code using Git, from https://github.com/lextm/sharpsnmplib or download the ZIP package from the GitHub page.

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 Jun 10, 2012 at 10:00 AM by lextm, version 6

Comments

No comments yet.