[MonoDevelop] Compiling MonoDevelop on Ubuntu Fiesty

Frogface declan at frogface.org
Wed Aug 29 05:52:08 EDT 2007


Managed to get past my initial csc.exe error by making a symlink (in /usr/bin) 
to mcs.exe in  /usr/lib/mono/1.0/

Decided to switch from tarballs to svn checkouts and manged to make and 
install the mono and libgdiplus modules to /usr/local. Thinking I was on a 
roll I went to build gtk-sharp. The autogen.sh worked ok but sadly the make 
failed as follows:

***********************************************************************
Creating policy.2.4.glib-sharp.dll
Creating policy.2.6.glib-sharp.dll
Creating policy.2.8.glib-sharp.dll
make[3]: Leaving directory 
`/home/declan/extra/NotBackedUp/projects/MonoSvn/gtk-sharp/glib'
make[2]: Leaving directory 
`/home/declan/extra/NotBackedUp/projects/MonoSvn/gtk-sharp/glib'
Making all in pango
make[2]: Entering directory 
`/home/declan/extra/NotBackedUp/projects/MonoSvn/gtk-sharp/pango'
Making all in .
make[3]: Entering directory 
`/home/declan/extra/NotBackedUp/projects/MonoSvn/gtk-sharp/pango'
cp ./pango-api.raw pango-api.xml
chmod u+w pango-api.xml
mono ../parser/gapi-fixup.exe --api=pango-api.xml --metadata=./Pango.metadata --symbols=./pango-symbols.xml
rm -f generated/* &&    \
        mono ../generator/gapi_codegen.exe --generate pango-api.xml \
                \
        --outdir=generated --customdir=. --assembly-name=pango-sharp    \
        --gluelib-name=pangosharpglue-2 --glue-filename=glue/generated.c       
\
        --glue-includes=pango/pango.h                                          
\
        && touch generated-stamp
rettype: const-cairo_font_options_t* in method ContextGetFontOptions in type 
Pango.CairoHelper
Name: options Type: const-cairo_font_options_t* in 
pango_cairo_context_set_font_options  in method ContextSetFontOptions in type 
Pango.CairoHelper

Unhandled Exception: System.IndexOutOfRangeException: Array index is out of 
range.
  at GtkSharp.Generation.Signature.ToString () [0x00000] 
  at GtkSharp.Generation.CallbackGen.Generate 
(GtkSharp.Generation.GenerationInfo gen_info) [0x00000] 
  at GtkSharp.Generation.CodeGenerator.Main (System.String[] args) [0x00000] 
make[3]: *** [generated-stamp] Error 1
make[3]: Leaving directory 
`/home/declan/extra/NotBackedUp/projects/MonoSvn/gtk-sharp/pango'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/declan/extra/NotBackedUp/projects/MonoSvn/gtk-sharp/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/declan/extra/NotBackedUp/projects/MonoSvn/gtk-sharp'
make: *** [all] Error 2
***********************************************************************

How dare an array index go out of range without my permission! Anyone stumbled 
across this error before? Not a peek on google on this one :(

Dec


More information about the Monodevelop-list mailing list