Hello.

Thanks for the fix.  It works fine.  However, I now have another hurdle in 
building for Mono (I am not usig Mono 1.0.2 only).  The following is the 
messages output from the build.



C:\Documents and Settings\jonathan\My 
Documents\Dev\dotNET\Frameworks\logging-log4net>build compile-mono-1.0
LOG4NET_DIR is C:\Documents and Settings\jonathan\My 
Documents\Dev\dotNET\Frameworks\logging-log4net
NANTEXE_PATH is nant.exe
BUILD_FILE is C:\Documents and Settings\jonathan\My 
Documents\Dev\dotNET\Frameworks\logging-log4net\log4net.build
NAnt 0.85 (Build 0.85.1739.0; net-1.1.win32; dev; 05/10/2004)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///C:/Documents and Settings/jonathan/My 
Documents/Dev/dotNET/Frameworks/logging-log4net/log4net.build
Target(s) specified: compile-mono-1.0


check-current-build-config:


set-build-configuration:


set-debug-build-configuration:


check-current-build-config:


set-build-configuration-flags:


check-current-build-config:


set-framework-configuration:


check-bin-dir:

    [mkdir] Creating directory 'C:\Documents and Settings\jonathan\My 
Documents\Dev\dotNET\Frameworks\logging-log4net\bin'.


check-doc-dir:

    [mkdir] Creating directory 'C:\Documents and Settings\jonathan\My 
Documents\Dev\dotNET\Frameworks\logging-log4net\doc'.


check-sdkdoc-dir:

    [mkdir] Creating directory 'C:\Documents and Settings\jonathan\My 
Documents\Dev\dotNET\Frameworks\logging-log4net\doc\s
dk'.

check-sdkdoc-debug:


check-current-build-config:


check-build-debug:


check-build-defines:


set-net-1.1-runtime-configuration:


set-mono-1.0-runtime-configuration:


check-log4net-basedir:


check-current-bin-dir:

    [mkdir] Creating directory 'C:\Documents and Settings\jonathan\My 
Documents\Dev\dotNET\Frameworks\logging-log4net\bin\m
ono\1.0\debug'.

clean-current-bin-dir:

     [echo] Cleaning the bin/mono/1.0/debug binaries directory.
   [delete] Deleting directory 'C:\Documents and Settings\jonathan\My 
Documents\Dev\dotNET\Frameworks\logging-log4net\bin\m
ono\1.0\debug'.
    [mkdir] Creating directory 'C:\Documents and Settings\jonathan\My 
Documents\Dev\dotNET\Frameworks\logging-log4net\bin\m
ono\1.0\debug'.

compile-mono-1.0:

      [csc] Compiling 195 files to 'C:\Documents and Settings\jonathan\My 
Documents\Dev\dotNET\Frameworks\logging-log4net\b
in\mono\1.0\debug\log4net.dll'.
      [csc] Internal(1) error CS8018: Could not find the symbol writer assembly 
(Mono.CSharp.Debugger.dll). This is normall
y an installation problem. Please make sure to compile and install the 
mcs/class/Mono.CSharp.Debugger directory.
      [csc] Compilation failed: 1 error(s), 0 warnings

BUILD FAILED

C:\Documents and Settings\jonathan\My 
Documents\Dev\dotNET\Frameworks\logging-log4net\log4net.build(409,14):
External Program Failed: D:\Program Files\Mono-1.0.2\lib\mono/1.0/mcs.exe 
(return code was 1)

Total time: 4.9 seconds.


C:\Documents and Settings\jonathan\My 
Documents\Dev\dotNET\Frameworks\logging-log4net>



Any ideas, because I do not have any at the moment.  I thought that 
Mono.CSharp.Debugger.dll is installed by the Mono installer.  I have checked, 
and it does exist in the following places:

D:\Program Files\Mono-1.0.2\lib\mono\1.0
D:\Program 
Files\Mono-1.0.2\lib\mono\gac\Mono.CSharp.Debugger\1.0.5000.0__0738eb9f132ed756

Any help would be appreciated.

Thank you.



From: "Gert Driesen" <[EMAIL PROTECTED]>
Date: 2004/10/07 Thu AM 09:23:41 GMT
To: "Log4NET Dev" <[email protected]>, <[EMAIL PROTECTED]>
Subject: Re: Building for Mono

Jonathan,

The reason why the Mono 1.0 installation is not detected, is because the key
where Mono registers itself in the registry changed after the 1.0 release
(from HKLM\Software\Mono to HKLM\Software\Novell\Mono), and recent nightly
builds of NAnt now only check in the new location
(HKLM\Software\Novell\Mono). I'll fix that later.

The 1.0.2 Mono installation is not detected, because of the little bug in
the Mono installer. Instead of setting HKLM\Software\Novell\Mono\DefaultCLR
to "1.0.2", its set to "1.0" (which does not exist under
HKLM\Software\Novell\Mono).  I'll try not to forget to report this to paco
(who maintains the Mono Windows installers). For now, you can just change
the value of the DefaultCLR entry to "1.0.2".

Hope this helps,

Gert
----- Original Message ----- 
From: "Jonathan Beeston" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, October 07, 2004 11:03 AM
Subject: Building for Mono


> Hello.
>
> I have installed the Mono framework (version 1.0 and also 1.0.2) for
Windows.  However, I have not been able to build for either of these
versions.  The following text is output when I attempt a Mono build.
>
> LOG4NET_DIR is C:\Documents and Settings\jonathan\My
> Documents\Dev\dotNET\Frameworks\logging-log4net
> NANTEXE_PATH is nant.exe
> BUILD_FILE is C:\Documents and Settings\jonathan\My
> Documents\Dev\dotNET\Frameworks\logging-log4net\log4net.build
> NAnt 0.85 (Build 0.85.1739.0; net-1.1.win32; dev; 05/10/2004)
> Copyright (C) 2001-2004 Gerry Shaw
> http://nant.sourceforge.net
>
> Buildfile: file:///C:/Documents and Settings/jonathan/My
> Documents/Dev/dotNET/Frameworks/logging-log4net/log4net.build
> Target(s) specified: compile-mono-1.0
>
>
> check-current-build-config:
>
>
> set-build-configuration:
>
>
> set-debug-build-configuration:
>
>
> check-current-build-config:
>
>
> set-build-configuration-flags:
>
>
> check-current-build-config:
>
>
> set-framework-configuration:
>
>
> check-bin-dir:
>
>
> check-doc-dir:
>
>
> check-sdkdoc-dir:
>
>
> check-sdkdoc-debug:
>
>
> check-current-build-config:
>
>
> check-build-debug:
>
>
> check-build-defines:
>
>
> set-net-1.1-runtime-configuration:
>
>
> set-mono-1.0-runtime-configuration:
>
>
> BUILD FAILED
>
> C:\Documents and Settings\jonathan\My
> Documents\Dev\dotNET\Frameworks\logging-log4net\log4net.include(217,10):
> Target framework could not be changed. "mono-1.0" is not a valid framework
> identifier. Valid values are: netcf-1.0, net-1.1
> .
>
> Total time: 0.4 seconds.
>
>
> If you are able to build for Mono, can you help please?
>
> Thank you.
>
>
> -----------------------------------------
> Email provided by http://www.ntlhome.com/
>
>
>
>


-----------------------------------------
Email provided by http://www.ntlhome.com/


Reply via email to