Monobjc / monobjc

Git Repository for the Monobjc Project
http://www.monobjc.net/
17 stars 3 forks source link

MSBuild Tasks broken in V5.0.2090.0 when using Mono 2.10.12 #363

Closed lemonmojo closed 11 years ago

lemonmojo commented 11 years ago

Sorry to bother you again...

Just updated Mono to 2.10.12 and the MSBuild Tasks seem to be broken again. This time, the CoreBundleNative Target fails with the following exception:

/Library/Frameworks/Mono.framework/Versions/2.10.12/lib/mono/4.0/Monobjc.CocoaApplication.targets: error : System.ComponentModel.Win32Exception: ApplicationName='pkg-config', CommandLine='--cflags mono-2', CurrentDirectory='' at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in :0 at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in :0 at System.Diagnostics.Process.Start () [0x00000] in :0 at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start () at Monobjc.Tools.Utilities.ProcessHelper.Execute () [0x00000] in :0

letiemble commented 11 years ago

The issue seems to be linked to parallel installation of the pkg-config binaries.

In order to check if your system is ok, open a Terminal:

After that, the tasks should run ok.

lemonmojo commented 11 years ago

Thx! Got it fixed using your instructions. For whatever reason I had a pkg-config binary in /opt/local/bin/pkg-config. I renamed that to pkg_config_OLD, created the symbolic link you suggested and my MSBuild scripts started working again.

thx again!

letiemble commented 11 years ago

I have updated the website to warn about this issue (http://www.monobjc.net/getting-started.html).

lemonmojo commented 11 years ago

Yeah, that seems like a good idea.

Another question, is Mono 3.0 actually supported by monobjc?