Unfortunately this is a teething issue with using cvs versions of mono. Removing internationalisation support from NAnt to get it running on mono is not a valid option - firstly because it messes up our code having to do platform based ifdefs and secondly because it does the mono project no favours. Our use of internationalisation becomes one more test case for the mono implementation - helping them improve their product faster.

the upcoming 0.30 version of mono should ship with ICU built in I would imagine so you may have to wait for that if you can't get the cvs version to work for you.

if you are having problems getting the mono configure script to recognize ICU on your distro that is somthing to post to mono-dev or log in their bugzilla database.

Ian


I think one resolution for the NAnt/Mono problem could be to remove whatever internationalisation is present in the NAnt project, but that may or may not be a big deal.

Regards,
Jason King
Profox Systems Ltd

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Pedro Santos
Sent: 23 January 2004 09:41
To: [EMAIL PROTECTED]
Subject: Re: [Nant-users] Compiling


On Thu, 2004-01-22 at 23:05, Ian MacLean wrote:


Do you have ICU installed with your mono build ?



I don't know... I just downloaded Mono-0.30 and installed it under a fresh MDK 9.2. Whats ICU?



Pedro Santos wrote:



It's the same:

/----------------------------------------------------------
bash-2.05b$ make clean
rm bin/*.* -f

bash-2.05b$ make
make bootstrap
make[1]: Entering directory `/home/pre/downloads/www/nant/nant-0.84'
if test x = xWindows_NT; then make windows-bootstrap; else make
linux-bootstrap; fi
make[2]: Entering directory `/home/pre/downloads/www/nant/nant-0.84'
cp lib/*.* bin/
cp lib/mono/1.0/*.* bin/
make linux-bootstrap-nant
make[3]: Entering directory `/home/pre/downloads/www/nant/nant-0.84'
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/pre/downloads/www/nant/nant-0.84'
make linux-bootstrap-nant.core
make[3]: Entering directory `/home/pre/downloads/www/nant/nant-0.84'
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(259) warning CS0618: Method
`System.Xml.Xsl.XslTransform.Load(System.Xml.XmlReader)' is obsolete:
`You should pass evidence.'
src/NAnt.Core/ConsoleDriver.cs(266) 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(279) warning CS0618: Method
`System.Xml.Xsl.XslTransform.Load(System.Xml.XmlReader)' is obsolete:
`You should pass evidence.'
src/NAnt.Core/Tasks/StyleTask.cs(298) 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/pre/downloads/www/nant/nant-0.84'
make linux-bootstrap-nant.dotnet
make[3]: Entering directory `/home/pre/downloads/www/nant/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
Compilation succeeded
make[3]: Leaving directory `/home/pre/downloads/www/nant/nant-0.84'
make[2]: Leaving directory `/home/pre/downloads/www/nant/nant-0.84'
make[1]: Leaving directory `/home/pre/downloads/www/nant/nant-0.84'
make nant
make[1]: Entering directory `/home/pre/downloads/www/nant/nant-0.84'
if test x = xWindows_NT; then make windows-nant; else make linux-nant;
fi
make[2]: Entering directory `/home/pre/downloads/www/nant/nant-0.84'
mono bin/NAnt.exe -buildfile:NAnt.build build
NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003)
Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file://home/pre/downloads/www/nant/nant-0.84/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/pre/downloads/www/nant/nant-0.84/build/mono-1.0.unix/nant-0.84-debug


   [nant]
/home/pre/downloads/www/nant/nant-0.84/src/NAnt.Core/NAnt.Core.build
build

Buildfile:


file://home/pre/downloads/www/nant/nant-0.84/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.ArgumentException: An invalid argument was specified.
in (unmanaged) /usr/local/lib/libmono.so.0(mono_raise_exception+0x1c)
[0x40088ecc]
in (unmanaged) /usr/local/lib/libmono.so.0 [0x400b4b2a]
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/local/lib/libmono.so.0 [0x40046bb9]
in (unmanaged) /usr/local/lib/libmono.so.0(mono_runtime_invoke+0x27)
[0x40086b87]
in (unmanaged)
/usr/local/lib/libmono.so.0(mono_runtime_invoke_array+0xc2) [0x40087882]
in (unmanaged) /usr/local/lib/libmono.so.0 [0x4008daa8]
in <0x0009c> System.Reflection.MonoCMethod:Invoke


(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],Sy


stem.Globalization.CultureInfo)


--- End of inner exception stack trace ---

in <0x00103> System.Reflection.MonoCMethod:Invoke


(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],Sy


stem.Globalization.CultureInfo)


in <0x00022> System.Reflection.MonoCMethod:Invoke


(System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Gl


obalization.CultureInfo)


in <0x0023a> System.Activator:CreateInstance


(System.Type,System.Reflection.BindingFlags,System.Reflection.Binder,object


[],System.Globalization.CultureInfo,object[])


in <0x0005c> System.Reflection.Assembly:CreateInstance


(string,bool,System.Reflection.BindingFlags,System.Reflection.Binder,object


[],System.Globalization.CultureInfo,object[])


in <0x00060> NAnt.Core.TaskBuilder:CreateTask ()
in <0x0011a> NAnt.Core.TypeFactory:CreateTask
(System.Xml.XmlNode,NAnt.Core.Project)
in <0x00017> NAnt.Core.Project:CreateTask
(System.Xml.XmlNode,NAnt.Core.Target)
in <0x0024c> NAnt.Core.Target:Execute ()
in <0x000c5> NAnt.Core.Project:Execute (string,bool)
in <0x00305> NAnt.Core.Project:Execute ()
in <0x00185> NAnt.Core.Project:Run ()


Please send bug report to [EMAIL PROTECTED]

Total time: 0.2 seconds.


BUILD FAILED


Nested build failed. Refer to build log for exact reason.

Total time: 1 seconds.

make[2]: *** [linux-nant] Interrupt
make[1]: *** [nant] Interrupt
make: *** [all] Interrupt






--
Pedro Santos <www.psantos.net>
"Si minor plus est ergo nihil sunt omnia..."




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users





------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to