title: Ubuntu 13.04: how to build Monodevelop 4.0.1?
body: <p>I downloaded sources from git:</p>
  
  <pre><code>git clone git://github.com/mono/monodevelop.git
  </code></pre>
  
  <p>and dependencies:</p>
  
  <pre><code>cd monodevelop &amp;&amp; git submodule init &amp;&amp; git submodule update
  </code></pre>
  
  <p>I setup mono 3.0.11 (because
  "You need mono 2.10.9 or newer"
  and default version was 2.10.8.1)</p>
  
  <p>I added repository:</p>
  
  <pre><code>cat «deb http://ubuntu.mirror.cambrium.nl/ubuntu/ lucid main» &gt;&gt; /etc/apt/sources.list 
  </code></pre>
  
  <p>I installed packages:</p>
  
  <pre><code>apt-get install libglib2.0-cil gnome-sharp2 gtk-sharp2 libmono-addins-cil-dev libmono-addins-gui-cil-dev libmono-addins-msbuild-cil-dev
  </code></pre>
  
  <p>./configure
  <br />gives me</p>
  
  <pre><code>Configuration Summary
  ---------------------
  
  MonoDevelop has been configured with 
      prefix = /usr/local
      profile = default
  
  Packages included in the build:
      main
      extras/JavaBinding
      extras/ValaBinding
      extras/MonoDevelop.Database
      extras/MonoDevelop.Debugger.Gdb
      extras/PyBinding
      extras/MonoDevelop.MeeGo
  </code></pre>
  
  <p>But</p>
  
  <pre><code>make | grep "not resolved"
  </code></pre>
  
  <p>gives me errors:
  <br />
  /usr/local/lib/mono/4.0/Microsoft.Common.targets:  warning : Reference 'glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' not resolved
  <br />/usr/local/lib/mono/4.0/Microsoft.Common.targets:  warning : Reference 'pango-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' not resolved
  <br />/usr/local/lib/mono/4.0/Microsoft.Common.targets:  warning : Reference 'atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' not resolved
  <br />/usr/local/lib/mono/4.0/Microsoft.Common.targets:  warning : Reference 'gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' not resolved
  <br />/usr/local/lib/mono/4.0/Microsoft.Common.targets:  warning : Reference 'gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' not resolved
  <br />/usr/local/lib/mono/4.0/Microsoft.Common.targets:  warning : Reference 'glade-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' not resolved</p>
  
  <p>In this page - <a href="http://article.gmane.org/gmane.comp.gnome.mono.monodevelop.general/14338" rel="nofollow noreferrer">http://article.gmane.org/gmane.comp.gnome.mono.monodevelop.general/14338</a>
  it is recommended «It looks like you need to install gtk-sharp 2.12.x» </p>
  
  <p>But I have them installed:</p>
  
  <p>find /usr/lib/mono/gac -xdev -iname "*Sharp.dll" | grep "3c99f" | grep -v "policy"
  <br />/usr/lib/mono/gac/pango-sharp/2.12.0.0__35e10195dab3c99f/pango-sharp.dll
  <br />/usr/lib/mono/gac/gconf-sharp/2.24.0.0__35e10195dab3c99f/gconf-sharp.dll
  <br />/usr/lib/mono/gac/gnome-sharp/2.24.0.0__35e10195dab3c99f/gnome-sharp.dll
  <br />/usr/lib/mono/gac/gtk-sharp/2.12.0.0__35e10195dab3c99f/gtk-sharp.dll
  <br />/usr/lib/mono/gac/atk-sharp/2.12.0.0__35e10195dab3c99f/atk-sharp.dll
  <br />/usr/lib/mono/gac/glib-sharp/2.12.0.0__35e10195dab3c99f/glib-sharp.dll
  <br />/usr/lib/mono/gac/art-sharp/2.24.0.0__35e10195dab3c99f/art-sharp.dll
  <br />/usr/lib/mono/gac/gnome-vfs-sharp/2.24.0.0__35e10195dab3c99f/gnome-vfs-sharp.dll
  <br />/usr/lib/mono/gac/glade-sharp/2.12.0.0__35e10195dab3c99f/glade-sharp.dll
  <br />/usr/lib/mono/gac/gdk-sharp/2.12.0.0__35e10195dab3c99f/gdk-sharp.dll</p>
  
  <p>I also tried this advice:
  <br />
  <a href="http://www.mono-project.com/Parallel_Mono_Environments#Tip:_MONO_GAC_PREFIX" rel="nofollow noreferrer">http://www.mono-project.com/Parallel_Mono_Environments#Tip:_MONO_GAC_PREFIX</a>
  <br />
  and add MONO_GAC_PREFIX into ~/.bashrc
  <br />echo $MONO_GAC_PREFIX
  <br />/usr</p>
  
  <p>But compiling errors are still here. What I should do?</p>