[Mono-list] gtk-sharp CVS build failing
Chris Turchin
chris@turchin.net
Sun, 27 Jun 2004 06:29:52 -0700 (PDT)
Hi Fawad,
thanks for the tip (off the list) on how to solve this. if anyone else is having
this problem (and I just saw on IRC that others are) then try this suggestion
from fawad:
When doing the compilation, you need to pass the option
'--optimize=loop' to mono. I had to go into the Makefile for each
assembly in gtk-sharp, change the RUNTIME variable from
<MY_PATH_TO_MONO>/bin/mono to <MY_PATH_TO_MONO>/bin/mono
--optimize=loop.
This is a known mono bug and should be fixed soon.
regards,
--chris
On Sat, 26 Jun 2004, Fawad Halim wrote:
> Hi,
> gtk-sharp build is failing for me with this error:
>
>
> Name: pattern Type: FcPattern* in callback PangoFT2SubstituteFunc
> **** Stubbing it out ****
>
> Unhandled Exception: System.NullReferenceException: Object reference
> not set to an instance of an object
> in <0x0005d> GtkSharp.Generation.ClassBase:GenMethods
> (GtkSharp.Generation.GenerationInfo,System.Collections.Hashtable,GtkSharp.Generation.ClassBase)
>
> make[3]: *** [generated-stamp] Error 1
> make[3]: Leaving directory `/usr/data/fawad/cvs/mono/gtk-sharp/pango'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/data/fawad/cvs/mono/gtk-sharp/pango'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/data/fawad/cvs/mono/gtk-sharp'
> make: *** [all] Error 2
>
>
> I'm getting this same error on both FC2 and Debian Unstable. mono and
> gtk-sharp source was gotten from CVS.
>
> Regards
> -fawad
> _______________________________________________
> Mono-list maillist - Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>