[MonoDevelop] error compiling Boo binding from trunk

Andy Selvig ajselvig at gmail.com
Wed Dec 9 21:28:00 EST 2009


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

Oh, I see. I didn't realize that gtksourceview-sharp-2.0 wasn't for
version 2 of the library (the naming convention is a bit confusing,
but it makes sense now). Well, I don't even think that the cil
bindings for version 1 are in the Ubuntu repos.

> Gtksourceview 1 and 2 are not API compatible.
I should hope not. Otherwise it's a waste of a perfectly good major
version increment.

> 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.
Yeah, Mono.TextEditor has grown to be quite an excellent library. I'd
say it beats out the Visual Studio renderer in features and prettiness
(I can't get Consolas to not look terrible in VS on XP). It would be
awesome to see this functionality with the Boo bindings.

Thanks again for the help, Michael.

On Wed, Dec 9, 2009 at 8:20 PM, Michael Hutchinson
<m.j.hutchinson at gmail.com> wrote:
> 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