[Mono-list] Problems compiling Mono from CVS with ICU
George Kodinov
gkodinov@openlinksw.co.uk
Mon, 22 Dec 2003 12:35:14 +0200
Hi,
I have had problems in the last serveral days compiling mcs from the CVS
on my RH9 box. It compiles fine with the monocharge .tar.gz (last tried
2003-12-22 with monocharge-20031221), but when I try to actually use the
so produced mscorlib.dll (by invoking the mcs) I get :
Corlib not in sync with this runtime: expected corlib version 5, found -1.
I've grepped the mcs sources for "mono_corlib_version" (witch is what
the mono_get_corlib_version () is searching for in System.Environment
class), but I can't seem to find in anywhere. I've experimentally
disabled the check in mono_check_corlib_version (), but I've started
getting :
Unhandled Exception: System.MissingMethodException: A missing method
exception has occurred.
in <0x00042> (wrapper managed-to-native)
System.Globalization.CompareInfo:internal_compare
(string,string,System.Globalization.CompareOptions)
in <0x00057> System.Globalization.CompareInfo:Compare
(string,int,int,string,int,int,System.Globalization.CompareOptions)
in <0x0014c> System.String:Compare
(string,int,string,int,int,bool,System.Globalization.CultureInfo)
in <0x00043> System.String:Compare (string,int,string,int,int)
in <0x00058> System.String:StartsWith (string)
in <0x0037e> System.Globalization.NumberFormatInfo:InitPatterns ()
in (unmanaged) /home/kgeorge/lib/libmono.so.0 [0x8e218f]
in (unmanaged) /home/kgeorge/lib/libmono.so.0(mono_runtime_invoke+0x23)
[0x91bb77]
in (unmanaged) /home/kgeorge/lib/libmono.so.0 [0x94550e]
in (unmanaged) /home/kgeorge/lib/libmono.so.0 [0x945819]
in <0x00084> System.Globalization.CultureInfo:Construct (int,string,bool)
in <0x00084> System.Globalization.CultureInfo:.ctor (int,bool)
in <0x00012> System.Globalization.CultureInfo:.ctor (int)
in <0x000a9> System.Threading.Thread:get_CurrentCulture ()
in <0x0001a> System.Globalization.NumberFormatInfo:get_CurrentInfo ()
in <0x00059> System.Globalization.NumberFormatInfo:GetInstance
(System.IFormatProvider)
in <0x00016> System.Int32:ToString (string,System.IFormatProvider)
in <0x0021c> System.String:FormatHelper
(System.Text.StringBuilder,System.IFormatProvider,string,object[])
in <0x0003f> System.String:Format (System.IFormatProvider,string,object[])
in <0x00064> System.String:Format (string,object,object)
in <0x00041> Mono.CSharp.Report:Error (int,string)
in <0x00557> Mono.CSharp.Driver:MainDriver (string[])
in <0x0001b> Mono.CSharp.Driver:Main (string[])
with the new mscorlib.dll.
What's the correct way of compiling the two (given one checks them out
both today) ? or am I doing something wrong in updating the following way :
1. cd mono; cvs update
2. cd mono; make clean ; make ; make install
3. cd mcs ; cvs update ; make clean ; make ; make install
Best Regards,
--
George Kodinov Email : gkodinov@openlinksw.co.uk
Developer Web : http://www.openlinksw.com
OpenLink Software Phone : +359 32 637 475
XML & E-Business Infrastructure Technology Providers