[Mono-list] Fedora packages for 0.30 really using Libicu?

Mark Bickel mark.bickel@gmx.de
Tue, 03 Feb 2004 20:33:41 +0100


Hi together!

I tried to compile Nant 0.84 using the latest Mono 0.30 packages
for Fedora Core 1. But the build fails with an error related
to System.Globalization.CultureInfo and the only answer to this
problem which I found was, that this happens when mono is not
compiled with usage of libicu. Can anybody confirm this?

Here is the full error message:

      [echo] Build Directory is
/home/mark/work/nant-0.84/build/mono-1.0.unix/nan t-0.84-debug
     [nant] /home/mark/work/nant-0.84/src/NAnt.Core/NAnt.Core.build
build
 
            Buildfile:
file://home/mark/work/nant-0.84/src/NAnt.Core/NAnt.Core.b uild
            Target(s) specified: build
             
            build:
             
             
            BUILD FAILED
             
            INTERNAL ERROR
             
            System.Reflection.TargetInvocationException: Exception has
been thro wn by the target of an invocation. --->
System.TypeInitializationException: An e xception was thrown by the type
initializer for NAnt.DotNet.Tasks.CompilerBase - -->
System.ArgumentException: An invalid argument was specified.
in (unmanaged) /usr/lib/libmono.so.0(mono_raise_exception+0x20)
[0x822a85]
in (unmanaged) /usr/lib/libmono.so.0 [0x852817]
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 <0x0017b> System.Globalization.CultureInfo:GetCultures
(System.Globalization. CultureTypes)
in <0x000bd> 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 [0x7cbceb]
in (unmanaged) /usr/lib/libmono.so.0(mono_runtime_invoke+0x27)
[0x8202d2]
in (unmanaged) /usr/lib/libmono.so.0(mono_runtime_invoke_array+0x1d4)
[0x8213d8]
in (unmanaged) /usr/lib/libmono.so.0 [0x82819c]
in <0x0009c> System.Reflection.MonoCMethod:Invoke
(object,System.Reflection.Bind
ingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
--- End of inner exception stack trace ---
 
in <0x00103> System.Reflection.MonoCMethod:Invoke
(object,System.Reflection.Bind
ingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
in <0x00022> System.Reflection.MonoCMethod:Invoke
(System.Reflection.BindingFlag
s,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
in <0x0023a> System.Activator:CreateInstance
(System.Type,System.Reflection.Bind
ingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,obje ct[])
in <0x0005c> System.Reflection.Assembly:CreateInstance
(string,bool,System.Refle
ction.BindingFlags,System.Reflection.Binder,object[],System.Globalization.Cultur eInfo,object[])
in <0x00060> NAnt.Core.TaskBuilder:CreateTask ()
in <0x0011a> NAnt.Core.TypeFactory:CreateTask
(System.Xml.XmlNode,NAnt.Core.Proj ect)
in <0x00017> NAnt.Core.Project:CreateTask
(System.Xml.XmlNode,NAnt.Core.Target)
in <0x0024c> NAnt.Core.Target:Execute ()
in <0x00098> NAnt.Core.Project:Execute (string)
in <0x00300> NAnt.Core.Project:Execute ()
in <0x00185> NAnt.Core.Project:Run ()


Best regards,

Mark