зеркало из https://github.com/mono/mail-archives.git
527 строки
28 KiB
HTML
527 строки
28 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Monodevelop-patches-list] r1222 - in trunk/md-website: . include tutorials
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:monodevelop-patches-list%40lists.ximian.com?Subject=%5BMonodevelop-patches-list%5D%20r1222%20-%20in%20trunk/md-website%3A%20.%20include%20tutorials&In-Reply-To=">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="000828.html">
|
|
<LINK REL="Next" HREF="000830.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Monodevelop-patches-list] r1222 - in trunk/md-website: . include tutorials</H1>
|
|
<B>commit-watcher at mono-cvs.ximian.com</B>
|
|
<A HREF="mailto:monodevelop-patches-list%40lists.ximian.com?Subject=%5BMonodevelop-patches-list%5D%20r1222%20-%20in%20trunk/md-website%3A%20.%20include%20tutorials&In-Reply-To="
|
|
TITLE="[Monodevelop-patches-list] r1222 - in trunk/md-website: . include tutorials">commit-watcher at mono-cvs.ximian.com
|
|
</A><BR>
|
|
<I>Sun Mar 21 18:10:51 EST 2004</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="000828.html">[Monodevelop-patches-list] r1221 - trunk/MonoDevelop
|
|
</A></li>
|
|
<LI>Next message: <A HREF="000830.html">[Monodevelop-patches-list] r1223 - in trunk/MonoDevelop: . src/Main/Base/Gui src/Main/Base/Gui/Pads/ProjectBrowser/BrowserNode src/Main/Base/Services/File src/Main/Base/Services/Project
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#829">[ date ]</a>
|
|
<a href="thread.html#829">[ thread ]</a>
|
|
<a href="subject.html#829">[ subject ]</a>
|
|
<a href="author.html#829">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>Author: kevinb
|
|
Date: 2004-03-21 18:10:50 -0500 (Sun, 21 Mar 2004)
|
|
New Revision: 1222
|
|
|
|
Added:
|
|
trunk/md-website/tutorials/
|
|
trunk/md-website/tutorials/helloworld.aspx
|
|
trunk/md-website/tutorials/install.aspx
|
|
Modified:
|
|
trunk/md-website/include/header.ascx
|
|
trunk/md-website/tutorial.aspx
|
|
Log:
|
|
Split the tutorials into two tutorials and redo a few header issues
|
|
|
|
|
|
Modified: trunk/md-website/include/header.ascx
|
|
===================================================================
|
|
--- trunk/md-website/include/header.ascx 2004-03-21 22:49:37 UTC (rev 1221)
|
|
+++ trunk/md-website/include/header.ascx 2004-03-21 23:10:50 UTC (rev 1222)
|
|
@@ -2,12 +2,12 @@
|
|
"<A HREF="http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"">http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"</A>>
|
|
<html>
|
|
<head>
|
|
- <link rel="stylesheet" media="screen" href="styles.css" type="text/css" />
|
|
+ <link rel="stylesheet" media="screen" href="/styles.css" type="text/css" />
|
|
<title>MonoDevelop Homepage</title>
|
|
</head>
|
|
<body>
|
|
<div id="header">
|
|
- <img src="images/mono-develop.png" alt=""/>
|
|
+ <img src="/images/mono-develop.png" alt=""/>
|
|
</div>
|
|
<div id="left-nav">
|
|
<ul>
|
|
|
|
Modified: trunk/md-website/tutorial.aspx
|
|
===================================================================
|
|
--- trunk/md-website/tutorial.aspx 2004-03-21 22:49:37 UTC (rev 1221)
|
|
+++ trunk/md-website/tutorial.aspx 2004-03-21 23:10:50 UTC (rev 1222)
|
|
@@ -3,202 +3,15 @@
|
|
|
|
<ccms:PageHeader runat="server"/>
|
|
|
|
- <div class="title">"Hello World" Tutorial</div>
|
|
+ <div class="title">MonoDevelop Tutorials</div>
|
|
|
|
- <p>This tutorial is intended to take you through all the necessary steps to get an updated copy of MonoDevelop, build it with all its dependencies, and write "Hello World" with it. This tutorial assumes you will install mono and MonoDevelop to a PREFIX of /usr/local. Substitute your own PREFIX where applicable if this is not the case.
|
|
- </p>
|
|
-
|
|
-
|
|
- <br /><br />
|
|
-
|
|
- <div class="headlinebar">Getting Started</div>
|
|
- <p>There are some packages which are required before building MonoDevelop. The following instructions guide you through installing them.
|
|
- </p>
|
|
-
|
|
- <b>1. <a href="<A HREF="http://oss.software.ibm.com/icu/"">http://oss.software.ibm.com/icu/"</A>>International Components for Unicode (ICU)</a></b><br />
|
|
- <p>MonoDevelop requires ICU for internationalization. At the time of this writing, it cannot be assumed MonoDevelop will be stable without ICU. Since mono (step 5.) should be built with ICU support, we'll install it first.</p>
|
|
+ <p>Learn to use MonoDevelop by reading our tutorials.</p>
|
|
<ul>
|
|
- <li>Download the <a href="<A HREF="ftp://www-126.ibm.com/pub/icu/2.8/icu-2.8.tgz"">ftp://www-126.ibm.com/pub/icu/2.8/icu-2.8.tgz"</A>>ICU 2.8 tarball</a>.</li>
|
|
- <li>Unpack and install the tarball by typing:
|
|
-
|
|
-<pre class="code">
|
|
-tar -xzf icu-2.8.tgz
|
|
-cd icu/source
|
|
-chmod +x runConfigureICU configure install-sh
|
|
-./runConfigureICU LinuxRedHat --disable-64bit-libs
|
|
-make
|
|
-make install
|
|
-</pre>
|
|
- </li>
|
|
+ <li><a href="/tutorials/install.aspx">Installing MonoDevelop</a></li>
|
|
+ <li><a href="/tutorials/helloworld.aspx">Write a Gtk# Hello World</a></li>
|
|
</ul>
|
|
- <p>If you have any difficulties installing ICU, refer to <a href="<A HREF="http://oss.software.ibm.com/cvs/icu/~checkout~/icu/readme.html?tag=release-2-8"">http://oss.software.ibm.com/cvs/icu/~checkout~/icu/readme.html?tag=release-2-8"</A>>icu/readme.html</a>.</p>
|
|
-
|
|
- <b>2. <a href="<A HREF="http://www.gnome.org/projects/ORBit2/"">http://www.gnome.org/projects/ORBit2/"</A>>ORBit2 2.8.3</a></b>
|
|
-
|
|
- <p>Although newer versions of ORBit <i>may</i> work, they have been known to produce non-fatal crashes when MonoDevelop exits. If in doubt, <a href="<A HREF="http://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.8/ORBit2-2.8.3.tar.gz"">http://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.8/ORBit2-2.8.3.tar.gz"</A>>download ORBit 2.8.3</a>. Once you have ORBit2 downloaded, install it with:
|
|
-
|
|
-<pre class="code">
|
|
-tar -xzf ORBit2-2.8.3.tar.gz
|
|
-cd ORBit2-2.8.3
|
|
-./configure
|
|
-make
|
|
-make install
|
|
-</pre>
|
|
-
|
|
-
|
|
- <b>3. <a href="<A HREF="http://www.mozilla.org/unix/gtk-embedding.html"">http://www.mozilla.org/unix/gtk-embedding.html"</A>>gtkmozembed</a></b>
|
|
- <p>gtkmozembed can generally be found as (or in) a package for your OS. For example:<br />
|
|
- <ul><li>Debian: `mozilla-dev'</li>
|
|
- <li>RedHat: `mozilla-devel'</li>
|
|
- <li>FreeBSD: `mozilla-gtkmozembed'</li></ul>
|
|
- I have yet to find an official tarball for gtkmozembed, but I haven't looked very hard. If you know of one, please <a href="mailto:<A HREF="http://lists.ximian.com/mailman/listinfo/monodevelop-patches-list">steve at citygroup.ca</A>">let me know</a>.
|
|
- </p>
|
|
-
|
|
-
|
|
- <b>4. <a href="<A HREF="http://gtksourceview.sourceforge.net/"">http://gtksourceview.sourceforge.net/"</A>>GtkSourceView 0.7</a></b>
|
|
- <p>GtkSourceView is a widget for displaying sourcecode (imagine that). Since MonoDevelop uses gtksourcevew-sharp, and this is only a wrapper, we must first install GtkSourceView. You may download a binary package for your distribution if it provides version 0.7 or higher. Otherwise, download the <a href="<A HREF="http://ftp.acc.umu.se/pub/gnome/sources/gtksourceview/0.7/gtksourceview-0.7.0.tar.gz"">http://ftp.acc.umu.se/pub/gnome/sources/gtksourceview/0.7/gtksourceview-0.7.0.tar.gz"</A>>official tarball (0.7)</a>. Then install:</p>
|
|
-
|
|
-<pre class="code">
|
|
-tar -xzf gtksourceview-0.7.0.tar.gz
|
|
-cd gtksourceview-0.7.0
|
|
-./configure --prefix=`pkg-config --variable=prefix ORBit-2.0`
|
|
-make
|
|
-make install
|
|
-</pre>
|
|
-
|
|
-
|
|
- <b>5. <a href="<A HREF="http://www.go-mono.com/download.html"">http://www.go-mono.com/download.html"</A>>Mono 0.30.1</a>, gtk-sharp, gtksourceview-sharp</b>
|
|
-
|
|
- <p>Though you may use a pre-packaged copy of the runtime, we recommend compiling one yourself from CVS. gtk-sharp and gtksourceview-sharp <b>must</b> be compiled from CVS.</p>
|
|
-
|
|
- <ul>
|
|
- <li>Download the latest cvs copies of mono, mcs, gtk-sharp, and gtksourceview-sharp:
|
|
-
|
|
-<pre class="code">
|
|
-export CVSROOT=:pserver:<A HREF="http://lists.ximian.com/mailman/listinfo/monodevelop-patches-list">anonymous at anoncvs.go-mono.com</A>:/mono
|
|
-cvs login
|
|
-cvs -z3 co mcs mono gtk-sharp gtksourceview-sharp
|
|
-</pre>
|
|
- </li>
|
|
-
|
|
- <li>Before compiling: Make sure you have`<tt>$PREFIX/lib</tt>' (usually `<tt>/usr/local/lib</tt>') in /etc/ld.so.conf. If you do not, add it with the following:
|
|
-
|
|
-<pre class="code">
|
|
-su
|
|
-echo "/usr/local/lib" &gt;&gt; /etc/ld.so.conf
|
|
-/sbin/ldconfig
|
|
-</pre>
|
|
-
|
|
- <li>Similarly, check to make sure you have PKG_CONFIG_PATH set properly. It can be set with:
|
|
-
|
|
-<pre class="code">
|
|
-export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
|
|
-</pre>
|
|
- </li>
|
|
-
|
|
- <li>You can then compile mono and gtk-sharp using the following:
|
|
-
|
|
-<pre class="code">
|
|
-cd mono
|
|
-./autogen.sh --prefix=/usr/local
|
|
-make fullbuild
|
|
-
|
|
-cd ../gtk-sharp
|
|
-./autogen.sh --prefix=/usr/local
|
|
-make
|
|
-make install
|
|
-
|
|
-cd ../gtksourceview-sharp
|
|
-./autogen.sh --prefix=/usr/local
|
|
-make
|
|
-make install
|
|
-</pre>
|
|
-
|
|
- <p>If the above instructions do not properly compile mono, please refer to the mono documentation. Troubleshooting will be added to this document at a later date.</p>
|
|
- </li>
|
|
- </ul>
|
|
-
|
|
-
|
|
- <br /><br />
|
|
-
|
|
-
|
|
- <div class="headlinebar">Installing MonoDevelop</div>
|
|
- <p>Next on the agenda is building MonoDevelop. Download the latest tarball from <a href="<A HREF="http://devservices.go-mono.com/MonoDevelop/"">http://devservices.go-mono.com/MonoDevelop/"</A>><A HREF="http://devservices.go-mono.com/MonoDevelop/</a">http://devservices.go-mono.com/MonoDevelop/</a</A>>. Extract and build it using:</p>
|
|
-
|
|
-<pre class="code">
|
|
-export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"
|
|
-tar -xjf MonoDevelop-rXXXX.tar.bz2
|
|
-cd MonoDevelop-rXXXX
|
|
-./autogen.sh --prefix=/usr/local
|
|
-make
|
|
-make run &amp;
|
|
-</pre>
|
|
-
|
|
- <p>At this point, you have the choice of either `<tt>make install</tt>' or (preferrably) '<tt>make run</tt>'. Since there is a good chance you'll download a new copy of MonoDevelop tomorrow, we recommend using `<tt>make run</tt>' for now. :)</p>
|
|
-
|
|
|
|
- <br /><br />
|
|
-
|
|
+ <p>We're always looking for more tutorials, so if you have any ideas, see the <a href="/contribute.aspx">Contribution</a> page for more information.</p>
|
|
+
|
|
|
|
- <div class="headlinebar">Writing "Hello World"</div>
|
|
- <p>This is intended as a quick guide to get you familiar with MonoDevelop by writing your first HelloWorld GTK# application.</p>
|
|
-
|
|
- <ul>
|
|
- <li>Run MonoDevelop from its svn directory using `<tt>make run &amp;</tt>'.</li>
|
|
- <li>Create a new Combine (project container) using <tt>File -&gt; New -&gt; Combine...</tt>. You should be presented with a dialog like this; fill the textboxes in a similar manner and choose "GtkSharp Project".<br />
|
|
- <div align="center"><a href="images/tutorial/tutorial1.png" target="_blank"><img src="images/tutorial/tutorial1sm.png" /></a></div><br/></li>
|
|
- <li>Open `Main.cs' and `MyWindow.cs' from the file browser on the left. If you do not see the appropriate list of files, click the `.' in the directory browser.<br />
|
|
- <div align="center"><a href="images/tutorial/tutorial2.png" target="_blank"><img src="images/tutorial/tutorial2sm.png" /></a></div><br /></li>
|
|
- <li>Modify `MyWindow.cs' to look like the following file:<br />
|
|
-
|
|
-<pre class="code">
|
|
-using Gtk;
|
|
-using GtkSharp;
|
|
-
|
|
-public class MyWindow : Window {
|
|
- static GLib.GType type;
|
|
- static Gtk.Button button;
|
|
-
|
|
- static MyWindow ()
|
|
- {
|
|
- type = RegisterGType (typeof (MyWindow));
|
|
- button = new Button();
|
|
- button.Clicked += new EventHandler(button_Clicked);
|
|
- }
|
|
-
|
|
- public MyWindow () : base (type)
|
|
- {
|
|
- this.Title = "MyWindow";
|
|
- this.SetDefaultSize (400, 300);
|
|
- this.DeleteEvent += new DeleteEventHandler (OnMyWindowDelete);
|
|
- this.Add(button);
|
|
- this.ShowAll ();
|
|
- }
|
|
-
|
|
- void OnMyWindowDelete (object o, DeleteEventArgs args)
|
|
- {
|
|
- Application.Quit ();
|
|
- }
|
|
-
|
|
- static void button_Clicked (object obj, EventArgs args)
|
|
- {
|
|
- Console.WriteLine("Hello World");
|
|
- Application.Quit ();
|
|
- }
|
|
-}
|
|
-</pre>
|
|
- </li>
|
|
- <li>Compile the program from within MonoDevelop using the "build" icon (3rd button from the right) in the toolbar:
|
|
- <div align="center"><img src="images/tutorial/tutorial3sm.png" /></div><br /></li>
|
|
- <li>Run the program using the "gear" icon (far right) in the toolbar. The resulting window should look something like this:
|
|
- <div align="center"><img src="images/tutorial/tutorial4sm.png" /></div><br /></li>
|
|
- </ul>
|
|
-
|
|
- <p>Congratulations! You've successfully built a program using the latest copy of MonoDevelop. Please let us know of any bugs you find in <b>working</b> features.</p>
|
|
-
|
|
- <hr />
|
|
-
|
|
- <p>This document was written by Steve Deobald (steve [at] citygroup.ca) and is licensed under the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation. If this document contains errors or could be improved, please let me know.</p>
|
|
- <br /><br />
|
|
-
|
|
<ccms:PageFooter runat="server"/>
|
|
|
|
Added: trunk/md-website/tutorials/helloworld.aspx
|
|
===================================================================
|
|
--- trunk/md-website/tutorials/helloworld.aspx 2004-03-21 22:49:37 UTC (rev 1221)
|
|
+++ trunk/md-website/tutorials/helloworld.aspx 2004-03-21 23:10:50 UTC (rev 1222)
|
|
@@ -0,0 +1,67 @@
|
|
+<%@ Register TagPrefix="ccms" TagName="PageHeader" src="/include/header.ascx" %>
|
|
+<%@ Register TagPrefix="ccms" TagName="PageFooter" src="/include/footer.ascx" %>
|
|
+
|
|
+<ccms:PageHeader runat="server"/>
|
|
+
|
|
+ <div class="headlinebar">Writing "Hello World"</div>
|
|
+ <p>This is intended as a quick guide to get you familiar with MonoDevelop by writing your first HelloWorld GTK# application.</p>
|
|
+
|
|
+ <ul>
|
|
+ <li>Run MonoDevelop from its svn directory using `<tt>make run &amp;</tt>'.</li>
|
|
+ <li>Create a new Combine (project container) using <tt>File -&gt; New -&gt; Combine...</tt>. You should be presented with a dialog like this; fill the textboxes in a similar manner and choose "GtkSharp Project".<br />
|
|
+ <div align="center"><a href="images/tutorial/tutorial1.png" target="_blank"><img src="images/tutorial/tutorial1sm.png" /></a></div><br/></li>
|
|
+ <li>Open `Main.cs' and `MyWindow.cs' from the file browser on the left. If you do not see the appropriate list of files, click the `.' in the directory browser.<br />
|
|
+ <div align="center"><a href="images/tutorial/tutorial2.png" target="_blank"><img src="images/tutorial/tutorial2sm.png" /></a></div><br /></li>
|
|
+ <li>Modify `MyWindow.cs' to look like the following file:<br />
|
|
+
|
|
+<pre class="code">
|
|
+using Gtk;
|
|
+using GtkSharp;
|
|
+
|
|
+public class MyWindow : Window {
|
|
+ static GLib.GType type;
|
|
+ static Gtk.Button button;
|
|
+
|
|
+ static MyWindow ()
|
|
+ {
|
|
+ type = RegisterGType (typeof (MyWindow));
|
|
+ button = new Button();
|
|
+ button.Clicked += new EventHandler(button_Clicked);
|
|
+ }
|
|
+
|
|
+ public MyWindow () : base (type)
|
|
+ {
|
|
+ this.Title = "MyWindow";
|
|
+ this.SetDefaultSize (400, 300);
|
|
+ this.DeleteEvent += new DeleteEventHandler (OnMyWindowDelete);
|
|
+ this.Add(button);
|
|
+ this.ShowAll ();
|
|
+ }
|
|
+
|
|
+ void OnMyWindowDelete (object o, DeleteEventArgs args)
|
|
+ {
|
|
+ Application.Quit ();
|
|
+ }
|
|
+
|
|
+ static void button_Clicked (object obj, EventArgs args)
|
|
+ {
|
|
+ Console.WriteLine("Hello World");
|
|
+ Application.Quit ();
|
|
+ }
|
|
+}
|
|
+</pre>
|
|
+ </li>
|
|
+ <li>Compile the program from within MonoDevelop using the "build" icon (3rd button from the right) in the toolbar:
|
|
+ <div align="center"><img src="images/tutorial/tutorial3sm.png" /></div><br /></li>
|
|
+ <li>Run the program using the "gear" icon (far right) in the toolbar. The resulting window should look something like this:
|
|
+ <div align="center"><img src="images/tutorial/tutorial4sm.png" /></div><br /></li>
|
|
+ </ul>
|
|
+
|
|
+ <p>Congratulations! You've successfully built a program using the latest copy of MonoDevelop. Please let us know of any bugs you find in <b>working</b> features.</p>
|
|
+
|
|
+ <hr />
|
|
+
|
|
+ <p>This document was written by Steve Deobald (steve [at] citygroup.ca) and is licensed under the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation. If this document contains errors or could be improved, please let me know.</p>
|
|
+ <br /><br />
|
|
+
|
|
+<ccms:PageFooter runat="server"/>
|
|
|
|
Added: trunk/md-website/tutorials/install.aspx
|
|
===================================================================
|
|
--- trunk/md-website/tutorials/install.aspx 2004-03-21 22:49:37 UTC (rev 1221)
|
|
+++ trunk/md-website/tutorials/install.aspx 2004-03-21 23:10:50 UTC (rev 1222)
|
|
@@ -0,0 +1,142 @@
|
|
+<%@ Register TagPrefix="ccms" TagName="PageHeader" src="/include/header.ascx" %>
|
|
+<%@ Register TagPrefix="ccms" TagName="PageFooter" src="/include/footer.ascx" %>
|
|
+
|
|
+<ccms:PageHeader runat="server"/>
|
|
+
|
|
+ <div class="title">"Hello World" Tutorial</div>
|
|
+
|
|
+ <p>This tutorial is intended to take you through all the necessary steps to get an updated copy of MonoDevelop, build it with all its dependencies, and write "Hello World" with it. This tutorial assumes you will install mono and MonoDevelop to a PREFIX of /usr/local. Substitute your own PREFIX where applicable if this is not the case.
|
|
+ </p>
|
|
+
|
|
+
|
|
+ <br /><br />
|
|
+
|
|
+ <div class="headlinebar">Getting Started</div>
|
|
+ <p>There are some packages which are required before building MonoDevelop. The following instructions guide you through installing them.
|
|
+ </p>
|
|
+
|
|
+ <b>1. <a href="<A HREF="http://oss.software.ibm.com/icu/"">http://oss.software.ibm.com/icu/"</A>>International Components for Unicode (ICU)</a></b><br />
|
|
+ <p>MonoDevelop requires ICU for internationalization. At the time of this writing, it cannot be assumed MonoDevelop will be stable without ICU. Since mono (step 5.) should be built with ICU support, we'll install it first.</p>
|
|
+ <ul>
|
|
+ <li>Download the <a href="<A HREF="ftp://www-126.ibm.com/pub/icu/2.8/icu-2.8.tgz"">ftp://www-126.ibm.com/pub/icu/2.8/icu-2.8.tgz"</A>>ICU 2.8 tarball</a>.</li>
|
|
+ <li>Unpack and install the tarball by typing:
|
|
+
|
|
+<pre class="code">
|
|
+tar -xzf icu-2.8.tgz
|
|
+cd icu/source
|
|
+chmod +x runConfigureICU configure install-sh
|
|
+./runConfigureICU LinuxRedHat --disable-64bit-libs
|
|
+make
|
|
+make install
|
|
+</pre>
|
|
+ </li>
|
|
+ </ul>
|
|
+ <p>If you have any difficulties installing ICU, refer to <a href="<A HREF="http://oss.software.ibm.com/cvs/icu/~checkout~/icu/readme.html?tag=release-2-8"">http://oss.software.ibm.com/cvs/icu/~checkout~/icu/readme.html?tag=release-2-8"</A>>icu/readme.html</a>.</p>
|
|
+
|
|
+ <b>2. <a href="<A HREF="http://www.gnome.org/projects/ORBit2/"">http://www.gnome.org/projects/ORBit2/"</A>>ORBit2 2.8.3</a></b>
|
|
+
|
|
+ <p>Although newer versions of ORBit <i>may</i> work, they have been known to produce non-fatal crashes when MonoDevelop exits. If in doubt, <a href="<A HREF="http://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.8/ORBit2-2.8.3.tar.gz"">http://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.8/ORBit2-2.8.3.tar.gz"</A>>download ORBit 2.8.3</a>. Once you have ORBit2 downloaded, install it with:
|
|
+
|
|
+<pre class="code">
|
|
+tar -xzf ORBit2-2.8.3.tar.gz
|
|
+cd ORBit2-2.8.3
|
|
+./configure
|
|
+make
|
|
+make install
|
|
+</pre>
|
|
+
|
|
+
|
|
+ <b>3. <a href="<A HREF="http://www.mozilla.org/unix/gtk-embedding.html"">http://www.mozilla.org/unix/gtk-embedding.html"</A>>gtkmozembed</a></b>
|
|
+ <p>gtkmozembed can generally be found as (or in) a package for your OS. For example:<br />
|
|
+ <ul><li>Debian: `mozilla-dev'</li>
|
|
+ <li>RedHat: `mozilla-devel'</li>
|
|
+ <li>FreeBSD: `mozilla-gtkmozembed'</li></ul>
|
|
+ I have yet to find an official tarball for gtkmozembed, but I haven't looked very hard. If you know of one, please <a href="mailto:<A HREF="http://lists.ximian.com/mailman/listinfo/monodevelop-patches-list">steve at citygroup.ca</A>">let me know</a>.
|
|
+ </p>
|
|
+
|
|
+
|
|
+ <b>4. <a href="<A HREF="http://gtksourceview.sourceforge.net/"">http://gtksourceview.sourceforge.net/"</A>>GtkSourceView 0.7</a></b>
|
|
+ <p>GtkSourceView is a widget for displaying sourcecode (imagine that). Since MonoDevelop uses gtksourcevew-sharp, and this is only a wrapper, we must first install GtkSourceView. You may download a binary package for your distribution if it provides version 0.7 or higher. Otherwise, download the <a href="<A HREF="http://ftp.acc.umu.se/pub/gnome/sources/gtksourceview/0.7/gtksourceview-0.7.0.tar.gz"">http://ftp.acc.umu.se/pub/gnome/sources/gtksourceview/0.7/gtksourceview-0.7.0.tar.gz"</A>>official tarball (0.7)</a>. Then install:</p>
|
|
+
|
|
+<pre class="code">
|
|
+tar -xzf gtksourceview-0.7.0.tar.gz
|
|
+cd gtksourceview-0.7.0
|
|
+./configure --prefix=`pkg-config --variable=prefix ORBit-2.0`
|
|
+make
|
|
+make install
|
|
+</pre>
|
|
+
|
|
+
|
|
+ <b>5. <a href="<A HREF="http://www.go-mono.com/download.html"">http://www.go-mono.com/download.html"</A>>Mono 0.30.1</a>, gtk-sharp, gtksourceview-sharp</b>
|
|
+
|
|
+ <p>Though you may use a pre-packaged copy of the runtime, we recommend compiling one yourself from CVS. gtk-sharp and gtksourceview-sharp <b>must</b> be compiled from CVS.</p>
|
|
+
|
|
+ <ul>
|
|
+ <li>Download the latest cvs copies of mono, mcs, gtk-sharp, and gtksourceview-sharp:
|
|
+
|
|
+<pre class="code">
|
|
+export CVSROOT=:pserver:<A HREF="http://lists.ximian.com/mailman/listinfo/monodevelop-patches-list">anonymous at anoncvs.go-mono.com</A>:/mono
|
|
+cvs login
|
|
+cvs -z3 co mcs mono gtk-sharp gtksourceview-sharp
|
|
+</pre>
|
|
+ </li>
|
|
+
|
|
+ <li>Before compiling: Make sure you have`<tt>$PREFIX/lib</tt>' (usually `<tt>/usr/local/lib</tt>') in /etc/ld.so.conf. If you do not, add it with the following:
|
|
+
|
|
+<pre class="code">
|
|
+su
|
|
+echo "/usr/local/lib" &gt;&gt; /etc/ld.so.conf
|
|
+/sbin/ldconfig
|
|
+</pre>
|
|
+
|
|
+ <li>Similarly, check to make sure you have PKG_CONFIG_PATH set properly. It can be set with:
|
|
+
|
|
+<pre class="code">
|
|
+export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
|
|
+</pre>
|
|
+ </li>
|
|
+
|
|
+ <li>You can then compile mono and gtk-sharp using the following:
|
|
+
|
|
+<pre class="code">
|
|
+cd mono
|
|
+./autogen.sh --prefix=/usr/local
|
|
+make fullbuild
|
|
+
|
|
+cd ../gtk-sharp
|
|
+./autogen.sh --prefix=/usr/local
|
|
+make
|
|
+make install
|
|
+
|
|
+cd ../gtksourceview-sharp
|
|
+./autogen.sh --prefix=/usr/local
|
|
+make
|
|
+make install
|
|
+</pre>
|
|
+
|
|
+ <p>If the above instructions do not properly compile mono, please refer to the mono documentation. Troubleshooting will be added to this document at a later date.</p>
|
|
+ </li>
|
|
+ </ul>
|
|
+
|
|
+
|
|
+ <br /><br />
|
|
+
|
|
+
|
|
+ <div class="headlinebar">Installing MonoDevelop</div>
|
|
+ <p>Next on the agenda is building MonoDevelop. Download the latest tarball from <a href="<A HREF="http://devservices.go-mono.com/MonoDevelop/"">http://devservices.go-mono.com/MonoDevelop/"</A>><A HREF="http://devservices.go-mono.com/MonoDevelop/</a">http://devservices.go-mono.com/MonoDevelop/</a</A>>. Extract and build it using:</p>
|
|
+
|
|
+<pre class="code">
|
|
+export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"
|
|
+tar -xjf MonoDevelop-rXXXX.tar.bz2
|
|
+cd MonoDevelop-rXXXX
|
|
+./autogen.sh --prefix=/usr/local
|
|
+make
|
|
+make run &amp;
|
|
+</pre>
|
|
+
|
|
+ <p>At this point, you have the choice of either `<tt>make install</tt>' or (preferrably) '<tt>make run</tt>'. Since there is a good chance you'll download a new copy of MonoDevelop tomorrow, we recommend using `<tt>make run</tt>' for now. :)</p>
|
|
+
|
|
+
|
|
+ <br /><br />
|
|
+
|
|
+<ccms:PageFooter runat="server"/>
|
|
|
|
|
|
</PRE>
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="000828.html">[Monodevelop-patches-list] r1221 - trunk/MonoDevelop
|
|
</A></li>
|
|
<LI>Next message: <A HREF="000830.html">[Monodevelop-patches-list] r1223 - in trunk/MonoDevelop: . src/Main/Base/Gui src/Main/Base/Gui/Pads/ProjectBrowser/BrowserNode src/Main/Base/Services/File src/Main/Base/Services/Project
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#829">[ date ]</a>
|
|
<a href="thread.html#829">[ thread ]</a>
|
|
<a href="subject.html#829">[ subject ]</a>
|
|
<a href="author.html#829">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/monodevelop-patches-list">More information about the Monodevelop-patches-list
|
|
mailing list</a><br>
|
|
</body></html>
|