[Mono-list] problem linking against gecko-sharp

asebian asebian at gmail.com
Thu Nov 20 08:58:05 EST 2008


Hi, I built 

mozilla-3.0.3
mono-2.0.1
gecko-sharp-2.0-0.13
gluezilla-2.0
...

from source on a linux system. I'm not a C# programmer and totally out of
the windows world so the solution to my problems might be pretty obvious.
I found a simple demo code to test my installation with. The compilation
fails for the first time in the line with the 'using Gecko;' directive.

# mcs -pkg:gtk-sharp-2.0 -pkg:glade-sharp-2.0 WebBrowser.cs
WebBrowser.cs(4,7): error CS0246: The type or namespace name 'Gecko' could
not be found. Are you missing a using directive or an assembly reference?

There is a simmilar error complaining about 'WebControl'.
When I add '-pkg:gecko-sharp-2.0' to my command all of these messages vanish
but I end up with this message:

error CS0006: cannot find metadata file
'/usr/lib/mono/gecko-sharp-2.0/gecko-sharp.dll'
Compilation failed: 1 error(s), 0 warnings

On my system this file is a dangling symlink to the non existing
../gac/gecko-sharp/2.0.0.0__ccf7d78a55e9f021/gecko-sharp.dll

This means ther is something wrong with my install, right?
Is there a specific order I have to compile the packages in?
Did I miss some additional configuration?
Do I have to use gacutil? ... but how?

Cheers!
-- 
View this message in context: http://www.nabble.com/problem-linking-against-gecko-sharp-tp20601579p20601579.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list