[Mono-devel-list] Corlib not in Sync?
Francisco Figueiredo Jr.
fxjrlists at yahoo.com.br
Sat Mar 6 08:45:33 EST 2004
Griffin Caprio wrote:
> I just did my daily cvs update of the mono module. Everything compiled
> and installed fine, but when i tried to run mcs, i got the following error:
>
> $ mcs --version
> Corlib not in sync with this runtime: expected corlib version 12, found 11.
> Download a newer corlib at http://www.go-mono.com/daily.
>
> Now, when i first installed Mono from cvs, i downloaded the monocharge
> daily snapshot, as suggested, in order to bootstrap my system. Are
> these files still around or have they been supplanted by the libraries
> that I built?
>
mono keeps a local copy of compiled assemblies in its runtime folder.
So, when you compiled mono, the runtime was already modified and so a
new version was added but the libraries you used to compile mono for the
first time was still in the runtime folder.
I think this time you will have to download the monolite and copy the
corlib.dll to you <monodir>/lib folder. And compile mcs from sources.
To avoid that in future, the order you could use ( I use it for my own
development) is the following:
cvs update mcs -d
make in mcs.
if there is any modification in runtime version you will get it when
trying to compile the first assembly after compiled mscorlib.dll as it
will have a newer number as your mono runtime. You will get the same
error as you said.
go to mono folder.
cvs update
make make install.
now go back to mcs and do a make install ( and this will copy the new
mscorlib.dll to mono system allowing you to continue )
or copy the mcs/class/lib/mscorlib.dll to you monoinstall/lib folder and
continue with make in mcs folder.
I personally use the make install as this diminishes my typing :)
I hope it helps
--
Regards,
Francisco Figueiredo Jr.
Membro Fundador do Projeto MonoBrasil - MonoBrasil Project Founder Member
http://monobrasil.softwarelivre.org
-------------
"Science without religion is lame;
religion without science is blind."
~ Albert Einstein
More information about the Mono-devel-list
mailing list