Hi, I am trying to compile nant-0.85-20040226.zip under Linux(Red Hat Enterprise v 3.0 -- similar to RedHat 9) and Mono(0.30.1) and get the following error message(see the complete output below). Any help will be appreciated. Sorry, if this has been covered on the list in the past -- I could not find anything in the archives.
Does Nant work reasonably well under Linux and Mono? Thanks, Kamen ------------------------------ [EMAIL PROTECTED] nant]$ make clean rm bin/*.* -f [EMAIL PROTECTED] nant]$ make make bootstrap make[1]: Entering directory `/home/kamen/nant' if test x = xWindows_NT; then make windows-bootstrap; else make linux-bootstrap; fi make[2]: Entering directory `/home/kamen/nant' cp lib/*.* bin/ cp lib/mono/1.0/*.* bin/ make linux-bootstrap-nant make[3]: Entering directory `/home/kamen/nant' mcs -target:exe -define:MONO -debug -o bin/NAnt.exe -r:lib/mono/1.0/log4net.dll -recurse:src/NAnt.Console/*.cs src/CommonAssemblyInfo.cs Compilation succeeded cp src/NAnt.Console/NAnt.Console.exe.config bin/NAnt.exe.config make[3]: Leaving directory `/home/kamen/nant' make linux-bootstrap-nant.core make[3]: Entering directory `/home/kamen/nant' mcs -target:library -define:MONO -debug -o bin/NAnt.Core.dll -r:bin/log4net.dll -r:System.Web.dll -recurse:src/NAnt.Core/*.cs src/CommonAssemblyInfo.cs src/NAnt.Core/ConsoleDriver.cs(271) warning CS0618: Method `System.Xml.Xsl.XslTransform.Load(System.Xml.XmlReader)' is obsolete: `You should pass evidence.' src/NAnt.Core/ConsoleDriver.cs(278) warning CS0618: Method `System.Xml.Xsl.XslTransform.Transform(System.Xml.XPath.IXPathNavigable, System.Xml.Xsl.XsltArgumentList, System.IO.TextWriter)' is obsolete: `You should pass XmlResolver to Transform() method' src/NAnt.Core/Tasks/StyleTask.cs(306) warning CS0618: Method `System.Xml.Xsl.XslTransform.Load(System.Xml.XmlReader)' is obsolete: `You should pass evidence.' src/NAnt.Core/Tasks/StyleTask.cs(329) warning CS0618: Method `System.Xml.Xsl.XslTransform.Transform(System.Xml.XPath.IXPathNavigable, System.Xml.Xsl.XsltArgumentList, System.IO.TextWriter)' is obsolete: `You should pass XmlResolver to Transform() method' Compilation succeeded - 4 warning(s) make[3]: Leaving directory `/home/kamen/nant' make linux-bootstrap-nant.dotnet make[3]: Entering directory `/home/kamen/nant' mcs -target:library -define:MONO -debug -o bin/NAnt.DotNetTasks.dll -r:./bin/NAnt.Core.dll -r:bin/NDoc.Core.dll -recurse:src/NAnt.DotNet/*.cs src/CommonAssemblyInfo.cs Compilation succeeded make[3]: Leaving directory `/home/kamen/nant' make[2]: Leaving directory `/home/kamen/nant' make[1]: Leaving directory `/home/kamen/nant' make nant make[1]: Entering directory `/home/kamen/nant' if test x = xWindows_NT; then make windows-nant; else make linux-nant; fi make[2]: Entering directory `/home/kamen/nant' mono bin/NAnt.exe -buildfile:NAnt.build build NAnt 0.85 (Build 0.85.1517.0; net-1.0.win32; nightly; 02/26/2004) Copyright (C) 2001-2004 Gerry Shaw http://nant.sourceforge.net Buildfile: file://home/kamen/nant/NAnt.build Target(s) specified: build [echo] Using 'mono-1.0' framework on 'unix' platform. init: debug: set-runtime-configuration: set-mono-1.0-runtime-configuration: set-runtime-configuration-flags: set-mono-1.0-runtime-configuration: set-runtime-configuration-flags: create-common-assemblyinfo: [attrib] Setting file attributes for 1 files to Normal. BUILD FAILED /home/kamen/nant/NAnt.build(64,17): Property evaluation failed. Expression: ${project.version}.${build.number}.0 ^^^^^^^^^^^^ Cannot convert argument 1 (value) of convert::to-datetime() to 'datetime' (actual type was 'string'). Expression: ${math::floor(timespan::get-total-days(datetime::now() - convert::to-datetime('01-01-2000')))} ^^^^^^^^^^^^ Invalid format Total time: 0.3 seconds. make[2]: *** [linux-nant] Error 1 make[2]: Leaving directory `/home/kamen/nant' make[1]: *** [nant] Error 2 make[1]: Leaving directory `/home/kamen/nant' make: *** [all] Error 2 __________________________________ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users