[MonoDevelop] Fwd: Problems compiling latest mono and monodevelop

Neil Munro neilmunro at gmail.com
Thu Jan 3 11:03:07 EST 2008


---------- Forwarded message ----------
From: Neil Munro <neilmunro at gmail.com>
Date: Jan 1, 2008 1:06 PM
Subject: Re: [MonoDevelop] Problems compiling latest mono and monodevelop
To: Michael Hutchinson <m.j.hutchinson at gmail.com>
Cc: monodevelop-list at lists.ximian.com




On Dec 29, 2007 8:34 PM, Michael Hutchinson <m.j.hutchinson at gmail.com>
wrote:

> Hi,
>
> On Dec 29, 2007 9:50 AM, Neil Munro <neilmunro at gmail.com> wrote:
> > I have been away from the net when mono 1.2.6 was released and thought i
>
> > would simply download and install using instructions i was previously
> given
> > from this list, however I was very confused when the instructions did
> not
> > work, and since I try and keep a clean system i make uninstalled 1.2.5.xand
> > that refuses to install now.
>
> Please read http://www.mono-project.com/Parallel_Mono_Environments and
> http://mjhutchinson.com/journal/2007/11/08/how_not_break_mono for
> advice on keeping a clean Mono build.
>
> > sudo apt-get build-dep mono monodevelop
> > Download mono-1.2.5.2.tar.bz2<
> > http://go-mono.com/sources/mono/mono-1.2.5.2.tar.bz2 >and
> > monodevelop-0.17.tar.bz2<
> http://go-mono.com/sources/monodevelop/monodevelop-0.17.tar.bz2
> > >from
> > http://go-mono.com/sources-stable/.
> >
> > bunzip2 mono-1.2.5.2.tar.bz2
> > tar xvf mono-1.2.5.2.tar
> > cd mono-1.2.5.2
> > ./configure -prefix=`pkg-config --variable=prefix mono`
>
> This is not good, as it's expressly designed to install Mono 1.2.5.1
> ON TOP of your existing Mono, which can break things. Since you
> removed Mono already, it won't work. Unfortunately, there's a lot of
> advice like this going around.
>
> > make
> > sudo make install
> >
> > bunzip2 monodevelop-0.17.tar.bz2
> > tar xvf monodevelop-0.17.tar
> > cd monodevelop-0.17
> > ./configure -prefix=`pkg-config --variable=prefix mono`
>
> This command also is designed to install Mono into the /usr prefix,
> which is generally not good proactice. Software you have compiled
> yourself usually goes into /usr/local. For teh sake of simplicity I'd
> make an exception for mono-addins, becuase it need to be in the GAC,
> and Mono doesn't search the /usr/local GAC by default.
>
> > make
> > sudo make install
> >
> >
> > Obviously I substituted version numbers where needed but now i have no
> mono
> > install on my computer and I would like to fix this. Can someone help
> me?
>
> Use apt to reinstall Mono, to make sure that anything in your system
> that depends on it works properly.


Having problems with doing this, my pidgin uses a C# plugin but now runs
f-spot and banshee are humped with this error:

niadh at Aurora:~$ f-spot
Corlib not in sync with this runtime: expected corlib version 58, found 56.
Loaded from: /usr/lib/mono/2.0/mscorlib.dll
Download a newer corlib or a newer runtime at http://www.go-mono.com/daily.

I fixed the pidgin problem by simply reinstalling the package that contained
mscorlib but it has not solved this, and not knowing which to compile and
which not to i don't want to shaft my system anymore than i have done.


> You will be able to use MonoDevelop
> with this Mono. Bear in mind that this time you will need to install
> mono-addins-0.3 too.



I created the mono_env file and sourced into it, however the latest mono
wouldn't compile, but libgdi+ did, which i remember reading that i needed to
compile first.


>
>
> If you wish, you can set up a parallel install as per the instructions
> in the pages that I linked, and install MD into the parallel
> environment.
>
> HTH,
> --
> Michael Hutchinson
> http://mjhutchinson.com



Please find attached the build output of mono, hopefully it should have
enough information to find out what's going wrong.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20080103/fd84265c/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mono-build-output
Type: application/octet-stream
Size: 437019 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20080103/fd84265c/attachment-0001.obj 


More information about the Monodevelop-list mailing list