[Mono-list] Monodoc 2.0 and Monodevelop 2.2 compilation issues

Tomi bosak.tomas at gmail.com
Fri Dec 18 17:44:25 EST 2009


Hi,

I was trying to compile and install Monodevelop 2.2 from source (I have Mono
daily build tarball from 15 December 2009 on Ubuntu 9.10 32 bit), but I have
encountered some issues.

1. I was following this:

Compiling the following order will yield the most favorable response.

   - Mono.Addins
0.4<http://ftp.novell.com/pub/mono/sources/mono-addins/mono-addins-0.4.tar.bz2>

   - Gtk# 2.12.8<http://ftp.novell.com/pub/mono/sources/gtk-sharp212/gtk-sharp-2.12.8.tar.bz2>

   - Monodoc 2.0<http://ftp.novell.com/pub/mono/sources/monodoc/monodoc-2.0.zip>
   - MonoDevelop
Source<http://ftp.novell.com/pub/mono/sources/monodevelop/monodevelop-2.2.tar.bz2>


Mono.Addins compiled without problem, but strange things started to happen
from GTK#. I compiled and installed gnome-sharp-2.24.1 and Gtk# 2.12.8, but
during configuration of Monodevelop source it could not find gnome-sharp2,
so I installed it from aptitude. Now when I have tried to compile Monodoc
2.0 there were two errors in source code:
- in file /tools/Monodocer.cs were Mono.Documentation.Updater.DocsTypeInfo
and Mono.Documentation.Updater.DocsNodeInfo unavailable due to protection
level, so I made them public just to get rid of the errors and it compiled
ok

2. Now when I try to compile MonoDevelop source I get this unhandled
exception during compilation process:

Unhandled Exception: System.ArgumentException: method declaring type is not
a generic type definition
Parameter name: method
  at System.Reflection.Emit.TypeBuilder.GetMethod (System.Type type,
System.Reflection.MethodInfo method) [0x00000] in <filename unknown>:0
  at System.Reflection.MonoGenericClass.GetMethodsInternal (BindingFlags bf,
System.Reflection.MonoGenericClass reftype) [0x00000] in <filename
unknown>:0
  at System.Reflection.MonoGenericClass.GetMethods (BindingFlags bf)
[0x00000] in <filename unknown>:0
  at System.Type.FindMembers (MemberTypes memberType, BindingFlags
bindingAttr, System.Reflection.MemberFilter filter, System.Object
filterCriteria) [0x00000] in <filename unknown>:0
  at Mono.CSharp.TypeContainer.FindMembers (System.Type t, MemberTypes mt,
BindingFlags bf, System.Reflection.MemberFilter filter, System.Object
criteria) [0x00000] in <filename unknown>:0
  at Mono.CSharp.PendingImplementation.BaseImplements (System.Type
iface_type, System.Reflection.MethodInfo mi, System.Reflection.MethodInfo&
base_method) [0x00000] in <filename unknown>:0
  at Mono.CSharp.PendingImplementation.VerifyPendingMethods
(Mono.CSharp.Report Report) [0x00000] in <filename unknown>:0
  at Mono.CSharp.TypeContainer.EmitType () [0x00000] in <filename
unknown>:0
  at Mono.CSharp.RootContext.EmitCode () [0x00000] in <filename unknown>:0
  at Mono.CSharp.Driver.Compile () [0x00000] in <filename unknown>:0
  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in <filename
unknown>:0
make[3]: *** [../../../build/bin/MonoDevelop.Projects.dll] Error 1
make[3]: Leaving directory
`/home/tomi/mono/src/tarball/monodevelop-2.2/src/core/MonoDevelop.Projects'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/tomi/mono/src/tarball/monodevelop-2.2/src/core'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tomi/mono/src/tarball/monodevelop-2.2/src'
make: *** [all-recursive] Error 1

Everything what I was compiling and installing was with ./configure
--prefix=/usr/local (mono is with --with-profile4=yes)

- Tomi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20091218/ac8d1ab2/attachment-0001.html 


More information about the Mono-list mailing list