Hi all,

Thanks again for your help. I finally got it to work.
I'll summarize my experience for those trying 
the same task:

1. Delete/comment out the <asminfo /> task
from NAnt.build

2. I installed ICU and then tried to
compile mono. It did not compile
for source code from the mono download page
*and* from cvs! 
I then found the following link and
followed the suggestions there for compiling
ICU and mono:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg05622.html
 
It still did not work for the mono source
from CVS(!) but configuring and building ICU with:
./configure --prefix=/usr --enable-renaming=no
as suggested in the above link enabled
me to compile the source(0.30.1) from
the www.go-mono.com download page.

3. With Mono successfully compiled and installed
with ICU I did a make clean; make in my 
nant dir and was then able to use NAnt to 
build my own project.

Cheers,

Kamen 

--- Gert Driesen <[EMAIL PROTECTED]> wrote:
> You'll need to build Mono with ICU support enabled.
> 
> Gert
> 
> ----- Original Message ----- 
> From: "k l" <[EMAIL PROTECTED]>
> To: "Clayton Harbour"
> <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Cc: "Jaroslaw Kowalski" <[EMAIL PROTECTED]>
> Sent: Friday, February 27, 2004 3:30 AM
> Subject: RE: [Nant-users] Problem building Nant
> under RedHat and Mono
> 
> 
> > Hi Clayton,
> >
> > Thanks for your help. Unfortunately,
> > I tried both suggestions and after
> > the second one(removed the <asminfo /> task)
> > I got the following error
> > (see output below; I could not find a log file).
> >
> > Thanks,
> >
> > Kamen
> >
> > -----------
> > -----------
> >
> > [EMAIL PROTECTED] nant]$ make clean
> > rm bin/*.* -f
> > [EMAIL PROTECTED] nant]$ make
> > make bootstrap
> > make[1]: Entering directory `/home/kamen/nant'
> > if test x = xWindows_NT; then make
> windows-bootstrap;
> > else make linux-bootstrap; fi
> > make[2]: Entering directory `/home/kamen/nant'
> > cp lib/*.* bin/
> > cp lib/mono/1.0/*.* bin/
> > make linux-bootstrap-nant
> > make[3]: Entering directory `/home/kamen/nant'
> > mcs -target:exe -define:MONO -debug -o
> bin/NAnt.exe
> > -r:lib/mono/1.0/log4net.dll
> > -recurse:src/NAnt.Console/*.cs
> > src/CommonAssemblyInfo.cs
> > Compilation succeeded
> > cp src/NAnt.Console/NAnt.Console.exe.config
> > bin/NAnt.exe.config
> > make[3]: Leaving directory `/home/kamen/nant'
> > make linux-bootstrap-nant.core
> > make[3]: Entering directory `/home/kamen/nant'
> > mcs -target:library -define:MONO -debug -o
> > bin/NAnt.Core.dll -r:bin/log4net.dll
> -r:System.Web.dll
> > -recurse:src/NAnt.Core/*.cs
> src/CommonAssemblyInfo.cs
> > src/NAnt.Core/ConsoleDriver.cs(271) warning
> CS0618:
> > Method
> >
>
`System.Xml.Xsl.XslTransform.Load(System.Xml.XmlReader)'
> > is obsolete: `You should pass evidence.'
> > src/NAnt.Core/ConsoleDriver.cs(278) warning
> CS0618:
> > Method
> >
>
`System.Xml.Xsl.XslTransform.Transform(System.Xml.XPath.IXPathNavigable,
> > System.Xml.Xsl.XsltArgumentList,
> > System.IO.TextWriter)' is obsolete: `You should
> pass
> > XmlResolver to Transform() method'
> > src/NAnt.Core/Tasks/StyleTask.cs(306) warning
> CS0618:
> > Method
> >
>
`System.Xml.Xsl.XslTransform.Load(System.Xml.XmlReader)'
> > is obsolete: `You should pass evidence.'
> > src/NAnt.Core/Tasks/StyleTask.cs(329) warning
> CS0618:
> > Method
> >
>
`System.Xml.Xsl.XslTransform.Transform(System.Xml.XPath.IXPathNavigable,
> > System.Xml.Xsl.XsltArgumentList,
> > System.IO.TextWriter)' is obsolete: `You should
> pass
> > XmlResolver to Transform() method'
> > Compilation succeeded - 4 warning(s)
> > make[3]: Leaving directory `/home/kamen/nant'
> > make linux-bootstrap-nant.dotnet
> > make[3]: Entering directory `/home/kamen/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.cs
> > Compilation succeeded
> > make[3]: Leaving directory `/home/kamen/nant'
> > make[2]: Leaving directory `/home/kamen/nant'
> > make[1]: Leaving directory `/home/kamen/nant'
> > make nant
> > make[1]: Entering directory `/home/kamen/nant'
> > if test x = xWindows_NT; then make windows-nant;
> else
> > make linux-nant; fi
> > make[2]: Entering directory `/home/kamen/nant'
> > mono bin/NAnt.exe -buildfile:NAnt.build build
> > NAnt 0.0.0.0 (Build 0.0.0.0; ; 01/01/2000)
> >
> > Buildfile: file://home/kamen/nant/NAnt.build
> > Target(s) specified: build
> >      [echo] Using 'mono-1.0' framework on 'unix'
> > platform.
> >
> > init:
> >
> >
> > debug:
> >
> >
> > set-runtime-configuration:
> >
> >
> > set-mono-1.0-runtime-configuration:
> >
> >
> > set-runtime-configuration-flags:
> >
> >
> > set-mono-1.0-runtime-configuration:
> >
> >
> > set-runtime-configuration-flags:
> >
> >
> > create-common-assemblyinfo:
> >
> >    [attrib] Setting file attributes for 1 files to
> > Normal.
> >
> > build:
> >
> >      [echo] Build Directory is
> >
> /home/kamen/nant/build/mono-1.0.unix/nant-0.85-debug
> >      [nant]
> > /home/kamen/nant/src/NAnt.Core/NAnt.Core.build
> build
> >
> >             Buildfile:
> >
> file://home/kamen/nant/src/NAnt.Core/NAnt.Core.build
> >             Target(s) specified: build
> >
> >             build:
> >
> >
> >             BUILD FAILED
> >
> >             INTERNAL ERROR
> >
> >
> > System.Reflection.TargetInvocationException:
> Exception
> > has been thrown by the target of an invocation.
> --->
> > System.TypeInitializationException: An exception
> was
> > thrown by the type initializer for
> > NAnt.DotNet.Tasks.CompilerBase --->
> > System.ArgumentException: An invalid argument was
> > specified.
> >             in (unmanaged)
> >
>
/usr/local/lib/libmono.so.0(mono_raise_exception+0x1b)
> > [0x40080f07]
> >             in (unmanaged)
> /usr/local/lib/libmono.so.0
> > [0x400a8df9]
> >             in <0x00084>
> > System.Globalization.CultureInfo:Construct
> > (int,string,bool)
> >             in <0x00084>
> > System.Globalization.CultureInfo:.ctor (int,bool)
> >             in <0x00012>
> > System.Globalization.CultureInfo:.ctor (int)
> >             in <0x0017b>
> > System.Globalization.CultureInfo:GetCultures
> > (System.Globalization.CultureTypes)
> >             in <0x000bd>
> > NAnt.DotNet.Tasks.CompilerBase:.cctor ()
> >             --- End of inner exception stack trace
> ---
> >
> >             in (unmanaged)
> > NAnt.DotNet.Tasks.CompilerBase:.ctor ()
> >             in <0x0000b>
> > NAnt.DotNet.Tasks.CscTask:.ctor ()
> >             in (unmanaged)
> /usr/local/lib/libmono.so.0
> 
=== message truncated ===



__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to