NAnt build problem

Zsolt Udvari udvzsolt at gmail.com
Mon Apr 30 04:50:24 PDT 2007


Hi!

I've a problem with nant building:


$ make install prefix=/usr/progs/devel/nant/0.85/

mkdir -p bootstrap
cp -R lib/ bootstrap/lib
# Mono loads log4net before privatebinpath is set-up, so we need this
in the same directory
# as NAnt.exe
cp lib/log4net.dll bootstrap
cp src/NAnt.Console/App.config bootstrap/NAnt.exe.config
mcs -target:exe -define:MONO -out:bootstrap/NAnt.exe -r:bootstrap/log4net.dll \
-recurse:src/NAnt.Console/*.cs src/CommonAssemblyInfo.cs
resgen  src/NAnt.Core/Resources/Strings.resx
bootstrap/NAnt.Core.Resources.Strings.resources
Error: Exception has been thrown by the target of an invocation.
Inner exception: Stream is not a valid .resx file!  It was possibly truncated.
make: *** [bootstrap/NAnt.Core.dll] Error 1

Maybe is important:
while I'm decompressing nant-0.85-src.tar.gz :

...
nant-0.85/tests/NAnt.Win32/NAnt.Win32.build
nant-0.85/tests/
nant-0.85/tests/NAnt.Tests.csproj
tar: A lone zero block at 22932

(I've found that message is not important...)

What's the problem and solution?

Thanks,
Zsolt



More information about the blfs-support mailing list