Today I fetched version 126312 of Mono from and attempted to build it with the following commands:
$ cd mono $ svn update $ cd ../mcs $ svn update $ cd ../mono $ ./autogen.sh --prefix=/opt/mono $ make clean $ make and when it attempts to build things in 'docs' I get the following error: cd . && make -f docs.make topdir=../../mcs convert.exe make[1]: Entering directory `/home/brett/Downloads/MonoProject/mono/docs' MCS [default] convert.exe Cannot open assembly '../../mcs/class/lib/default/mcs.exe': No such file or directory. make[1]: *** [convert.exe] Error 2 make[1]: Leaving directory `/home/brett/Downloads/MonoProject/mono/docs' make: *** [convert.exe] Error 2 So, I went to the ../../mcs/class/lib/default directory and created a symbolic link to ../../../mcs/mcs.exe and then the build went a little further and then I get the following error message: cd . && make -f docs.make topdir=../../mcs convert.exe make[1]: Entering directory `/home/brett/Downloads/MonoProject/mono/docs' MCS [default] convert.exe Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at Mono.CSharp.RootNamespace.GetTypeInAssembly (System.Reflection.Assembly assembly, System.String name) [0x00000] at Mono.CSharp.RootNamespace.LookupTypeReflection (System.String name, Location loc) [0x00000] at Mono.CSharp.GlobalRootNamespace.LookupTypeReflection (System.String name, Location loc) [0x00000] at Mono.CSharp.Namespace.LookupType (System.String name, Location loc) [0x00000] at Mono.CSharp.Namespace.Lookup (Mono.CSharp.DeclSpace ds, System.String name, Location loc) [0x00000] at Mono.CSharp.TypeManager.CoreLookupType (System.String ns_name, System.String name, Kind type_kind, Boolean required) [0x00000] at Mono.CSharp.RootNamespace.ComputeNamespaces () [0x00000] at Mono.CSharp.Driver.LoadReferences () [0x00000] at Mono.CSharp.Driver.Compile () [0x00000] at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] make[1]: *** [convert.exe] Error 1 make[1]: Leaving directory `/home/brett/Downloads/MonoProject/mono/docs' make: *** [convert.exe] Error 1 When I looked into this a little further it seems that mono/mono/mini/mono has a problem with the -r:AgilityPack.dll and if I use a mono other than this (eg /opt/mono/bin/mono) the convert.cs will compile to convert.exe - so the problem seems to be something related to mono/mono/mini/mono. I have compiled mono from svn in the past and have not had issues such as the above. Can someone please provide me with some help so that I can get mono build ? -- View this message in context: http://www.nabble.com/Unable-to-compile-version-126312-of-Mono-from-SVN-tp21907319p21907319.html Sent from the Mono - General mailing list archive at Nabble.com. _______________________________________________ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list