Hi, "Jochen Wezel (CompuMaster GmbH)" <[EMAIL PROTECTED]> writes:
> I needed to update my mono runtime because I cannot compile via CVS. > > In folder mono, I started with: > > ./autogen.sh --prefix=/usr > make > make install > [......] > /bin/sh ../../mkinstalldirs /usr/lib/mono/1.0 > /usr/bin/install -c -m 644 mscorlib.dll /usr/lib/mono/1.0/mscorlib.dll > /usr/bin/install -c -m 644 ./mscorlib.dll.mdb /usr/lib/mono/1.0/mscorlib.dll.mdb > MONO_PATH=. ../../mono/mini/mono --config ../../data/config ./../gacutil.exe /i > ./Accessibility.dll /f /package 1.0 /gacdir /usr/lib /root /usr/lib > Corlib not in sync with this runtime: expected corlib version 28, found 26. > Download a newer corlib or a newer runtime at http://www.go-mono.com/daily. > make[3]: *** [install-data-local] Fehler 1 > make[3]: Verlassen des Verzeichnisses Verzeichnis > »/mono-dev/mono-cvs-auth/mono/runtime/net_1_1« > make[2]: *** [install-am] Fehler 2 > make[2]: Verlassen des Verzeichnisses Verzeichnis > »/mono-dev/mono-cvs-auth/mono/runtime/net_1_1« > make[1]: *** [install-recursive] Fehler 1 > make[1]: Verlassen des Verzeichnisses Verzeichnis > »/mono-dev/mono-cvs-auth/mono/runtime« > make: *** [install-recursive] Fehler 1 You have a mismatched mscorlib.dll in mono/runtime/net_1_1. You need 'make bootstrap' to fix it. But, you were over eager and did a 'make install' :-) And so ... > For testing purposes, I also started that: > > [EMAIL PROTECTED] mono]# make bootstrap > rm -f ./../mcs/mcs/mcs.exe ./../mcs/class/lib/default/mscorlib.dll > ./../mcs/class/lib/default/System.dll ./../mcs/class/lib/default/System.Xml.dll > ./../mcs/class/lib/default/Mono.CompilerServices.SymbolWriter.dll > for dir in jay mcs class/corlib class/System; do \ > (cd ./../mcs/$dir && make PROFILE=default NO_SIGN_ASSEMBLY=yes > USE_BOOT_COMPILE=yes BOOTSTRAP_MCS="mcs -d:BOOTSTRAP_WITH_OLDLIB") || exit 1 ; \ > done > make[1]: Wechsel in das Verzeichnis Verzeichnis »/mono-dev/mono-cvs-auth/mcs/jay« > make all-local > make[2]: Wechsel in das Verzeichnis Verzeichnis »/mono-dev/mono-cvs-auth/mcs/jay« > make[2]: Für das Target »all-local« gibt es nichts zu tun. > make[2]: Verlassen des Verzeichnisses Verzeichnis »/mono-dev/mono-cvs-auth/mcs/jay« > make[1]: Verlassen des Verzeichnisses Verzeichnis »/mono-dev/mono-cvs-auth/mcs/jay« > make[1]: Wechsel in das Verzeichnis Verzeichnis »/mono-dev/mono-cvs-auth/mcs/mcs« > make all-local > make[2]: Wechsel in das Verzeichnis Verzeichnis »/mono-dev/mono-cvs-auth/mcs/mcs« > mcs -d:BOOTSTRAP_WITH_OLDLIB -d:NET_1_1 -d:ONLY_1_1 -g /target:exe /out:mcs.exe > cs-parser.cs @mcs.exe.sources > Corlib not in sync with this runtime: expected corlib version 28, found 22. > Download a newer corlib or a newer runtime at http://www.go-mono.com/daily. > make[2]: *** [mcs.exe] Fehler 1 > make[2]: Verlassen des Verzeichnisses Verzeichnis »/mono-dev/mono-cvs-auth/mcs/mcs« > make[1]: *** [all.real] Fehler 2 > make[1]: Verlassen des Verzeichnisses Verzeichnis »/mono-dev/mono-cvs-auth/mcs/mcs« > make: *** [mcs-do-basic-build] Fehler 1 > [EMAIL PROTECTED] mono]# > > I'm wondering why it finds sometimes runtime version 22, and the next time 26... Now, 'make bootstrap' is trying to run the installed version of 'mono', which is inconsistent. It has to do with the partial 'make install' from the previous run. The 'mscorlib.dll' in /usr is version 22, but the newly installed 'mono' wants version 28. > In any case, this is the cause why I tried to build from the "daily builds" > completely new. Or, you could've tried make get-monolite-latest make monolite-bootstrap This doesn't use the installed version of 'mono', and should circumvent the other problems that you have. - Hari _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
