[MonoDevelop] Problem with compiling MonoDevelop 2.2 through Mono 2.6 on Ubuntu 9.10

asmaster alsemad at gmail.com
Mon Jan 4 00:26:27 EST 2010


I decided to move my ASP.NET website to Mono (Ubuntu server) from Windows
Server, because Mono is awesome! It's free and doesn't have any limitations.

The problem is when I try to compile MonoDevelop 2.2 for my Ubuntu 9.10
Desktop, it gives me an error. And I really need the new cool features of
MonoDevelop 2.2.

I successfully compiled Mono 2.6... But

When I try to compile MonoDevelop 2.2, I get this:

** (/usr/local/lib/mono/2.0/gmcs.exe:4266): WARNING **: The following
assembly referenced from
/home/alex/Downloads/monodevelop-2.2/build/bin/MonoDevelop.Core.dll could
not be loaded:
     Assembly:   Mono.Addins.Setup    (assemblyref_index=9)
     Public Key: 0738eb9f132ed756
The assembly was not found in the Global Assembly Cache, a path listed in
the MONO_PATH environment variable, or in the location of the executing
assembly (/home/alex/Downloads/monodevelop-2.2/build/bin/).

** (/usr/local/lib/mono/2.0/gmcs.exe:4266): WARNING **: Could not load file
or assembly 'Mono.Addins.Setup, Version=, Culture=neutral,
PublicKeyToken=0738eb9f132ed756' or one of its dependencies.

Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The
classes in the module cannot be loaded.
  at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
  at System.Reflection.Assembly.GetTypes () [0x00000] in <filename
  at Mono.CSharp.RootNamespace.ComputeNamespaces (System.Reflection.Assembly
assembly, System.Type extensionType) [0x00000] in <filename unknown>:0
  at Mono.CSharp.RootNamespace.ComputeNamespace (Mono.CSharp.CompilerContext
ctx, System.Type extensionType) [0x00000] in <filename unknown>:0
  at Mono.CSharp.GlobalRootNamespace.ComputeNamespaces
(Mono.CSharp.CompilerContext ctx) [0x00000] in <filename unknown>:0
  at Mono.CSharp.Driver.LoadReferences () [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
make[3]: *** [../../../build/bin/MonoDevelop.Components.dll] Error 1
make[3]: Leaving directory
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/alex/Downloads/monodevelop-2.2/src/core'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/alex/Downloads/monodevelop-2.2/src'
make: *** [all-recursive] Error 1

I used the README file to compile:
./configure --prefix=`pkg-config --variable=prefix mono`
sudo   make => that's where the error comes
make install

To compile Mono 2.6 I used:

./configure --prefix=/usr/local; sudo make; sudo make install

I see you have much better support for Open Suse (probably because Open Suse
is owned by Novell), is there a way to make a deb package or something for
Debian/Ubuntu systems?

As you see I'm new in Linux world, but I like setting everything through
command line, I like compiling from sources, but I wish it always worked.

P.S. Just a question about Mono. I guess Mono-C#-ASP.NET web site is going
to be much faster than, say, Python/Ruby or Java web site, right? Just
making sure. The site has about 100,000 users, 50 MB database.

Thank you so much!
View this message in context: http://old.nabble.com/Problem-with-compiling-MonoDevelop-2.2-through-Mono-2.6-on-Ubuntu-9.10-tp27008986p27008986.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.

More information about the Monodevelop-list mailing list