Hmm, it looks like it can't find System.Data.dll. Is it in /usr/lib/mono? Did you upgrade the default Mono installation or did you upgrade?
Thanks, Ryan On Thu, Mar 4, 2010 at 7:02 PM, Charles Chan <cchan...@users.sourceforge.net> wrote: > I tried to test NAnt on Ubuntu 9.10 and got the following error: > > ubu...@ubuntu-laptop:~/work/nant$ make > 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/common/neutral/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 > > ** (/usr/lib/mono/1.0/mcs.exe:2394): WARNING **: The following assembly > referenced from /home/ubuntu/work/nant/bootstrap/log4net.dll could not be > loaded: > Assembly: System.Data (assemblyref_index=2) > Version: 1.0.3300.0 > Public Key: b77a5c561934e089 > The assembly was not found in the Global Assembly Cache, a path listed in the > MONO_PATH environment variable, or in the location of the executing assembly > (/home/ubuntu/work/nant/bootstrap/). > > > ** (/usr/lib/mono/1.0/mcs.exe:2394): WARNING **: Could not load file or > assembly 'System.Data, Version=1.0.3300.0, Culture=neutral, > PublicKeyToken=b77a5c561934e089' or one of its dependencies. > > ** (/usr/lib/mono/1.0/mcs.exe:2394): WARNING **: Could not load file or > assembly 'System.Data, Version=1.0.3300.0, Culture=neutral, > PublicKeyToken=b77a5c561934e089' or one of its dependencies. > > Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The > classes in the module cannot be loaded. > at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool) > at System.Reflection.Assembly.GetExportedTypes () [0x00000] > at Mono.CSharp.TypeManager.LoadAllImportedTypes () [0x00000] > at Mono.CSharp.Driver.Compile () [0x00000] > at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] > make: *** [bootstrap/NAnt.exe] Error 1 > > ubu...@ubuntu-laptop:~/work/nant$ mono --version > Mono JIT compiler version 2.4.2.3 (Debian 2.4.2.3+dfsg-2) > Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com > TLS: __thread > GC: Included Boehm (with typed GC) > SIGSEGV: altstack > Notifications: epoll > Architecture: x86 > Disabled: none > > This is probably a simple problem. What am I doing wrong? > > Regards, > Charles > > > __________________________________________________________________ > Connect with friends from any web browser - no download required. Try the new > Yahoo! Canada Messenger for the Web BETA at > http://ca.messenger.yahoo.com/webmessengerpromo.php > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > nant-developers mailing list > nant-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nant-developers > -- Thanks, Ryan ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers