[MonoDevelop] Problems Compiling MonoDevelop
Michael Hutchinson
m.j.hutchinson at gmail.com
Fri Feb 29 10:34:39 EST 2008
On Fri, Feb 29, 2008 at 7:33 AM, Liam (Kamatsu) <whiteslug at gmail.com> wrote:
> Hi, I posted this before I joined the list, and I figured I'd post it
> again with the correct email this time
>
> I've been trying to compile MonoDevelop from SVN on my Ubuntu Gutsy 7.10
> installation.
>
> I've gotten pretty far but have hit a stumbling block. MonoDevelop will
> ./configure okay, producing makefiles and such, but when I go to make,
> it eventually carks out with:
>
> /usr/lib/mono/gac/gtk-sharp/2.10.0.0__35e10195dab3c99f/gtk-sharp.dll
> (Location of the symbol related to previous
> warning),./MonoDevelop.Ide.Gui/DocumentSwitcher.cs(72,33): error CS0246:
> The type or namespace name `TreeIter' could not be found. Are you
> missing a using directive or an assembly
> reference?,./MonoDevelop.Ide.Gui/DocumentSwitcher.cs(74,41): error
> CS0246: The type or namespace name `Pad' could not be found. Are you
> missing a using directive or an assembly
<...>
> Any ideas as to what I'm doing wrong?
Assuming you're using Mono 1.2.4, it's probably the bug with that
particular gmcs C# compiler version where "using" statements are
ignored inside anonymous delegates. It will be fixed if you upgrade to
a newer Mono, but if you're installing from source see
http://mjhutchinson.com/journal/2007/11/08/how_not_break_mono first,
and try to find packages if you can, e.g.
http://www.viraptor.info/repo.
To fix it with Mono 1.2.4, just fully qualify the type names wherever
this happens, e.g. Gtk.TreeIter instead of TreeIter. We'd be happpy
to commit a patch :-)
--
Michael Hutchinson
http://mjhutchinson.com
More information about the Monodevelop-list
mailing list