Red Hat Bugzilla – Bug 200811
gtksourceview-sharp-2.0-13.fc5.x86_64 installs assembly where monodevelop can't find it
Last modified: 2007-11-30 17:11:39 EST
Description of problem:
On my FC5 x86_64 system, monodevelop can't find gtksourceview-sharp.dll after
installing the latest update. I believe this is because it is installed under
/usr/lib64/mono/gac while everything else is installed under /usr/lib/mono/gac.
Shouldn't the assembly be installed somewhere that monodevelop can find it
without needing to set any env vars?
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run monodevelop
The error is:
[brettle@ibexpc ~]$ monodevelop
** (MonoDevelop:19744): WARNING **: The following assembly referenced from
/usr/lib/monodevelop/AddIns/MonoDevelop.SourceEditor.dll could not be loaded:
Assembly: gtksourceview-sharp (assemblyref_index=2)
Public Key: 35e10195dab3c99f
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
** (MonoDevelop:19744): WARNING **: The class
GtkSourceView.SourceLanguagesManager could not be loaded, used in
gtksourceview-sharp, Version=220.127.116.11, Culture=neutral,
** ERROR **: file class.c: line 2505 (mono_class_setup_parent): should not be
Monodevelop should start without error.
FYI, I was unable to use MONO_PATH or MONO_GAC_PREFIX to convince mono to use
that directory, but perhaps I just didn't provide the correct setting.
Monodevelop is not in FE yet. There is an open report on this (#178904). The
version currently in development fixes this problem.
Thanks for the report.
Good to know that monodevelop is being reviewed. However, I'm reopening because
I'm concerned that this is a larger problem. Shouldn't gtksourceview-sharp be
visible to mono in general, not just monodevelop? For example, gacutil can't
find it either:
[brettle@ibexpc ~]$ gacutil -l gtksourceview-sharp
The following assemblies are installed into the GAC:
Number of items = 0
Also, gtk-sharp installs under /usr/lib/mono/gac. Is gtksourceview-sharp more
platform-dependent than gtk-sharp in some way?
I'm not trying to be a pain. I just want to make sure that this issue is
resolved in the correct/consistent manner. Thanks!
The problem is actually an upstream one. Due to the way mono is done (it has to
be platform and processor agnostic), everything is placed in /usr/lib -
irrespective of hardware considerations..
There has been much debate on the packagers lists over this and for now, the
decision is that /usr/lib is fine, but upstream really have to fix the problem.
It looks like gtksourceview-sharp was caught in the cross fire.
I'm building a fixed version and will commit it tonight. It should hit extras on
the next push. If it still comes back as a problem, please open a new bug rather
than this one (it looks like it is a monodevelop bug report!)