Red Hat Bugzilla – Bug 217242
MonoDevelop package from yum is not complete
Last modified: 2008-08-02 19:40:33 EDT
Description of problem: MonoDevelop will install, however, when attempting to
build and run one of the sample projects (or any other Gtk-sharp2 based project)
the compiler can never find the type or namespace Gtk.
Version-Release number of selected component (if applicable): 0.12
How reproducible: Not attempted to reproduce as of yet, seems very reproducible.
Steps to Reproduce:
1. Install MonoDevelop using yum
2. Fire MonoDevelop up
3. Create a new Gnome# 2 project from the samples (File > New Project)
4. Attempt to Run it. It fails here.
Compiler throws error
Sample project should compile and run
I fixed this by running yum install gtk-sharp2*
Which build on monodevelop are you using? 0.12-7 certainly has R gtk-sharp2-gapi
in it (this is what is needed for the gnome# 2 stuff)
It was the MonoDevelop found in the repositories, The Help>About menu says that
it is MonoDevelop 0.12.0.0 The Yum install gtk-sharp2* said that it installed
gtk-sharp2-docs and gtk-sharp2-devel.
Running yum install gtk-sharp2* has NOT fixed the Gnome-sharp problems, however,
Gtk# 2 projects are possible, just not Gnome# will not compile.
rpm -qa monodevelop will help here.
I'll look into the problem and should hopefully have a fix at some point soon
[root@localhost $]# rpm -qa monodevelop
monodevelop is currently at version 0.12-8 - I'm not sure if that's the case in
fc6, but it is in rawhide - try the version from there and let me know if it's
still causing a problem
Is it still causing you a problem with the 0.12-8 release?
This problem seems still present both on F7 and F8T1. Yesterday I needed a
simple program, so I did a 'yum install monodevelop' on F8T1, run it, created a
Gtk project without problems, but when I tried to compile the project, I got the
error "The type or namespace 'Gtk' could not be found. Are you missing a using
directive or assembly reference?(CS0246)". Then I booted to F7, and tried the
same thing, and got the same error.
After looking a bit, I found that installing gtk-sharp2-devel fixes it. I
double-checked it now: a 'rpm -e gtk-sharp2-devel' makes the compilation fail, a
'yum install gtk-sharp2-devel' makes it work again.
So it seems that monodevelop should depend on gtk-sharp2-devel.
Trying the Gnome# 2.0 Project under Samples still fails. Again installing
'gnome-sharp-devel' fixes the error.
Both gtk-sharp2-devel and gnome-sharp-devel are near 4Kb in size each, so I
think is not a big problem.
Instead, to be able to read the gtk documentation, I need to manually install
'gtk-sharp2-doc'. It would be nice to have it pulled automatically, but is a bit
fat and not strictly required...
Is this happening with 0.17b2 in rawhide?
Fedora apologizes that these issues have not been resolved yet. We're
sorry it's taken so long for your bug to be properly triaged and acted
on. We appreciate the time you took to report this issue and want to
make sure no important bugs slip through the cracks.
If you're currently running a version of Fedora Core between 1 and 6,
please note that Fedora no longer maintains these releases. We strongly
encourage you to upgrade to a current Fedora release. In order to
refocus our efforts as a project we are flagging all of the open bugs
for releases which are no longer maintained and closing them.
If this bug is still open against Fedora Core 1 through 6, thirty days
from now, it will be closed 'WONTFIX'. If you can reporduce this bug in
the latest Fedora version, please change to the respective version. If
you are unable to do this, please add a comment to this bug requesting
Thanks for your help, and we apologize again that we haven't handled
these issues to this point.
The process we are following is outlined here:
We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.
And if you'd like to join the bug triage team to help make things
better, check out http://fedoraproject.org/wiki/BugZappers