[Mono-osx] MonoMac Packaging fails

anthony taranto anthony.taranto at gmail.com
Fri Jul 15 16:00:52 EDT 2011


Oops, looks like this fails if you have only installed the Runtime pkg
and not the SDK package.

On Fri, Jul 15, 2011 at 11:59 AM, anthony taranto
<anthony.taranto at gmail.com> wrote:
> [sorry for not correctly replying, i haven't been receiving list messages]
>
> I'm also finding it impossible to build standalone mac application
> bundles using the following versions:
>
> xcode 3.2.6
> mono 2.10.2_5
> mono develop 2.6 b3
>
> building with "don't link assemblies fails with the following error.
> gcc fails for two reasons:
> 1) libmono-2.0.a is not installed by the mono installer
> (libmono-2.0.dylib is installed).
> 2) driver.m is not placed in the Contents/MacOS/ folder prior to running gcc.
>
> If I create a simple/valid driver.m file and substitute the .a file
> with the .dylib file, the gcc command succeeds.
>
> The source code for mmp and the driver.m do not seem to reside in the
> maccore, monomac, or monodevelop code repos, so I don't even know
> where to begin looking to fix the problem. Please advise.
>
> -------
>
> Merging Mono into app bundle
> mmp --nolink -o "/tmp/monomac-build-634462509784547720" -n
> "ErrorExample" -a
> "/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.dll"
> -a "/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Xml.dll"
> -a "/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Core.dll"
> -a "/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Xml.Linq.dll"
> -a "/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Drawing.dll"
> -a "/Users/staque/.config/MonoDevelop/addins/MonoDevelop.MonoMac.2.4.2.4/MonoMac.dll"
> "/Users/staque/Development/MonoProjects/ErrorExample/ErrorExample/bin/Debug/ErrorExample.exe"
> 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
>


More information about the Mono-osx mailing list