Hi Golo,
You should have much better luck using a nightly build rather than 0.84

http://nant.sourceforge.net/builds/

Ian
Golo Haas wrote:

Hi there,

is it possible to compile NAnt 0.84 using Mono 1.0 on a SuSE Linux 9.1 system?

If I try to do so, I always get an error message saying:

make[3]: Entering directory `/usr/local/nant-0.84'
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
src/NAnt.DotNet/Types/ResourceFileSet.cs(84) error CS1501: No overload for method 
`NAnt.Core.Types.FileSet' takes `1' arguments
src/NAnt.DotNet/Types/ResourceFileSet.cs(84) error CS1501: New invocation: Can not 
find a constructor in `NAnt.Core.Types.FileSet' for this argument list
src/NAnt.DotNet/Types/ResourceFileSet.cs(85) error CS0165: Use of unassigned local 
variable `retFileSet'
src/NAnt.DotNet/Types/ResourceFileSet.cs(105) error CS1501: No overload for method 
`NAnt.Core.Types.FileSet' takes `1' arguments
src/NAnt.DotNet/Types/ResourceFileSet.cs(105) error CS1501: New invocation: Can not 
find a constructor in `NAnt.Core.Types.FileSet' for this argument list
src/NAnt.DotNet/Types/ResourceFileSet.cs(106) error CS0165: Use of unassigned local 
variable `retFileSet'
Compilation failed: 6 error(s), 0 warnings
make[3]: *** [linux-bootstrap-nant.dotnet] Fehler 1
make[3]: Leaving directory `/usr/local/nant-0.84'
make[2]: *** [linux-bootstrap] Fehler 2
make[2]: Leaving directory `/usr/local/nant-0.84'
make[1]: *** [bootstrap] Fehler 2
make[1]: Leaving directory `/usr/local/nant-0.84'
make: *** [all] Fehler 2

Any ideas how to fix this? I have adjusted the pathes in 
NANTPATH\src\NAnt.Console\NAnt.Console.exe.config to match my installation of Mono.

Thanks in advance,


Golo Haas




--
Ian MacLean, Developer, ActiveState, a division of Sophos
http://www.ActiveState.com




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to