[Mono-devel-list] gecko-sharp-0.2 compilation problem

Artur Brodowski bzd at astercity.net
Wed May 5 08:37:13 EDT 2004

Latest Mono Beta 1 and Gtk# 0.91.1, glib-sharp.dll is present:

# ls -al /usr/lib/mono/gtk-sharp/glib-sharp.dll
lrwxrwxrwx  1 root root 69 maj  5
14:14 /usr/lib/mono/gtk-sharp/glib-sharp.dll
-> /usr/lib/mono/gac/glib-sharp/

but during compilation gecko-sharp I get this error:
make[1]: Entering directory
/usr/bin/mcs --unsafe \
-L ..//gtkmozembed \
-r gecko-sharp.dll \
-L /usr/lib \
-r glib-sharp.dll -r gtk-sharp.dll -r gdk-sharp.dll \
-r System.Drawing \
-o GtkMozApp.exe ./GtkMozApp.cs ./MozWindow.cs
** (/usr/lib/mono/1.0/mcs.exe:18122): WARNING **: Could not find
assembly glib-sharp, references from /usr/lib/gecko-sharp.dll
     Major/Minor: 0,0
     Build:       0,0
     Token:       (null)
Unhandled Exception: System.NullReferenceException: A null value was
found where an object instance was required.
in (unmanaged) /usr/lib/libmono.so.0(mono_assembly_open+0xfa)
in (unmanaged) /usr/lib/libmono.so.0(mono_assembly_load+0x305)
in (unmanaged) /usr/lib/libmono.so.0 [0x400e6c35]
in <0x0006c> (wrapper remoting-invoke-with-check)
System.AppDomain:LoadAssembly (string,System.Security.Policy.Evidence)
in <0x0006b> System.AppDomain:Load (string)
in <0x00058> (wrapper remoting-invoke-with-check) System.AppDomain:Load
(string)in <0x0001d> System.Reflection.Assembly:Load (string)
in <0x0012d> Mono.CSharp.Driver:LoadAssembly (string,bool)
in <0x0009f> Mono.CSharp.Driver:LoadReferences ()
in <0x006ac> Mono.CSharp.Driver:MainDriver (string[])
in <0x0001a> Mono.CSharp.Driver:Main (string[])
make[1]: *** [GtkMozApp.exe] Błąd 1
make[1]: Leaving directory
make: *** [all-recursive] Błąd 1
!!! ERROR: dev-dotnet/gecko-sharp-0.2 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! make failed

I've tried to --disable-samples in confugre, but it does not work.
Could anyone help?
only so many songs can be sung with two lips two lungs and one tongue

More information about the Mono-devel-list mailing list