Hi,

I am trying to setup NAnt to run with Mono (1.1.18) on Mac OS X  
(10.4). After a bit of investigation, I find that the binary install  
of Mono for OS X includes NAnt. It installs a shell script in /usr/ 
bin/nant which includes a line to run NAnt. This was generating the  
following error:

---
NAnt 0.85 (Build 0.85.2344.0; rc4; 06/02/2006)
Copyright (C) 2001-2006 Gerry Shaw
http://nant.sourceforge.net


BUILD FAILED

The current runtime framework 'mono-2.0' is not correctly configured  
in the NAnt configuration file.
     Unable to locate 'mono' module using pkg-config. Download the  
Mono development packages from http://www.mono-project.com/downloads/.

For more information regarding the cause of the build failure, run  
the build again in debug mode.

Try 'nant -help' for more information
---

Adding the following to the start of the /usr/bin/nant startup script  
appears to cure the problem:

export PKG_CONFIG_PATH=/Library/Frameworks/Mono.framework/Versions/ 
1.1.18/lib/pkgconfig

However, I now appear to get two messages from NAnt when it is doing  
a build. Such as:

---
      [exec] Hello World using C#
      [exec] Hello World using C#


BUILD SUCCEEDED
BUILD SUCCEEDED
---

I have run NAnt on a PC and it didn't exhibit this behaviour. Can  
anyone suggest what the issue is here and how I can fix it?

Regards,

Neil



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to