Nick,

This issue is caused by a bug in Mono that was fixed only very recently.
Sadly, this fix was not part of the 1.1.4 release of Mono.

Gert

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> [EMAIL PROTECTED]
> Sent: vrijdag 18 februari 2005 18:07
> To: nant-users@lists.sourceforge.net
> Subject: [Nant-users] building nant 0.85-rc2 on Mac OS X
> 
> This is my first attempt at using .Net at all, so bear with me if I'm 
> doing something incredibly stupid.
> 
> I'm trying to build nant 0.85-rc2 on Mac OS X using Mono 1.1.4, and I 
> get an error:
> [EMAIL PROTECTED]|113> make
> mkdir -p bootstrap
> cp -R lib/ bootstrap/lib
> # Mono loads log4net before privatebinpath is set-up, so we need this 
> in the same directory
> # as NAnt.exe
> cp lib/log4net.dll bootstrap
> cp src/NAnt.Console/App.config bootstrap/NAnt.exe.config
> mcs -target:exe -define:MONO -out:bootstrap/NAnt.exe 
> -r:bootstrap/log4net.dll \
> -recurse:src/NAnt.Console/*.cs src/CommonAssemblyInfo.cs
> mcs -target:library -warn:0 -define:MONO -out:bootstrap/NAnt.Core.dll 
> -r:lib/log4net.dll \
> -r:System.Web.dll -recurse:src/NAnt.Core/*.cs 
> src/CommonAssemblyInfo.cs
> mcs -target:library -warn:0 -define:MONO 
> -out:bootstrap/NAnt.DotNetTasks.dll -r:./bootstrap/NAnt.Core.dll \
> -r:bootstrap/lib/mono/1.0/NDoc.Core.dll 
> -recurse:src/NAnt.DotNet/*.cs \
>          src/CommonAssemblyInfo.cs
> mcs -target:library -warn:0 -define:MONO 
> -out:bootstrap/NAnt.CompressionTasks.dll 
> -r:./bootstrap/NAnt.Core.dll \
> -r:bootstrap/lib/ICSharpCode.SharpZipLib.dll 
> -recurse:src/NAnt.Compression/*.cs \
>          src/CommonAssemblyInfo.cs
> mono bootstrap/NAnt.exe -f:NAnt.build build
> Compat mode: the request from 
> /Users/nick/Downloads/nant-0.1.85-rc2/bootstrap/log4net.dll to load 
> System.Xml was remapped (http://www.go-mono.com/remap.html)
> Compat mode: the request from 
> /Users/nick/Downloads/nant-0.1.85-rc2/bootstrap/log4net.dll to load 
> System was remapped (http://www.go-mono.com/remap.html)
> log4net:ERROR LogLog: Exception while reading ConfigurationSettings. 
> Check your .config file is well formed XML.
> 
> Unhandled Exception: System.TypeInitializationException: An exception 
> was thrown by the type initializer for NAnt.Console.ConsoleStub ---> 
> System.TypeInitializationException: An exception was thrown 
> by the type 
> initializer for log4net.Core.LoggerManager ---> 
> System.TypeInitializationException: An exception was thrown 
> by the type 
> initializer for log4net.Util.LogLog ---> 
> System.Configuration.ConfigurationException: system.diagnostics does 
> not implement System.Configuration.IConfigurationSectionHandler ()
> in <0x00138> System.Configuration.ConfigurationData:CreateNewHandler 
> (string,System.Configuration.SectionData)
> in <0x0028c> 
> System.Configuration.ConfigurationData:GetHandler (string)
> in <0x000bc> 
> System.Configuration.ConfigurationData:GetHandler (string)
> in <0x0005c> System.Configuration.ConfigurationData:GetConfigInternal 
> (string)
> in <0x000fc> System.Configuration.ConfigurationData:GetConfig (string)
> in <0x0003c> System.Configuration.DefaultConfig:GetConfig (string)
> in <0x000b8> System.Configuration.ConfigurationSettings:GetConfig 
> (string)
> in <0x00034> 
> System.Diagnostics.DiagnosticsConfiguration:get_Settings ()
> in <0x00060> System.Diagnostics.TraceImpl:InitOnce ()
> in <0x0000c> System.Diagnostics.TraceImpl:get_Listeners ()
> in <0x0005c> System.Diagnostics.TraceImpl:WriteLine (string)
> in <0x00014> System.Diagnostics.Trace:WriteLine (string)
> in <0x0003c> log4net.Util.LogLog:EmitErrorLine (string)
> in <0x00048> log4net.Util.LogLog:Error (string,System.Exception)
> in <0x000c0> log4net.Util.LogLog:.cctor ()
> --- End of inner exception stack trace ---
> 
> in (unmanaged) log4net.Util.LogLog:Debug (string)
> in <0x00054> log4net.Core.LoggerManager:.cctor ()
> in <0x00050> log4net.Core.LoggerManager:.cctor ()
> --- End of inner exception stack trace ---
> 
> in (unmanaged) log4net.Core.LoggerManager:GetLogger 
> (System.Reflection.Assembly,string)
> in <0x0002c> log4net.LogManager:GetLogger 
> (System.Reflection.Assembly,string)
> in <0x00028> log4net.LogManager:GetLogger 
> (System.Reflection.Assembly,string)
> in <0x00048> log4net.LogManager:GetLogger (System.Type)
> in <0x00034> NAnt.Console.ConsoleStub:.cctor ()
> --- End of inner exception stack trace ---
> 
> make: *** [build-nant] Error 1
> 
> Is there something obvious I'm missing? Perhaps the Mac OS X 
> installer 
> for Mono has problems? I'm not sure where to start.
> 
> I'm subscribed to the mailing list, so if you could reply directly to 
> me, I'd appreciate it.
> 
> Thanks in advance for any help you can give me.
> 
> -Nick
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from 
> real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Nant-users mailing list
> Nant-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nant-users
> 
> 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to