[MonoDevelop] Error Compiling Monodevelop

quandary quandary82 at hailmail.net
Mon Nov 28 22:24:38 EST 2011


Hi there,

I don't know how you did it, I had no problems installing monodevelop 
2.8.1 on Ubuntu 11.10.
Either you use an older version, or you haven't properly compiled the 
mono runtime of the 2.10.x branch, or you used the sources from git.

I made a tutorial on how to install mono (& monodevelp) on ubuntu from 
sources.
It's for 2.8, but just replace 2.8 with 2.10.x and it will work.
See here:
http://ubuntuforums.org/showthread.php?p=9943196

PS: On Ubuntu 11.10, just do
apt-get install libglib2.0-cil libglib2.0-cil-dev
to have it glib installed.

For mono 2.8 on Ubuntu 11.10, all you need to do is to download and 
compile the latest version of mono-addins.


PS2:
I see you're using kUbuntu.
If you're going to install Ubuntu 11.10, you'll fine gnome 3 pretty 
unusable.
KDE is much too slow (and that althought I have 8 GB RAM, and a 1.6  GHz 
AMD Phenom Quadcore, and 1 GB of graphics RAM...), and XFCE too limited.

As a resolution, I installed enlightenment:
sudo add-apt-repository ppa:hannes-janetzek/enlightenment-svn
sudo apt-get update
sudo apt-get install e17

It has a bit of a learning curve, but overall, it's pretty close to perfect.
I also had to install kdm to be able to boot into it, because gdm 
doesn't seem to work properly...


On 11/28/2011 02:00 AM, onwukarisa wrote:
> Hello All,
>
> Please i have problem compiling monodevelop 2.7.22. Below is the error that
> it gives me on my kubuntu linux terminal:
>
> Errors:
>
> /host/Users/OMEGA7/Downloads/Compressed/monodevelop-2.7.22/contrib/NGit/NGit.csproj
> (default targets) ->
> /usr/local/lib/mono/4.0/Microsoft.CSharp.targets (CoreCompile target) ->
>
>          NGit/ObjectIdOwnerMap.cs(202,34): error CS1061: Type `Q' does not
> contain a definition for `next' and no extension method `next' of type `Q'
> could be found (are you missing a using directive or an assembly reference?)
>          NGit/ObjectIdOwnerMap.cs(242,34): error CS1061: Type `Q' does not
> contain a definition for `next' and no extension method `next' of type `Q'
> could be found (are you missing a using directive or an assembly reference?)
>
> Then when i now try to run the monodevelop 2.4 that's initially in my system
> before i tried to compile version 2.7.22, i get the error below:
>
> WARNING: Cannot find Mozilla directory containing libgtkembedmoz.so. Some
> Addins may not be able to function. Please set MOZILLA_FIVE_HOME to your
> Mozilla directory.
>
> Unhandled Exception: System.TypeLoadException: A type load exception has
> occurred.
> Could not load file or assembly 'glib-sharp, Version=2.12.0.0,
> Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its
> dependencies.
>
> Am slightly confused. I know that the compilation i tried to do for MD
> 2.7.22 has caused something not to work again on my system ( which is
> glib-sharp) but i don't know how to fix this.
>
> Please can some one help or explain as I have no MD t work with.
>
> thanks
>
>
>
>
> --
> View this message in context:http://mono.1490590.n4.nabble.com/Error-Compiling-Monodevelop-tp4113810p4113810.html
> Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list



On 11/28/2011 02:00 AM, onwukarisa wrote:
> Hello All,
>
> Please i have problem compiling monodevelop 2.7.22. Below is the error that
> it gives me on my kubuntu linux terminal:
>
> Errors:
>
> /host/Users/OMEGA7/Downloads/Compressed/monodevelop-2.7.22/contrib/NGit/NGit.csproj
> (default targets) ->
> /usr/local/lib/mono/4.0/Microsoft.CSharp.targets (CoreCompile target) ->
>
>          NGit/ObjectIdOwnerMap.cs(202,34): error CS1061: Type `Q' does not
> contain a definition for `next' and no extension method `next' of type `Q'
> could be found (are you missing a using directive or an assembly reference?)
>          NGit/ObjectIdOwnerMap.cs(242,34): error CS1061: Type `Q' does not
> contain a definition for `next' and no extension method `next' of type `Q'
> could be found (are you missing a using directive or an assembly reference?)
>
> Then when i now try to run the monodevelop 2.4 that's initially in my system
> before i tried to compile version 2.7.22, i get the error below:
>
> WARNING: Cannot find Mozilla directory containing libgtkembedmoz.so. Some
> Addins may not be able to function. Please set MOZILLA_FIVE_HOME to your
> Mozilla directory.
>
> Unhandled Exception: System.TypeLoadException: A type load exception has
> occurred.
> Could not load file or assembly 'glib-sharp, Version=2.12.0.0,
> Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its
> dependencies.
>
> Am slightly confused. I know that the compilation i tried to do for MD
> 2.7.22 has caused something not to work again on my system ( which is
> glib-sharp) but i don't know how to fix this.
>
> Please can some one help or explain as I have no MD t work with.
>
> thanks
>
>
>
>
> --
> View this message in context: http://mono.1490590.n4.nabble.com/Error-Compiling-Monodevelop-tp4113810p4113810.html
> Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20111129/76b4990f/attachment.html 


More information about the Monodevelop-list mailing list