[MonoDevelop] gtksharp compile issues - Sysetm.Action and Gtk.Action

aurfalien at gmail.com aurfalien at gmail.com
Sun Nov 14 14:52:10 EST 2010


On Nov 14, 2010, at 11:20 AM, Michael Hutchinson wrote:

> On Sun, Nov 14, 2010 at 1:37 PM,  <aurfalien at gmail.com> wrote:
>> Hi all,
>>
>> As I go down the joyous checklist of getting monodevelop to work (a
>> tedious endeavor which parallels root canal), I keep running into
>> issues when trying to make gtk sharp 2.10.4 which I dl'd from here;
>>
>> http://ftp.novell.com/pub/mono/sources/gtk-sharp/
>>
>> The configure runs fine, but during make I get;
>>
>> ./DemoApplicationWindow.cs(159,25): error CS0104: `Action' is an
>> ambiguous reference between `System.Action' and `Gtk.Action'
>>
>> and
>>
>> ./DemoUIManager.cs(135,25): error CS0104: `Action' is an ambiguous
>> reference between `System.Action' and `Gtk.Action'
>>
>> and then the make fails.
>>
>> Any nuggets of kindness would be appreciated.
>
> Why are you building GTK# 2.10.4 from source? MD depends on GTK#
> 2.12.8 or later (as described on
> http://monodevelop.com/Developers/Building_MonoDevelop#Installing_dependencies)
> and unless your distro is more than 3 years old, there are probably
> packages available.
>
> Also, I would guess that ambiguity was fixed in newer versions of
> GTK#: http://ftp.novell.com/pub/mono/sources-stable/


Hi Michael,

Sadly Centos 5.5 doesn't come with gtk+2 which is a prereq for gtk2.12.

- aurf




More information about the Monodevelop-list mailing list