KB 600006 How to compile source code on openSUSE

Summary

This article describes how to compile #SNMP on openSUSE.

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

Prerequisites

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

You can get openSUSE with Mono installed from here.

Default Configuration

You can follow these steps to build #SNMP,
  1. Open Properties window for prepare.sh.
  2. In Permissions tab, check the box for Allow executing file as program and click Close.
  3. Do the same for release.sh.
  4. Execute prepare.sh in the terminal.
  5. 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 openSUSE 11.4 with Mono 2.10.1.

References

N/A

Last edited Oct 30, 2013 at 7:42 AM by lextm, version 10