[MonoDevelop] Make fails with a lot of 'Gtk' not found errors

Liam Flanagan liam at dyalog.com
Tue Oct 15 15:37:26 UTC 2013


I think Jeff is probably right.

Just in case it helps here is a set of instructions I created when I 
built mono, gtk-sharp (2.12 and 3) as well as monodevelop (including 
some monodevelop dependencies). Since you've already installed a recent 
mono you probably don't have to build everything, but it might be worth 
installing the dependant libraries for everything. For example 
gtk-sharp-3 depends on libgtk-3-dev so install that.

> Instructions:
> ==== mono ====
> $ sudo apt-get install build-essential automake libxml-parser-perl git 
> libtool
> $ git clone https://github.com/mono/mono.git
> $ cd mono
> $ git checkout mono-3.2.3-branch
> $ git submodule update
> $ ./autogen.sh --prefix=/usr/local
> if you have line ending issues run: $ find . -type f -exec dos2unix {} \;
> $ make get-monolite-latest
> $ make EXTERNAL_MCS="${PWD}/mcs/class/lib/monolite/gmcs.exe" -j5
> $ sudo make install
>
> ==== gtk-sharp 2.12 ====
> $ sudo apt-get install libgtk2.0-dev libpango1.0-dev libglade2-dev
> $ git clone https://github.com/mono/gtk-sharp.git
> $ cd gtk-sharp
> $ git checkout gtk-sharp-2-12-branch
> $ git submodule update
> $ ./bootstrap-2.12 --prefix=/usr/local
> $ make -j5
> $ sudo make install
>
> ==== gtk-sharp 3 ====
> $ sudo  apt-get install libgtk-3-dev
> $ git clone https://github.com/mono/gtk-sharp.git
> $ cd gtk-sharp
> $ git submodule update
> $ ./autogen.sh --prefix=/usr/local
> $ make -j5
> $ sudo make install
>
> === gnome-sharp ===
> $ sudo apt-get install libgnomecanvasmm-2.6-dev libgnomeuimm-2.6-dev
> $ git clone https://github.com/mono/gnome-sharp.git
> $ cd gnome-sharp
> $ git submodule update
> $ ./bootstrap-2.24 --prefix=/usr/local
> $ make -j5
> $ sudo make install
>
> === mono-addins ===
> $ git clone https://github.com/mono/mono-addins.git
> $ cd mono-addins
> $ git submodule update
> $ ./autogen.sh --prefix=/usr/local
> $ make -j5
> $ sudo make install
>
> === monodevelop ===
> $ sudo apt-get install libvala-0.20-dev
> $ git clone https://github.com/mono/monodevelop.git
> $ cd monodevelop
> $ git submodule update
> $ git checkout monodevelop-4.1.12-branch
> $ LIBVALA_CFLAGS="-I/usr/include/vala-0.20 -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include" 
> LIBVALA_LIBS="-lvala-0.20 -lgobject-2.0 -lglib-2.0" ./configure 
> --prefix=/usr/local
> - select main, debugger and addins
> $ make -j5
> $ sudo make install

Hope that helps you out a bit.

Liam

On 15/10/2013 15:08, Jeff Stedfast wrote:
> You *may* need the latest gtk-sharp2 from 
> http://github.com/mono/gtk-sharp from the gtk-sharp-2-12-branch 
> (master is based on gtk3).
>
> Hope that helps,
>
> Jeff
>
>
>
> On Sun, Oct 13, 2013 at 10:38 AM, Haider Malik <haider.malik at gmail.com 
> <mailto:haider.malik at gmail.com>> wrote:
>
>     I'm getting exact same errors as listed here while I'm trying to
>     make monodevelop-4.0.13 branch/tag from github:
>     http://lists.ximian.com/pipermail/monodevelop-list/2013-March/015532.html
>
>     But when I do apt-get install gtk-sharp2, it says it is already at
>     latest version.
>
>     BTW before trying to build monodevelop, I also downloaded, built
>     and installed mono and libgdiplus from github. I did 3.2.3
>     branch/tag for mono and master for libgdiplus. Installed both at
>     /usr/local and now I'm trying to install monodevelop at /usr/local
>     too.
>
>     Can somebody help please?
>
>     _______________________________________________
>     Monodevelop-list mailing list
>     Monodevelop-list at lists.ximian.com
>     <mailto:Monodevelop-list at lists.ximian.com>
>     http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
>
>
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20131015/62cbfe2a/attachment-0001.html>


More information about the Monodevelop-list mailing list