On Wed, 2003-10-29 at 07:26, Gert Driesen wrote: > You should use > > make clean && make all > > as that will first remove all assemblies from the bin directory, and then > rebuild only the assemblies that are supported on linux (and ofcourse the > NAnt.Win32 assembly isn't) ok, now i'm able to go ahead in that point and after changing the .config file (the mono path was wrong) i get this error:
make bootstrap make[1]: Entering directory `/home/marco/nant' if test x = xWindows_NT; then make windows-bootstrap; else make linux-bootstrap; fi make[2]: Entering directory `/home/marco/nant' cp lib/*.* bin/ cp lib/mono/1.0/*.* bin/ make linux-bootstrap-nant make[3]: Entering directory `/home/marco/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/marco/nant' make linux-bootstrap-nant.core make[3]: Entering directory `/home/marco/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(242) warning CS0618: Method `XslTransform.Load(System.Xml.XmlReader)' is obsolete: `You should pass evidence.' src/NAnt.Core/Tasks/StyleTask.cs(280) warning CS0618: Method `XslTransform.Load(System.Xml.XmlReader)' is obsolete: `You should pass evidence.' Compilation succeeded - 2 warning(s) make[3]: Leaving directory `/home/marco/nant' make linux-bootstrap-nant.dotnet make[3]: Entering directory `/home/marco/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/marco/nant' make[2]: Leaving directory `/home/marco/nant' make[1]: Leaving directory `/home/marco/nant' make nant make[1]: Entering directory `/home/marco/nant' if test x = xWindows_NT; then make windows-nant; else make linux-nant; fi make[2]: Entering directory `/home/marco/nant' mono bin/NAnt.exe -buildfile:NAnt.build build ïNAnt version 0.8.4 Copyright (C) 2001-2003 Gerry Shaw http://nant.sourceforge.net Buildfile: file://home/marco/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: build: [echo] Build Directory is /home/marco/nant/build/mono-1.0.unix/nant-0.8.4-debug [mkdir] Creating directory /home/marco/nant/build/mono-1.0.unix/nant-0.8.4-debug/bin. [copy] Copying 3 files to /home/marco/nant/build/mono-1.0.unix/nant-0.8.4-debug/bin. [copy] Copying 4 files to /home/marco/nant/build/mono-1.0.unix/nant-0.8.4-debug/bin. [nant] src/NAnt.Core/NAnt.Core.build build Buildfile: file://home/marco/nant/src/NAnt.Core/NAnt.Core.build Target(s) specified: build build: BUILD FAILED INTERNAL ERROR System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: An exception was thrown by the type initializer for NAnt.DotNet.Tasks.CompilerBase ---> System.NullReferenceException: A null value was found where an object instance was required in <0x00117> NAnt.DotNet.Tasks.CompilerBase:.cctor () --- End of inner exception stack trace --- in (unmanaged) NAnt.DotNet.Tasks.CompilerBase:.ctor () in <0x0003d> NAnt.DotNet.Tasks.CscTask:.ctor () in (unmanaged) /usr/lib/libmono.so.0 [0x400568a3] in (unmanaged) /usr/lib/libmono.so.0(mono_runtime_invoke+0x27) [0x400a4690] in (unmanaged) /usr/lib/libmono.so.0(mono_runtime_invoke_array+0x1d4) [0x400a5452] in (unmanaged) /usr/lib/libmono.so.0 [0x400ab612] in <0x0009c> System.Reflection.MonoCMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) --- End of inner exception stack trace --- in <0x000e4> System.Reflection.MonoCMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) in <0x00022> System.Reflection.MonoCMethod:Invoke (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) in <0x0026b> System.Activator:CreateInstance (System.Type,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[]) in <0x00050> System.Reflection.Assembly:CreateInstance (string,bool,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[]) in <0x00060> NAnt.Core.TaskBuilder:CreateTask () in <0x00111> NAnt.Core.TypeFactory:CreateTask (System.Xml.XmlNode,NAnt.Core.Project) in <0x00017> NAnt.Core.Project:CreateTask (System.Xml.XmlNode,NAnt.Core.Target) in <0x00281> NAnt.Core.Target:Execute () in <0x000b2> NAnt.Core.Project:Execute (string) in <0x00308> NAnt.Core.Project:Execute () in <0x00173> NAnt.Core.Project:Run () Please send bug report to [EMAIL PROTECTED] Total time: 0.1 seconds. BUILD FAILED Nested build failed. Refer to build log for exact reason. Total time: 3.7 seconds. make[2]: *** [linux-nant] Error 1 make[2]: Leaving directory `/home/marco/nant' make[1]: *** [nant] Error 2 make[1]: Leaving directory `/home/marco/nant' make: *** [all] Error 2 Do you know what happens? If you need more info i would be happy to help you. -- Marco Canini <[EMAIL PROTECTED]> ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users