Hi guys, ...I've checked out and installed the latest version of mono from CVS, and I always get the same error message as Jarek when trying to build NAnt:
The current runtime framework 'mono-1.0' is not correctly configured in the NAnt configuration file. Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.go-mono.com/downloads. On my system the GAC is correctly located at /usr/local/lib/mono/gac... Any idea? Thanks, j3d. On Tue, 2004-05-11 at 08:51, Jaroslaw Kowalski wrote: > 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 -- ---------------------------------------- Giuseppe Greco ::agamura:: phone: +41 91 604 67 65 mobile: +41 76 390 60 32 email: [EMAIL PROTECTED] web: www.agamura.com ---------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers