[Mono-list] MONO_PATH or config options for System.ConsoleKeyInfo on local compile

Holger Blasum holgerlists-r-mono at blasum.net
Thu Mar 1 12:36:13 EST 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20070301/5573052c/attachment.bin 


More information about the Mono-list mailing list