mail-archives/mono-osx/2010-January/002698.html

108 строки
4.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-osx] Build 'mono-tools' on Mac OS X with Mono 2.6.1
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20Build%20%27mono-tools%27%20on%20Mac%20OS%20X%20with%20Mono%202.6.1&In-Reply-To=27386507.post%40talk.nabble.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="002697.html">
<LINK REL="Next" HREF="002690.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-osx] Build 'mono-tools' on Mac OS X with Mono 2.6.1</H1>
<B>Michael Hutchinson</B>
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20Build%20%27mono-tools%27%20on%20Mac%20OS%20X%20with%20Mono%202.6.1&In-Reply-To=27386507.post%40talk.nabble.com"
TITLE="[Mono-osx] Build 'mono-tools' on Mac OS X with Mono 2.6.1">m.j.hutchinson at gmail.com
</A><BR>
<I>Sat Jan 30 15:55:34 EST 2010</I>
<P><UL>
<LI>Previous message: <A HREF="002697.html">[Mono-osx] Build 'mono-tools' on Mac OS X with Mono 2.6.1
</A></li>
<LI>Next message: <A HREF="002690.html">[Mono-osx] [MonoDevelop] Debug embedded OSX app
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#2698">[ date ]</a>
<a href="thread.html#2698">[ thread ]</a>
<a href="subject.html#2698">[ subject ]</a>
<a href="author.html#2698">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Sat, Jan 30, 2010 at 2:09 PM, JoelMarcey &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">jimarcey at gmail.com</A>&gt; wrote:
&gt;<i>
</I>&gt;<i>
</I>&gt;<i> Michael Hutchinson wrote:
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> The first issue is that autotools is not finding the pkg.m4 macro, and
</I>&gt;&gt;<i> the mono-tools autogen.sh does not respect $ACLOCAL_FLAGS. After this,
</I>&gt;&gt;<i> however, I ran into a gnome-sharp dependency, which certainly won't
</I>&gt;&gt;<i> work on Mac. So even after fixing glib-gettextize and ACLOCAL_FLAGS,
</I>&gt;&gt;<i> you'll have to hack the configure.in and Makefile.am, maybe add flags
</I>&gt;&gt;<i> to disable the things that depend on Gnome#.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> BTW please use plain text for attachments, not rtf.
</I>&gt;&gt;<i>
</I>&gt;<i>
</I>&gt;<i> So, if I can summarize:
</I>&gt;<i>
</I>&gt;<i> 1. Don't even try building mono-tools on a Mac against the packaged version
</I>&gt;<i> of Mono (.dmg)
</I>
Right, unless you can alter the mono-tools makefiles to eliminate the
linux-only Gnome# dependency or make it optional.
&gt;<i> 2. It will be hell to try to build mono-tools on a Mac even if you built
</I>&gt;<i> Mono from source.
</I>
It wouldn't make any difference. The issue is Gnome#, not the dmg.
&gt;<i> 3. Building/running this on Windows would be a non-starter.
</I>
Probably, cygwin is painful enough and you'd still have the Gnome# problem.
&gt;<i> So my bottom line in order to get mono-tools (specifically gui-compare)
</I>&gt;<i> running is to use Linux, and probably in my case since I only have Mac and
</I>&gt;<i> Windows machines, I should just use the Virtual PC or VMWare downloads of
</I>&gt;<i> Mono and try to build mono-tools from there.
</I>&gt;<i>
</I>&gt;<i> Would you agree? Any other, more efficient ideas?
</I>
A few other options:
a) You could open the Linux rpm archives (I know that e.g. 7-zip on
Windows can do this) and extract the binaries.
b) Some parts of mono-tools might be buildable separately. For
example, gui-compare has a mdp project file (MonoDevelop 1.0 format,
but MD 2.2 can handle it).
c) You could fix the mono-tools makefiles to make the GNOM# dependency
optional, so the problem is permanently fixed.
--
Michael Hutchinson
<A HREF="http://mjhutchinson.com">http://mjhutchinson.com</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="002697.html">[Mono-osx] Build 'mono-tools' on Mac OS X with Mono 2.6.1
</A></li>
<LI>Next message: <A HREF="002690.html">[Mono-osx] [MonoDevelop] Debug embedded OSX app
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#2698">[ date ]</a>
<a href="thread.html#2698">[ thread ]</a>
<a href="subject.html#2698">[ subject ]</a>
<a href="author.html#2698">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
mailing list</a><br>
</body></html>