I've been playing around with trying to get Binder to compile on Linux,
since I recently made a change (added DateTimeOffset support for
COMP-ISSUE-56) which broke the Mono build - the tests I added are failing.
These tests work on Mono on Windows. When I try to build on Ubuntu 9.04
(2.6.28-15-generic kernel, mono-2.0-runtime [2.0.1-4ubuntu0.1]) I receive
the following error:
mono ../../../../nant-0.86-beta1/bin/NAnt.exe -t:mono-3.5
-D:project-config=release
<snip>
common.compile-dll:
[csc] Compiling 28 files to
'/home/hesiod/Development/castle/Components/Binder/trunk/build/mono-3.5/debu
g/Castle.Components.Binder.dll'.
[csc]
[csc] ** (/usr/lib/mono/2.0/gmcs.exe:1937): WARNING **:
The class System.Threading.ReaderWriterLockSlim could not be loaded, used in
System.Core, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
[csc]
[csc] Unhandled Exception:
System.Reflection.ReflectionTypeLoadException: The classes in the module
cannot be loaded.
[csc] at (wrapper managed-to-native)
System.Reflection.Assembly:GetTypes (bool)
[csc] at System.Reflection.Assembly.GetExportedTypes ()
[0x00000]
[csc] at Mono.CSharp.RootNamespace.ComputeNamespaces
(System.Reflection.Assembly assembly) [0x00000]
[csc] at Mono.CSharp.RootNamespace.ComputeNamespaces ()
[0x00000]
[csc] at Mono.CSharp.Driver.LoadReferences () [0x00000]
[csc] at Mono.CSharp.Driver.Compile () [0x00000]
[csc] at Mono.CSharp.Driver.Main (System.String[] args)
[0x00000]
I remember reading about the RWLS issues in Mono, and I know we've got it
building on a Linux box (the Mono agent builds it just fine, it's the tests
that are failing), so I'm a bit confused.
If necessary, I'll figure this out myself, but was hoping someone had some
pointers.
Oh. I just noticed. Is it because I need a newer version of Mono?
- rb
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Castle Project Development List" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/castle-project-devel?hl=en
-~----------~----~----~----~------~----~------~--~---