gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Arnold <>
Subject Re: Issue building NAnt
Date Sat, 17 Feb 2007 01:09:43 GMT

On Feb 16, 2007, at 6:05 PM, Curt Arnold wrote:

> I have Mac OS/X boxes (both Intel and PowerPC).  Have never fired  
> up Mono on them, but could give it a shot.  However it would not be  
> until Monday.  I'll move any more NAnt on Mono discussion to the  
> NAnt-dev mailing list.

I'm a very sick man.  Went ahead and installed MonoFramework-  
on Mac OS/X and got NAnt to build but not run self-test, but that  
should be a start.

1. Download Mono Framework - Universal (Stable) from http://

2. Install framework

3. Modify /Library/Frameworks/Mono.framework/Versions/

Mono comes with a prebuilt NAnt 0.85, but on Mac OS/X, it needs to  
have the export PKG_CONFIG_PATH statement added to the nant file.

export PKG_CONFIG_PATH=/Library/Frameworks/Mono.framework/Versions/ 
pkgconfig/../../bin/mono /Library/Frameworks/Mono.framework/Versions/ "$@"

See and http://  Bug should be fixed in  
next release of Mono.

At this point, you should have a usable NAnt 0.85 and all the Mono  
compilers on the execute path.  If you check out NAnt from the source  
code repository, you can successfully do:

nant build

However, if you try to do "nant" or "nant test", you will get a  
failure that <exec> doesn't support the managed attribute.  It  
appears that the build file for NAnt requires features that are not  
in NAnt 0.85.  Removing the managed="true" replaces that error with  
another when it tries to run the generated nant.exe as a Mac OS/X  

I'd recommend, update Mono on Clarus and changing the NAnt gump  
descriptor to run "nant build" for now.  I'd recommend adding a  
"gump" target to in the NAnt CVS and then changing the  
NAnt gump descriptor to run that.

NAnt uses log4net which uses NAnt, so we have a little cyclical  
dependency.  Ideally, we would get Gump to build NAnt with its  
embedded log4net using the framework NAnt, use the built NAnt to  
build log4net and then build NAnt again using the previously built  
NAnt and log4net.  One step at a time however.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message