Giuseppe, I can't reproduce this on my gentoo box right here but I think its a bug in Mono, as it was reported by others too ...
The following code apparently results in an ArgumentException : using System.Globalization; class Test { static void Main() { CultureInfo.GetCultures(CultureTypes.AllCultures); } } Can you check wheter you have ICU support enabled in Mono ? Gert ----- Original Message ----- From: "Giuseppe Greco" <[EMAIL PROTECTED]> To: "NAnt Developers" <[EMAIL PROTECTED]> Sent: Saturday, December 13, 2003 5:26 PM Subject: [nant-dev] Unable to build NAnt 0.85 on Linux > Hi all, > > I'm not able to build the last version of NAnt from CVS. > Here below are the error messages: > > 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.ArgumentException: An invalid argument was specified. > in (unmanaged) /usr/local/lib/libmono.so.0(mono_raise_exception+0x1b) > [0x4007e6a7] > in (unmanaged) /usr/local/lib/libmono.so.0 [0x400a5db9] > in <0x00084> System.Globalization.CultureInfo:Construct > (int,string,bool) > in <0x00084> System.Globalization.CultureInfo:.ctor (int,bool) > in <0x00012> System.Globalization.CultureInfo:.ctor (int) > in <0x001a3> System.Globalization.CultureInfo:GetCultures > (System.Globalization.CultureTypes) > in <0x000ba> 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/local/lib/libmono.so.0 [0x40045f4f] > in (unmanaged) /usr/local/lib/libmono.so.0(mono_runtime_invoke+0x23) > [0x4007c69b] > in (unmanaged) > /usr/local/lib/libmono.so.0(mono_runtime_invoke_array+0xb6) [0x4007d2ae] > in (unmanaged) /usr/local/lib/libmono.so.0 [0x40082a98] > in <0x0009c> System.Reflection.MonoCMethod:Invoke > (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],Sys tem.Globalization.CultureInfo) > --- End of inner exception stack trace --- > > in <0x00103> System.Reflection.MonoCMethod:Invoke > (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],Sys tem.Globalization.CultureInfo) > in <0x00022> System.Reflection.MonoCMethod:Invoke > (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Glo balization.CultureInfo) > in <0x00256> 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 <0x00287> NAnt.Core.Target:Execute () > in <0x000d8> NAnt.Core.Project:Execute (string,bool) > in <0x0030d> NAnt.Core.Project:Execute () > in <0x00173> NAnt.Core.Project:Run () > > I'm running NAnt on RH Linux 9 with the last version > of Mono from CVS. > > Thanks, > Gius_. > > -- > ---------------------------------------- > Giuseppe Greco > > ::agamura:: > > phone: +41 (0)91 604 67 65 > mobile: +41 (0)76 390 60 32 > email: [EMAIL PROTECTED] > web: www.agamura.com > ---------------------------------------- > > > > ------------------------------------------------------- > 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-developers mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-developers > > ------------------------------------------------------- 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-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers