Bug 213385

Summary: Monodevelop does not compile glade projects
Product: [Fedora] Fedora Reporter: Seby Carta <sebycarta>
Component: monodevelopAssignee: Paul F. Johnson <paul>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: extras-qa
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-01 09:38:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screenshot of the error and the reference panel none

Description Seby Carta 2006-11-01 08:45:14 UTC
Description of problem:

I cannot compile Glade2 C# projects, when i try to compile a new "fresh" glade2
project monodevelop returned me errors:
--------------------------------------
The type or namespace name `Gtk' could not be found. Are you missing a using
directive or an assembly reference?(CS0246)
........
The type or namespace name `Glade' could not be found. Are you missing a using
directive or an assembly reference?(CS0246)
.....
------------------------------------
If i go on "reference->edit reference", on packages panel i cannot see gtk-sharp
or glade-sharp, but they are installed correctly on mono! because if i compile
externally by command line, the program run fine.

I had this problem also in FC5, and i resolved exporting PKG_CONFIG_PATH in this
way:

export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig

but this has no effects on FC6.
I attach the screenshot of the errors.

Version-Release number of selected component (if applicable):
FC6 x86_64
monodevelop 0.12

How reproducible: always


Steps to Reproduce:
1. Create new project C#->glade2.0
2. Try to build the project
3.
  
Actual results:
SOme error on missing libraries

Expected results:
Building of project

Additional info:

Comment 1 Seby Carta 2006-11-01 08:45:14 UTC
Created attachment 139949 [details]
Screenshot of the error and the reference panel

Comment 2 Paul F. Johnson 2006-11-01 08:57:46 UTC
Odd. I've just fired up monodevelop, created a new Glade2 project and hit F8 to
build the project and there wasn't a problem.

Could you go to the command line and type

rpm -qa gtk-sharp*

and let me know what you're seeing. It is possible that as FC is using multiple
libs now on 64 bit platforms that you're getting some form of conflict that you
shouldn't (it's happened at this end - I solved it by hosing all the the i386
packages)

That said, it's equally possible that I've screwed up somewhere!

Comment 3 Seby Carta 2006-11-01 09:01:09 UTC
[root@localhost seby]# rpm -qa gtk-sharp*
gtk-sharp2-2.10.0-3.fc6
gtk-sharp-1.0.10-12.fc6


Comment 4 Paul F. Johnson 2006-11-01 09:14:11 UTC
Okay, I think I know what the problem is now - as a confirmer, can you type

su
yum -y install gtk-sharp*

and try and run it - I have a feeling I need to change the spec file so that the
-gapi and -devel files are requires.

Comment 5 Seby Carta 2006-11-01 09:16:57 UTC
PERFECT!!! IT RUN!!

thank you so much

Comment 6 Paul F. Johnson 2006-11-01 09:26:37 UTC
Excellent - I thought it would. Out of interest, have you got the
monodevelop-devel package installed?

Comment 7 Seby Carta 2006-11-01 09:29:27 UTC
No, i don't have installed monodevelop-devel
[ Note that the same problem is also on FC5 ;-) ]


Comment 8 Paul F. Johnson 2006-11-01 09:38:19 UTC
Thanks, I was just making sure before I do a build.