mail-archives/mono-osx/2011-July/004429.html

176 строки
9.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-osx] MonoMac Packaging fails
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20MonoMac%20Packaging%20fails&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="004428.html">
<LINK REL="Next" HREF="004430.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-osx] MonoMac Packaging fails</H1>
<B>ForeverTangent</B>
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20MonoMac%20Packaging%20fails&In-Reply-To="
TITLE="[Mono-osx] MonoMac Packaging fails">forevertangent at gmail.com
</A><BR>
<I>Thu Jul 14 14:39:10 EDT 2011</I>
<P><UL>
<LI>Previous message: <A HREF="004428.html">[Mono-osx] [Mono-dev] crash on exit with Mono 2.10.2 on Lioen
</A></li>
<LI>Next message: <A HREF="004430.html">[Mono-osx] MonoMac Packaging fails
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4429">[ date ]</a>
<a href="thread.html#4429">[ thread ]</a>
<a href="subject.html#4429">[ subject ]</a>
<a href="author.html#4429">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>
I apologize for not replying sooner. I had given up getting and answer, and wasn't checking the emails. Below are the outputs...
On Jul 8, 2011, at 6:01 PM, <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">iamphi at gmail.com</A> wrote:
&gt;<i> ForeverTangent, can you paste your MD's Build Output? Toggle &quot;Build Output&quot; in the Error/Warning tool box (View -&gt; Pads -&gt; Error List)
</I>
=====
Running MonoDevelop 2.4.2
OS X 10.6.8
MonoMacDevelop 2.4.2.4
I am only selecting building an App bundle in each case. I am leaving the Installation package creator unchecked.
Selecting: Linking All Assemblies option.
------
Creating app bundle
Contents/Info.plist
Contents/PkgInfo
Contents/Resources/MainMenu.nib
Contents/Resources/MainWindow.nib
Merging Mono into app bundle
mmp -o &quot;/tmp/monomac-build-634462506523556770&quot; -n &quot;ErrorExample&quot; -a &quot;/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.dll&quot; -a &quot;/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Xml.dll&quot; -a &quot;/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Core.dll&quot; -a &quot;/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Xml.Linq.dll&quot; -a &quot;/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Drawing.dll&quot; -a &quot;/Users/staque/.config/MonoDevelop/addins/MonoDevelop.MonoMac.2.4.2.4/MonoMac.dll&quot; &quot;/Users/staque/Development/MonoProjects/ErrorExample/ErrorExample/bin/Debug/ErrorExample.exe&quot;
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
at MonoMac.Bundler.Driver.Link () [0x00000] in &lt;filename unknown&gt;:0
at MonoMac.Bundler.Driver.Main (System.String[] args) [0x00000] in &lt;filename unknown&gt;:0
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
at MonoMac.Bundler.Driver.Link () [0x00000] in &lt;filename unknown&gt;:0
at MonoMac.Bundler.Driver.Main (System.String[] args) [0x00000] in &lt;filename unknown&gt;:0
Merging Mono failed
======
Selecting: linking Framework option.
----
Building: ErrorExample (Debug)
Performing main compilation...
/Library/Frameworks/Mono.framework/Versions/2.10.1/bin/dmcs /noconfig &quot;/out:/Users/staque/Development/MonoProjects/ErrorExample/ErrorExample/bin/Debug/ErrorExample.exe&quot; &quot;/r:/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.dll&quot; &quot;/r:/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Xml.dll&quot; &quot;/r:/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Core.dll&quot; &quot;/r:/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Xml.Linq.dll&quot; &quot;/r:/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Drawing.dll&quot; &quot;/r:/Users/staque/.config/MonoDevelop/addins/MonoDevelop.MonoMac.2.4.2.4/MonoMac.dll&quot; /nologo /warn:4 /debug:+ /debug:full /optimize- /codepage:utf8 &quot;/define:DEBUG&quot; /t:exe &quot;/Users/staque/Development/MonoProjects/ErrorExample/ErrorExample/MainWindow.cs&quot; &quot;/Users/staque/Development/MonoProjects/ErrorExample/ErrorExample/MainWindowController.cs&quot; &quot;/Users/staque/Development/MonoProjects/ErrorExample/ErrorExample/MainWindow.xib.designer.cs&quot; &quot;/Users/staque/Development/MonoProjects/ErrorExample/ErrorExample/Main.cs&quot; &quot;/Users/staque/Development/MonoProjects/ErrorExample/ErrorExample/AppDelegate.cs&quot; &quot;/Users/staque/Development/MonoProjects/ErrorExample/ErrorExample/MainMenu.xib.designer.cs&quot;
Build complete -- 0 errors, 0 warnings
Copying resource files to app bundle
Copied Contents/Resources/ErrorExample.exe
Copied Contents/Resources/ErrorExample.exe.mdb
Copied Contents/Resources/MonoMac.dll
Copied Contents/Resources/MonoMac.dll.mdb
Compiling interface definitions
ibtool &quot;/Users/staque/Development/MonoProjects/ErrorExample/ErrorExample/MainWindow.xib&quot; --compile &quot;/Users/staque/Development/MonoProjects/ErrorExample/ErrorExample/bin/Debug/ErrorExample.app/Contents/Resources/MainWindow.nib&quot;
ibtool &quot;/Users/staque/Development/MonoProjects/ErrorExample/ErrorExample/MainMenu.xib&quot; --compile &quot;/Users/staque/Development/MonoProjects/ErrorExample/ErrorExample/bin/Debug/ErrorExample.app/Contents/Resources/MainMenu.nib&quot;
Creating app bundle
Contents/Info.plist
Contents/PkgInfo
Contents/Resources/MainMenu.nib
Contents/Resources/MainWindow.nib
Merging Mono into app bundle
mmp --linksdkonly -o &quot;/tmp/monomac-build-634462508259408640&quot; -n &quot;ErrorExample&quot; -a &quot;/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.dll&quot; -a &quot;/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Xml.dll&quot; -a &quot;/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Core.dll&quot; -a &quot;/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Xml.Linq.dll&quot; -a &quot;/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Drawing.dll&quot; -a &quot;/Users/staque/.config/MonoDevelop/addins/MonoDevelop.MonoMac.2.4.2.4/MonoMac.dll&quot; &quot;/Users/staque/Development/MonoProjects/ErrorExample/ErrorExample/bin/Debug/ErrorExample.exe&quot;
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
at MonoMac.Bundler.Driver.Link () [0x00000] in &lt;filename unknown&gt;:0
at MonoMac.Bundler.Driver.Main (System.String[] args) [0x00000] in &lt;filename unknown&gt;:0
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
at MonoMac.Bundler.Driver.Link () [0x00000] in &lt;filename unknown&gt;:0
at MonoMac.Bundler.Driver.Main (System.String[] args) [0x00000] in &lt;filename unknown&gt;:0
Merging Mono failed
=====
Selecting Don't link assemblies option.
Creating app bundle
Contents/Info.plist
Contents/PkgInfo
Contents/Resources/MainMenu.nib
Contents/Resources/MainWindow.nib
Merging Mono into app bundle
mmp --nolink -o &quot;/tmp/monomac-build-634462509784547720&quot; -n &quot;ErrorExample&quot; -a &quot;/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.dll&quot; -a &quot;/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Xml.dll&quot; -a &quot;/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Core.dll&quot; -a &quot;/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Xml.Linq.dll&quot; -a &quot;/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Drawing.dll&quot; -a &quot;/Users/staque/.config/MonoDevelop/addins/MonoDevelop.MonoMac.2.4.2.4/MonoMac.dll&quot; &quot;/Users/staque/Development/MonoProjects/ErrorExample/ErrorExample/bin/Debug/ErrorExample.exe&quot;
Process exited with code 1, command:
gcc -mmacosx-version-min=10.5 -m32 /tmp/monomac-build-634462509784547720/ErrorExample.app/Contents/MacOS/driver.m -o /tmp/monomac-build-634462509784547720/ErrorExample.app/Contents/MacOS/ErrorExample -D_THREAD_SAFE -I/Library/Frameworks/Mono.framework/Versions/2.10.1/include/mono-2.0 /Library/Frameworks/Mono.framework/Versions/2.10.1/lib/libmono-2.0.a -framework AppKit -liconv
bundling complete
*It builds a bundle, but the application is not launch-able* [Icon of the App exist in the Finder with a crossed circle on top of it.
Let me know.
Stan
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="004428.html">[Mono-osx] [Mono-dev] crash on exit with Mono 2.10.2 on Lioen
</A></li>
<LI>Next message: <A HREF="004430.html">[Mono-osx] MonoMac Packaging fails
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4429">[ date ]</a>
<a href="thread.html#4429">[ thread ]</a>
<a href="subject.html#4429">[ subject ]</a>
<a href="author.html#4429">[ 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>