Hi Richard,

You might have to manually update the path to your mono installation in the
following attributes of the mono-1.0-linux framework node in <nant
root>\src\NAnt.Console\NAnt.Console.exe.config.linux :

    sdkdirectory (default is "/usr/local/bin")
    frameworkdirectory (default is "/usr/local/bin")
    frameworkassemblydirectory (default is "/usr/local/lib")

Hope this helps,

Gert

----- Original Message -----
From: "Richard Torkar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 24, 2003 3:06 PM
Subject: [nant-dev] Mono & NAnt



Hi!

I saw the recent work you've done w.r.t mono and linux.
Imagine my joy when I saw a Makefile in the cvs *grin*

I decided I'd give it a try with recent mono cvs. Unfortunately it bails
with a strange error msg I don't know how to read.

<BUILDING NANT>
 ** snipped stuff **
make linux-bootstrap-nant.dotnet
make[3]: Entering directory `/home/xyz/lalle/nant'
mcs -target:library -define:MONO -debug -o bin/NAnt.DotNetTasks.dll
-r:./bin/NAnt.Core.dll -r:bin/NDoc.Core.dll
-recurse:src/NAnt.DotNet/*.cs src/CommonAssemblyInfo.csWROTE SYMFILE:
18 sources, 251 methods, 190 types, 1216 line numbers, 155 locals, 66
namespaces, 23245 bytes of string data
OffsetTable [67562 - 52:64066 - 18:67130:432 - 251:64118:3012 - 190]
Compilation succeeded
make[3]: Leaving directory `/home/xyz/lalle/nant'
make[2]: Leaving directory `/home/xyz/lalle/nant'
make[1]: Leaving directory `/home/xyz/lalle/nant'
make nant
make[1]: Entering directory `/home/xyz/lalle/nant'
if test x = xWindows_NT; then make windows-nant; else make linux-nant;
fi
make[2]: Entering directory `/home/xyz/lalle/nant'
mono bin/NAnt.exe -buildfile:NAnt.build build
NAnt version 0.8.4 Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net

Framework 'mono-1.0-linux' does not exist or is not specified in the
NAnt configuration file. Defaulting to no known framework.
Buildfile: file://home/xyz/lalle/nant/NAnt.build
Target(s) specified: build

BUILD FAILED

/home/xyz/lalle/nant/NAnt.build(3,74):
 Property 'nant.settings.currentframework' has not been set.

Total time: 0.2 seconds.

make[2]: *** [linux-nant] Error 1
make[2]: Leaving directory `/home/xyz/lalle/nant'
make[1]: *** [nant] Error 2
make[1]: Leaving directory `/home/xyz/lalle/nant'
make: *** [all] Error 2
</BUILDING NANT>

Any ideas what might be causing this build failure?

Best,

/Richard
--
"UNIX is basically a simple operating system,
but you have to be a genius to understand the simplicity."



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to