Jarek, Did you build Mono from cvs, or did you install a distribution package ?
I always build Mono from cvs, and on my system the system assemblies are installed in the GAC and in $prefix/lib, while I also expected these to be installed $prefix/lib/mono/1.0. I guess I'll have to check what went wrong on my system ... I definitely do not get the log4net issue on my system, are you sure you're not using an old makefile ? Gert ----- Original Message ----- From: "Jaroslaw Kowalski" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]>; "Nant-Developers (E-Mail)" <[EMAIL PROTECTED]> Sent: Tuesday, May 11, 2004 8:51 AM Subject: Re: [nant-dev] NAnt/Mono > Unfortunately I get this: > > ========= > NAnt 0.85 (Build 0.85.1592.0; mono-1.0.unix; nightly; 5/11/2004) > Copyright (C) 2001-2004 Gerry Shaw > NAnt Team > > BUILD FAILED > > The current runtime framework 'mono-1.0' is not correctly configured in the > NAnt configuration file. > The 'System.dll' assembly does not exist in framework assembly directory > '/opt/mono/lib'. > > For more information regarding the cause of the build failure, run the build > again in debug mode. > ========= > > On my system System.dll is in /opt/mono/lib/mono/1.0/. > > After I corrected this in the config file I got another error: > > [csc] Compiling 18 files to > '/home/mono/nant/build/mono-1.0.unix/nant-0.85-debug/bin/NAnt.DotNetTasks.dl > l'. > > ** (/opt/mono/bin/mcs.exe:8665): WARNING **: Could > not find assembly log4net, references from > /home/mono/nant/build/mono-1.0.unix/nant-0.85-debug/bin/NAnt.Core.dll > (assemblyref_index=2) > Major/Minor: 1,2 > Build: 0,30714 > Token: (null) > > > Unhandled Exception: System.NullReferenceException: > A null value was found where an object instance was required. > in (unmanaged) > /opt/mono/lib/libmono.so.0(mono_assembly_open+0xda) [0x8f68d2] > in (unmanaged) /opt/mono/lib/libmono.so.0 [0x8e9e53] > in <0x000d1> Mono.CSharp.Driver:LoadAssembly > (string,bool) > in <0x0009f> Mono.CSharp.Driver:LoadReferences () > in <0x006ac> Mono.CSharp.Driver:MainDriver > (string[]) > in <0x00012> Mono.CSharp.Driver:Main (string[]) > > A workaround is to: > > $ cp bin/lib/mono/1.0/*.dll build/mono-1.0.unix/nant-0.85-debug/bin/ > > and re-run "make". This fixed all errors. > > Gert, make sure you have a clean build of mono. I recommend having a > separate /opt - style prefix for it so that you can easily find old dlls. > > Since "lib/mono/1.0" is the correct path now that mono has GAC, I've > committed a fix to CVS. > > Jarke > > ----- Original Message ----- > From: "Gert Driesen" <[EMAIL PROTECTED]> > To: "Nant-Developers (E-Mail)" <[EMAIL PROTECTED]> > Sent: Tuesday, May 11, 2004 8:31 AM > Subject: [nant-dev] NAnt/Mono > > > > Hi, > > > > Just to let you know that NAnt (cvs) should now work on Mono/Linux out of > > the box (without tweaking any config files) : > > > > $ export CVSROOT=:pserver:[EMAIL PROTECTED]:/cvsroot/nant > > $ cvs -z3 co nant > > $ cd nant > > $ make > > > > Note: you still might need this workaround for a Mono issue : > > http://nant.sourceforge.net/faq.html#building-mono-1 > > > > Gert > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by Sleepycat Software > > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to > deliver > > higher performing products faster, at low TCO. > > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > > _______________________________________________ > > nant-developers mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/nant-developers > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver > higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > nant-developers mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-developers > ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers