You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-user@logging.apache.org by Julien Sobrier <ju...@sobrier.net> on 2005/11/05 06:39:35 UTC

Problem to compile log4net 1.2.9

Hello,
I have to compile log4net 1.2.9 to make him use the 2.0.0.0 version of
System.Data. I use NAnt and lib/mono/2.0/gmcs.exe and Mono 1.1.9.2/Linux

I got the following error:

compile-mono-1.0:

      [csc] Compiling 201 files to
'.../log4net/bin/mono/1.0/debug/log4net.dll'."
      [csc] error CS0535:
`log4net.Config.Log4NetConfigurationSectionHandler' does not implement
interface member
`System.Configuration.IConfigurationSectionHandler.Create(object,
object, System.Xml.XmlNode)'
      [csc] /usr/lib/mono/1.0/System.dll:
`System.Configuration.IConfigurationSectionHandler.Create(object,
object, System.Xml.XmlNode)' (name of symbol related to previous error
      [csc] Compilation failed: 1 error(s), 0 warnings

BUILD FAILED - 0 non-fatal error(s), 2 warning(s)

Any idea to fix this?


Thank you
Julien

Re: Problem to compile log4net 1.2.9

Posted by Julien Sobrier <ju...@sobrier.net>.
Julien Sobrier wrote:
> Hello,
> I'm using the latest Mono 1.1.9.2.
> 
> Log4net is using System.Data 1.0.5.0, but my assemblies use System.Data
> 2.0.0.0 So, there is the conflict. That's why I want to recompile it to
> use System.Data 2.0.0.0 everywhere.
> 
> When should the next version be released?
> 
> Thank you

And I'm using NAnt 0.85 RC3


Re: Problem to compile log4net 1.2.9

Posted by Julien Sobrier <ju...@sobrier.net>.
Hello,
I'm using the latest Mono 1.1.9.2.

Log4net is using System.Data 1.0.5.0, but my assemblies use System.Data
2.0.0.0 So, there is the conflict. That's why I want to recompile it to
use System.Data 2.0.0.0 everywhere.

When should the next version be released?

Thank you


Gert Driesen wrote:
> Julien, 
> 
> The NAnt build files for log4net do not yet support targeting the Mono 2.0
> profile. 
> 
> I'll look into fixing this in svn (so it should work fine in the next
> release).
> 
> Could it be that you're using an old version of Mono ? I think you're
> running into an issue that was fixed a while ago (in Mono).
> 
> BTW, what version of NAnt are you using ?
> 
> Gert
> 
> 
>>-----Original Message-----
>>From: Julien Sobrier [mailto:julien@sobrier.net] 
>>Sent: zaterdag 5 november 2005 6:40
>>To: log4net-user@logging.apache.org
>>Subject: Problem to compile log4net 1.2.9
>>
>>Hello,
>>I have to compile log4net 1.2.9 to make him use the 2.0.0.0 version of
>>System.Data. I use NAnt and lib/mono/2.0/gmcs.exe and Mono 
>>1.1.9.2/Linux
>>
>>I got the following error:
>>
>>compile-mono-1.0:
>>
>>      [csc] Compiling 201 files to
>>'.../log4net/bin/mono/1.0/debug/log4net.dll'."
>>      [csc] error CS0535:
>>`log4net.Config.Log4NetConfigurationSectionHandler' does not implement
>>interface member
>>`System.Configuration.IConfigurationSectionHandler.Create(object,
>>object, System.Xml.XmlNode)'
>>      [csc] /usr/lib/mono/1.0/System.dll:
>>`System.Configuration.IConfigurationSectionHandler.Create(object,
>>object, System.Xml.XmlNode)' (name of symbol related to previous error
>>      [csc] Compilation failed: 1 error(s), 0 warnings
>>
>>BUILD FAILED - 0 non-fatal error(s), 2 warning(s)
>>
>>Any idea to fix this?
>>
>>
>>Thank you
>>Julien
>>
> 
> 


RE: Problem to compile log4net 1.2.9

Posted by Gert Driesen <ge...@telenet.be>.
Julien, 

The NAnt build files for log4net do not yet support targeting the Mono 2.0
profile. 

I'll look into fixing this in svn (so it should work fine in the next
release).

Could it be that you're using an old version of Mono ? I think you're
running into an issue that was fixed a while ago (in Mono).

BTW, what version of NAnt are you using ?

Gert

> -----Original Message-----
> From: Julien Sobrier [mailto:julien@sobrier.net] 
> Sent: zaterdag 5 november 2005 6:40
> To: log4net-user@logging.apache.org
> Subject: Problem to compile log4net 1.2.9
> 
> Hello,
> I have to compile log4net 1.2.9 to make him use the 2.0.0.0 version of
> System.Data. I use NAnt and lib/mono/2.0/gmcs.exe and Mono 
> 1.1.9.2/Linux
> 
> I got the following error:
> 
> compile-mono-1.0:
> 
>       [csc] Compiling 201 files to
> '.../log4net/bin/mono/1.0/debug/log4net.dll'."
>       [csc] error CS0535:
> `log4net.Config.Log4NetConfigurationSectionHandler' does not implement
> interface member
> `System.Configuration.IConfigurationSectionHandler.Create(object,
> object, System.Xml.XmlNode)'
>       [csc] /usr/lib/mono/1.0/System.dll:
> `System.Configuration.IConfigurationSectionHandler.Create(object,
> object, System.Xml.XmlNode)' (name of symbol related to previous error
>       [csc] Compilation failed: 1 error(s), 0 warnings
> 
> BUILD FAILED - 0 non-fatal error(s), 2 warning(s)
> 
> Any idea to fix this?
> 
> 
> Thank you
> Julien
>