Re: Building nant
Ryan Boggs <[email protected]> Tue, 1 Nov 2011 16:49:59 -0700
| Newsgroups | gmane.comp.windows.dotnet.nant.devel |
|---|---|
| Message-ID | <CAJg1EnAyjCJAs8LJAmKGDGzQN4aDVEcsAFG0yTUztGs75vHAgQ@mail.gmail.com> |
Hi, On Tue, Nov 1, 2011 at 8:13 AM, Ramon Smits <[email protected]> wrote: > > > Hi there, > I am trying to build nant but failing. The readme says : > =A0 =A0 b. Building the Software > =A0 =A0 ------------------------ > > =A0 =A0 Build NAnt using Microsoft .NET: > =A0 =A0 GNU Make > =A0 =A0 -------- > =A0 =A0 =A0 =A0 make install MONO=3D MCS=3Dcsc prefix=3D<installation pat= h> > [DESTDIR=3D<staging path>] > =A0 =A0 =A0 =A0 eg. make install MONO=3D MCS=3Dcsc prefix=3D"c:\Program F= iles" > =A0 =A0 NMake > =A0 =A0 ----- > =A0 =A0 =A0 =A0 nmake -f Makefile.nmake install prefix=3D<installation pa= th> > [DESTDIR=3D<staging path>] > > =A0 =A0 =A0 =A0 eg. nmake -f Makefile.nmake install prefix=3D"c:\Program = Files" > > I tried the first (gnu make) and it does not really do something. My guess > is that my make.exe is not gnu make or too old. Running=A0"tools\nmake.ex= e" > results in the message : "The image file nmake.exe is valid, but is for a > machine type other than the current machine.". > How can I build nant and where to get either gnu make or nmake as this is > not mentioned in the readme. Yeah, this is one of the things I want to address pretty soon. The copy of nmake that I use should be located in the link provided below: http://support.microsoft.com/default.aspx?scid=3Dkb;en-us;Q132084 It's the link called nmake15.exe. You could also try installing gmake from here: http://gnuwin32.sourceforge.net/packages/make.htm but my experience is that the nmake runs better on Windows but your milage may very. > The reason I want to build nant it so upgrade to nunit 2.5.10 as the curr= ent > version cannot handle a lot of nice additions like the TestCase attribute. This is a high priority for us too. I've read upon here that some folks will use the <exec> task to run nunit outside of the nant tasks just for 2.5.10. If that'll work for you in the time being, you won't need to compile nant manually. Hope this helps. Thanks, Ryan > -- > Ramon > -------------------------------------------------------------------------= ----- > RSA® Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > nant-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nant-developers > > ---------------------------------------------------------------------------= --- RSA® Conference 2012 Save $700 by Nov 18 Register now! http://p.sf.net/sfu/rsa-sfdev2dev1