[Mono-list] Buggy symlink to machine.config while compiling Mono from source

Raja R Harinath rharinath at novell.com
Mon Feb 27 01:55:48 EST 2006


Hi,

Christian Schneider <mail at chrschn.de> writes:

> Hi all.
>
> I was trying to compile Mono 1.1.13.2 from source on my Linux box. After
> a while it stopped at the following error:
>
>         MONO_PATH="../../class/lib/net_1_1_bootstrap:
>         $MONO_PATH" /usr/src/packages/mono-1.1.13.2/runtime/mono-wrapper  ../../class/lib/net_1_1_bootstrap/sn.exe -q -R mscorlib.dll ../../class/mono.snk
>         Couldn't sign the assembly mscorlib.dll with this key pair.
>
> Investigating the problem I stumbled over a strange symlink in the
> build-subdirectories "runtime/etc/mono/1.0" and "runtime/etc/mono/2.0":
>
>         /usr/src/packages/mono-1.1.13.2/runtime/etc/mono/1.0/machine.config -> ../../../..//usr/src/packages/mono-1.1.13.2/data/net_1_1/machine.config
>         
>         /usr/src/packages/mono-1.1.13.2/runtime/etc/mono/2.0/machine.config -> ../../../..//usr/src/packages/mono-1.1.13.2/data/net_2_0/machine.config
>
> After changing the symlinks as follows, Mono compiled just fine:
>
>         /usr/src/packages/mono-1.1.13.2/runtime/etc/mono/1.0/machine.config -> ../../../../data/net_1_1/machine.config
>         
>         /usr/src/packages/mono-1.1.13.2/runtime/etc/mono/2.0/machine.config -> ../../../../data/net_2_0/machine.config

Whoops.  Somehow that one got through :-)  This has been fixed in SVN r57324.
Thanks for catching the bug.

> Hope you can fix this problem in the configure script, or where it might
> come from.

You can apply the attached patch to fix the issue.

- Hari

-------------- next part --------------
A non-text attachment was scrubbed...
Name: m4quote.diff
Type: text/x-patch
Size: 713 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20060227/88c38be2/m4quote.bin


More information about the Mono-list mailing list