Thank you very much, the build was successful ;-)

Perhaps there could be a Mono Linux section during the installation
documents explaining this, and to try NAnt from CVS instead of the
latest stable?  (if no one wants to, let me know and I will happily)

Thanks everyone.

~ Matthew

On Sun, 2003-10-05 at 12:49, Gert Driesen wrote:
> You need to make sure the path to mono is correct in the mono-1.0-linux
> framework node of the NAnt configuration (<nant
> root>/src/NAnt.Console/NAnt.Console.exe.config.linux)
> 
> Gert
> 
> ----- Original Message ----- 
> From: "Met @ Uber" <[EMAIL PROTECTED]>
> To: "Ian MacLean" <[EMAIL PROTECTED]>
> Cc: "NAnt-Devel" <[EMAIL PROTECTED]>
> Sent: Sunday, October 05, 2003 6:11 PM
> Subject: Re: [nant-dev] Getting Started with Mono on Linux [2] Continued
> 
> 
> When I run make it returns "Compilation succeeded" for the first part of
> the Makefile "make linux-bootstrap" but fails on "make linux-nant",
> which calls "mono bin/NAnt.exe -buildfile:NAnt.build build".  Any
> suggestions?
> 
> Here's the end of the returned message:
> ====
> make[3]: Leaving directory `/usr/local/Mono/src/nant/nant-cvs'
> make[2]: Leaving directory `/usr/local/Mono/src/nant/nant-cvs'
> make[1]: Leaving directory `/usr/local/Mono/src/nant/nant-cvs'
> make nant
> make[1]: Entering directory `/usr/local/Mono/src/nant/nant-cvs'
> if test x = xWindows_NT; then make windows-nant; else make linux-nant;
> fi
> make[2]: Entering directory `/usr/local/Mono/src/nant/nant-cvs'
> 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://usr/local/Mono/src/nant/nant-cvs/NAnt.build
> Target(s) specified: build
> 
> BUILD FAILED
> 
> /usr/local/Mono/src/nant/nant-cvs/NAnt.build(3,5):
>  Property 'nant.settings.currentframework' has not been set.
> 
> Total time: 0.2 seconds.
> 
> make[2]: *** [linux-nant] Error 1
> make[2]: Leaving directory `/usr/local/Mono/src/nant/nant-cvs'
> make[1]: *** [nant] Error 2
> make[1]: Leaving directory `/usr/local/Mono/src/nant/nant-cvs'
> make: *** [all] Error 2
> ====
> 
> On Sun, 2003-10-05 at 01:39, Ian MacLean wrote:
> > Matthew,
> >
> > scratch the bit about the shell script. We have yet to add that to the
> > build process. For now you'll need to create a text file called nant and
> > put somthing like the following in it:
> >
> > #!/bin/sh
> > /usr/local/bin/mono
> /home/foobar/cvs/nant/build/nant-0.8.4-debug/bin/NAnt.exe "$@"
> >
> > Save to either the nant bin dir or /usr/local/bin - whatever your
> preference it.
> >
> > Ian
> >
> >
> > >
> > > You're probably better off using the latest cvs of NAnt rather than
> > > 0.8.3. The build is cleaner on mono and there is now a nant shell
> > > script that gets copied to the build directory that you can run
> > > instead of 'mono NAnt.exe'
> > >
> > > get the cvs here :http://sourceforge.net/cvs/?group_id=31650
> > > or if you prefer a recent nightly build (
> > > http://nant.sourceforge.net/builds/ )
> > >
> > > Ian
> > >
> > >
> > >> Perhaps you can ignore my last message as I think I'm getting
> somewhere,
> > >> but not far.  I modified the makefile.linux till it ran (the new file
> is
> > >> attached).  I'm getting two warnings but the compilation says it
> > >> succeeded (how do I tell?).  If it truly worked, should I have a file
> in
> > >> bin called "nant" because I don't.  I then try "mono bin/miniant.exe
> > >> linux-build" as suggested by the bootstrap.sh file (the paths were
> wrong
> > >> in the file, fixes attached).  That seems to be where I am stuck as it
> > >> errors out with log4net complaints.  Below is a list of my commands and
> > >> their results, any help would be greatly appreciated.
> > >>
> > >> ====
> > >> [EMAIL PROTECTED] nant-0.8.3.50105]$ make -f makefile.linux
> > >> mcs --unsafe -define:mono -debug -o bin/mininant.exe  -r
> > >> ./bin/NDoc.Core.dll -r ./bin/log4net-net-1.0.dll -r System.We b.dll \
> > >> './src/NAnt.Core/*.cs' \
> > >> './src/NAnt.Core/Types/*.cs' \
> > >> './src/NAnt.Core/Util/*.cs' \
> > >> './src/NAnt.Core/Attributes/*.cs' \
> > >> './src/NAnt.Core/Tasks/*.cs' \
> > >> './src/NAnt.DotNet/Types/*.cs' \
> > >> './src/NAnt.DotNet/*.cs' \
> > >> './src/NAnt.DotNet/Tasks/*.cs'
> > >> ./src/NAnt.Core/ConsoleDriver.cs(226) warning CS0618: Method
> > >> `XslTransform.Load(System.Xml.XmlReader)' is obsolete: `You should pass
> > >> evidence.'
> > >> ./src/NAnt.Core/Tasks/StyleTask.cs(211) warning CS0618: Method
> > >> `XslTransform.Load(System.Xml.XmlReader)' is obsolete:`You should pass
> > >> evidence.'
> > >> Compilation succeeded - 2 warning(s)
> > >>
> > >> ========
> > >>
> > >> [EMAIL PROTECTED] nant-0.8.3.50105]$ mono bin/mininant.exe linux-build
> > >> mininant version 0.0.0
> > >>
> > >> log4net:ERROR Logger: No appenders could be found for logger
> > >> [NAnt.Core.TypeFactory] repository [log4net-default-domain]
> > >> log4net:ERROR Logger: Please initialize the log4net system properly.
> > >>
> > >> ** (bin/mininant.exe:8974): WARNING **: Could not find assembly
> > >> Microsoft.VSDesigner
> > >>
> > >> ** (bin/mininant.exe:8974): WARNING **: Could not find assembly
> > >> Microsoft.VSDesigner
> > >>
> > >> ** (bin/mininant.exe:8974): WARNING **: Could not find assembly
> > >> CollectionGen
> > >> INTERNAL ERROR
> > >> An exception was thrown by the type initializer for
> > >> NAnt.Core.TypeFactory
> > >>
> > >> Consult the log4net output for more information.
> > >>
> > >> Please send bug report to [EMAIL PROTECTED]
> > >>
> > >>
> >
> >> ------------------------------------------------------------------------
> > >>
> > >> #!/bin/sh
> > >> make -f makefile.linux
> > >> mono bin/mininant.exe linux-build
> > >>
> > >>
> >
> >> ------------------------------------------------------------------------
> > >>
> > >> # Simple makefile to build a miniNant with core and DotNetTasks
> > >> #
> > >> # ~ Matthew Metnetsky
> > >> #   NDoc.Core.dll & log4net-net-1.0.dll we're being searched under
> > >> #   ./bin/linux not under ./bin
> > >> #
> > >> MCS=mcs
> > >> local_paths=
> > >> all_assemblies= -r ./bin/NDoc.Core.dll -r ./bin/log4net-net-1.0.dll
> > >> -r System.Web.dll
> > >> all: mininant.exe
> > >>
> > >> mininant.exe: src/NAnt.Core/ConsoleDriver.cs
> > >>     $(MCS) --unsafe -define:mono -debug -o bin/mininant.exe
> > >> $(local_paths) $(all_assemblies) \
> > >>     './src/NAnt.Core/*.cs' \
> > >>     './src/NAnt.Core/Types/*.cs' \
> > >>     './src/NAnt.Core/Util/*.cs' \
> > >>     './src/NAnt.Core/Attributes/*.cs' \
> > >>     './src/NAnt.Core/Tasks/*.cs' \
> > >>     './src/NAnt.DotNet/Types/*.cs' \
> > >>     './src/NAnt.DotNet/*.cs' \
> > >>     './src/NAnt.DotNet/Tasks/*.cs'
> > >>
> > >> clean:
> > >>     bin/mininant.exe
> > >>
> > >>
> > >
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > 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
> >
> >
-- 
Met @ Uber <[EMAIL PROTECTED]>
Uberstats



-------------------------------------------------------
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