[Pkg-mono-devel] Building Mono 1.1.2

Tomasz Rybak bogomips@post.pl
Thu, 25 Nov 2004 01:35:26 +0100


Dnia 18-11-2004, czw o godzinie 22:01 +0100, Tomasz Rybak napisa³(a):
> I've written script building Mono.
> Using it I was able to build Mono 1.1.2 and Xsp 1.0.4
> under Debian's Mono 1.0.2.
> I wasn't (yet) able to build Mcs 1.1.2:
>      1. patch from debian/patches is wrong and should be removed
>      2. there is conflict during building mcs-1.1.2 under mono 1.0.2;
>         I'll try to install Debian's mono, build mono-1.1.2, install
>         (upgrade 1.0.2 to 1.1.2) it, and then build mcs 1.1.2

I tried and I wasn't able to build mcs 1.1.2.
When I built mono-1.1.2 using mono 1.0.2 from Debian and installed 
mono-1.1.2, every run of mcs fails with message:

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.

When I try to build mcs-1.1.2 using mono-1.0.2 from Debian, I get:
Corlib not in sync with this runtime: expected corlib version 22, found
28.
Download a newer corlib or a newer runtime at
http://www.go-mono.com/daily.

How should I build mono and mcs 1.1.2?

And I found error (I think) in debian/rules in mcs:
...
Checked out revision 1464.
fakeroot debian/rules clean || debian/rules clean
debian/rules:19: *** Rekurencyjna zmienna `TARGETS' wskazuje na samħ
siebie. Stop.
debian/rules:19: *** Rekurencyjna zmienna `TARGETS' wskazuje na samħ
siebie. Stop.
Command fakeroot debian/rules clean || debian/rules clean failed, how to
continue now? [Qri?]:

After changing line 13 from
        TARGETS = $(TARGETS) build-indep
to
        TARGETS = build-arch build-indep

compilation goes on (tills corlib error).

-- 
Tomasz Rybak <bogomips@post.pl>