[MonoDevelop] error compiling Boo binding from trunk

Michael Hutchinson m.j.hutchinson at gmail.com
Wed Dec 9 21:20:12 EST 2009


On Wed, Dec 9, 2009 at 9:16 PM, Andy Selvig <ajselvig at gmail.com> wrote:
> Well, yup, that fixed the MonoDevelop.Core version error. I'm now
> getting something like this:
>
> Boo Compiler version 0.8.2.2960 (CLR v2.0.50727.1433)
> ./Gui/ShellTextView.boo(79,19): BCE0005: Unknown identifier:
> 'SourceLanguagesManager'.
> ./Gui/ShellTextView.boo(84,46): BCE0019: 'SourceTagTable' is not a
> member of 'GtkSourceView'.
> 2 error(s).
>
> Seems like it's probably a version mismatch for GtkSourceView. I have
> 2.26.0 installed.
>
> To be fair, I had to do a little hackery to get this going in the
> first place. I'm running Ubuntu and it seems to use a different name
> for the GtkSourveView cil bindings package config file. In Ubuntu,
> it's called gtksourceview2-sharp.pc, but I think MonoDevelop wanted it
> to be called gtksourceview-sharp-2.0.pc or something. So I copied the
> former to the latter. I don't know if this messed anything up.
>
> Anyway, unless anyone has some quick fixes, I'll likely just wait
> until all the versions get bumped in the Ubuntu repos (or switch to
> OpenSUSE?).

You can't just copy over the pc file like that.

gtksourceview-sharp-2.0 is the 2.0 version of the binding to gtksourceview 1
gtksourceview-2-sharp is the binding to gtksourceview 2

Gtksourceview 1 and 2 are not API compatible.

Since gtksourceview 1 has been deprecated for a while, someone really
needs to port the boo binding to use gtksourceview 2 - or, better,
make it work with Mono.TextEditor.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list