Dear mono list, on a shared host (gnu/linux 2.6.16, gcc 3.3.5) I've tried to compile and install locally mono-1.2.3.1 for a friend for a small experimental setup via
"./configure --prefix=/home/blasum/mono --enable-minimal=profiler,pinvoke,debug,reflection_emit,logging --disable-shared-handles --with-sigaltstack=no --with-xen_opt=no --with-large-heaps=no --with-ikvm-native=no --with-interp=no --with-preview=no" followed by "make -Os" (this, I think, just optimizes for space). This compiles and "make installs", but when calling a program via "MONO_PATH=mono/lib/mono/1.0 mono/bin/mono server" I get: ** (server:8670): WARNING **: The class System.ConsoleKeyInfo could not be loaded, used in mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Unhandled Exception: System.TypeLoadException: Could not load type 'System.ConsoleKeyInfo' from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. "grep ConsoleKeyInfo mono/lib/mono/1.0" gives Binary file mono/lib/mono/1.0/mscorlib.dll.mdb matches (It is not as a string in mscorlib.dll though.) Is this just a misconfigured MONO_PATH (my error might be very elementary ... ) or was I too restrictive with the compilation options? (due to space constraints I cannot afford a full install; I also try to go without libgdiplus on this remote server ...) Thanks in advance for any suggestions or generic advice (e.g. how I could check whether *.cs code actually got compiled or not, which library files to check for, how to find out whether a library file contains a certain compiled class or not, ... maybe some things are subtly different than I expect them to be when prejudiced by previous java exposure), -- Holger Blasum +49-174-7313590 (cell) GnuPG 1024D/ACDFC3B769DC1ED66B47
signature.asc
Description: Digital signature
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
