[MonoDevelop] error compiling Boo binding from trunk

Andy Selvig ajselvig at gmail.com
Wed Dec 9 21:16:33 EST 2009


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?).

Thanks.

On Tue, Dec 8, 2009 at 11:39 PM, Michael Hutchinson
<m.j.hutchinson at gmail.com> wrote:
> On Tue, Dec 8, 2009 at 7:56 PM, Andy Selvig <ajselvig at gmail.com> wrote:
>> Hi-
>>
>> I'm getting an error when trying to compile the Boo binding from
>> trunk. It seems strange to me. Any thoughts?
>>
>> Boo Compiler version 0.8.2.2960 (CLR v2.0.50727.1433)
>>
>> ** (/usr/lib/boo/booc.exe:16835): WARNING **: The following assembly
>> referenced from
>> /home/andy/Mono/MonoDevelop-svn/extras/BooBinding/build/BooShell.dll
>> could not be loaded:
>>     Assembly:   MonoDevelop.Core    (assemblyref_index=7)
>>     Version:    2.1.0.0
>>     Public Key: (none)
>> The assembly was not found in the Global Assembly Cache, a path listed
>> in the MONO_PATH environment variable, or in the location of the
>> executing assembly
>> (/home/andy/Mono/MonoDevelop-svn/extras/BooBinding/build/).
>>
>>
>> ** (/usr/lib/boo/booc.exe:16835): WARNING **: Could not load file or
>> assembly 'MonoDevelop.Core, Version=2.1.0.0, Culture=neutral,
>> PublicKeyToken=null' or one of its dependencies.
>> BCE0106: Failed to access the types defined in assembly 'BooShell,
>> Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' -
>> (/home/andy/Mono/MonoDevelop-svn/extras/BooBinding/build/BooShell.dll):The
>> classes in the module cannot be loaded.
>> Could not load file or assembly 'MonoDevelop.Core, Version=2.1.0.0,
>> Culture=neutral, PublicKeyToken=null' or one of its dependencies.
>
> AFAICT there's a build dependency order issue in the boo binding
> makefiles, which means that when MD assembly versions change, the
> build breaks. You can work around it by running "make clean" in the
> boo binding.
>
> --
> Michael Hutchinson
> http://mjhutchinson.com
>


More information about the Monodevelop-list mailing list