[MonoDevelop] How to update Monodevelop from the SVN
Michael Hutchinson
m.j.hutchinson at gmail.com
Sat May 19 13:43:12 EDT 2007
On 5/19/07, MRNoblestone <mrnoblestone at gmail.com> wrote:
> Would someone please consider giving me a patient, step-by-step
> instruction for how this can be done, including all critical links,
> terminal commands, etc. I am quite sure the post would be used by many
> in the future.
>
> If there's a page for this I could not locate it.
>
> I have "build-essentials" already on my system, so I assume I am ready
> to run a make file, but that's about all I understand. Please be gentle
> with me :)
As documented on the MD download page, you can download it from SVN with
svn co svn://anonsvn.mono-project.com/source/trunk/monodevelop
You will of course need Subversion installed ("sudo apt-get install
subversion").
MonoDevelop has a lot of managed dependencies, but they're all
available in Ubuntu's repositories. You can install them all at once
with "sudo apt-get build-dep monodevelop", though this does install
some extra unecessary pacakges and may not be up-to-date. You may need
to enable the Ubuntu source repositories for this to work.
Next, in the monodevelop folder, run ./autogen.sh. This generates the
configure script and runs it with default arguments (you can pass
configure arguments to ./autogen.sh, but we'll come to this later).
After the configure script has run, it will give you a little summary
of the configure options: various paths, and which components are
enabled.
You can run ./configure with any arguments you want to change. The
most important is --prefix=installprefix, though the default is
/usr/local which is usually ok. You can list all the options with with
"./confiigure --help", and bash might tab-complete the options.
I recommend "./configure --enable-subversion --enable-aspnet
--enable-aspnetedit".
Next run "make". When this completes, you can run MD with "make run"
to check it doesn't have any major bugs, then install it with "make
install" (probably needs to be sudo'd depending where you install it).
Now you're done!
Be aware that if you enable AspNetEdit, it needs its Mozilla "chrome"
to be installed. This happens as part of a normal MD install, or you
can do it by running "sudo make install" in the
"Extras/AspNetEdit/chrome" directory if you want it to work with "make
run" but without installing MD as a whole.
To update MD from svn, run "svn up" in the "monodevelop" directory,
then "make" to rebuild it. Remember to check it works before
installing it; MD HEAD from svn is not always stable!
If the MD build ever breaks, try re-running autogen.sh then
rebuilding. If it still fails, try a "make distclean", then autogen
again. You can check for local changes to the source with "svn
status", view them with "svn diff", and undo them all with "svn revert
--recursive".
--
Michael Hutchinson
http://mjhutchinson.com
More information about the Monodevelop-list
mailing list