JLinX – Blog

Weblog von Jan Linxweiler

Problems running nant on OS X

Filed under: .NET,Apple & Mac OS X,Development — Jannis at 6:23 pm on Saturday, November 14, 2009

In oder to compile Monobjc I had to use nant.
Though I had installed all mono packages I got the following error:

BUILD FAILED

Failed to initialize the ‘Mono 3.5 Profile’ (mono-3.5) target framework.

Function call failed.
Expression: ${not pkg-config::exists(‘mono’)}
^^^^^^^^^^^^^^^^^^^^^^^^^^

‘pkg-config’ failed to start.

I could fix it by adding the path of ‘pkg-config’ to the PATH viariable.
In order to to this add the following line to your .bashrc:
export PATH=$PATH:/Library/Frameworks/Mono.framework/Commands/

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.