Guys, I had the same problem, so I installed ICU, but I still couldn't get
the thing to go, because Mono did not appear to correctly integrate /
recognise ICU.  Or maybe its my distro (SuSE 8.2 I think) I am sure this
stuff is just teething problems, but in the meantime, its really hardwork
trying to get NAnt to work under Mono.

I have tried both NAnt and Mono lists, but nobody has managed to help me
sufficiently, so I have given up.

Please don't feel that I am whining or ranting, I am just trying to make
people aware, and I am sending this mail just so people get a feel for the
scope of the issue, ie, it is not only Pedro who has this problem.  Having
NAnt running under Mono would be great for both parties.  I would dearly
love to get it all going, but don't have the knowledge or time to do this,
so I apologise for not being able to contribute.

Regards,
Jason King
Profox Systems Ltd

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ian MacLean
Sent: 22 January 2004 23:06
To: Pedro Santos
Cc: [EMAIL PROTECTED]
Subject: Re: [Nant-users] Compiling


Do you have ICU installed with your mono build ?

Ian

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
>
>
>
>



-------------------------------------------------------
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