[Gtk-sharp-list] gtk-sharp from SVN

Jeremiah McElroy Jeremiah McElroy <jeremiah.mcelroy@gmail.com>
Wed, 12 Jan 2005 12:26:20 -0500


thanks, that did the trick


On Thu, 13 Jan 2005 02:16:06 +0900, Atsushi Eno <atsushi@ximian.com> wrote:
> Hi,
> 
> I could successfully built it with this tiny patch.
> 
> Atsushi Eno
> 
> Jeremiah McElroy wrote:
> > I'm currently trying to build GTK-Sharp from SVN (revision 38787), and
> > I am encountering an error where during the make of gtksharpdotnet,
> > the glib-sharp assembly cannot be found
> >
> > Here is the compiler output:
> >
> > make[2]: Entering directory `/home/mcelroyj/src/monosvn/gtk-sharp/gtkdotnet'
> > /usr/local/bin/mcs /nowarn:0612 /out:gtk-dotnet.dll /target:library
> > -r:../gdk/gdk-sharp.dll -r:System.Drawing ./Graphics.cs
> > ../AssemblyInfo.cs
> >
> > ** (/usr/local/lib/mono/1.0/mcs.exe:12988): WARNING **: Could not find assembly
> > glib-sharp, references from
> > /home/mcelroyj/src/monosvn/gtk-sharp/gdk/gdk-sharp.dll
> > (assemblyref_index=1)
> >      Major/Minor: 2,0
> >      Build:       0,0
> >      Token:       35e10195dab3c99f
> > System error: No such file or directory
> >
> >
> > ** (/usr/local/lib/mono/1.0/mcs.exe:12988): WARNING **: Could not load
> > class from token 0x01000003 in
> > /home/mcelroyj/src/monosvn/gtk-sharp/gdk/gdk-sharp.dll
> >
> > ** ERROR **: file class.c: line 1794 (mono_class_setup_parent): should
> > not be reached
> > aborting...
> > make[2]: *** [gtk-dotnet.dll] Aborted
> > make[2]: Leaving directory `/home/mcelroyj/src/monosvn/gtk-sharp/gtkdotnet'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/mcelroyj/src/monosvn/gtk-sharp'
> > make: *** [all] Error 2
> >
> > I'm running FC3 with an SVN version of mono and mcs installed as well
> > as cairo, libpixman, and libgdiplus from CVS.
> >
> > thanks,
> >
> > jeremiah
> > _______________________________________________
> > Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
> >
> 
> 
> Index: Makefile.am
> ===================================================================
> --- Makefile.am (revision 38788)
> +++ Makefile.am (working copy)
> @@ -12,7 +12,7 @@
>  CLEANFILES = $(ASSEMBLY) gtk-sharp.snk
>  DISTCLEANFILES = $(ASSEMBLY).config
> 
> -references = ../gdk/gdk-sharp.dll
> +references = ../gdk/gdk-sharp.dll ../glib/glib-sharp.dll
>  build_references = $(addprefix -r:, $(references)) -r:System.Drawing
> 
>  sources =                                      \
> 
> 
>