Hi,

Christian Schneider <[EMAIL PROTECTED]> 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

=== configure.in
==================================================================
--- configure.in	(revision 61569)
+++ configure.in	(local)
@@ -1805,7 +1805,7 @@
 AC_CONFIG_COMMANDS([runtime/etc/mono/1.0/machine.config],
 [   depth=../../../..
     case $srcdir in
-    [\\/$]* | ?:[\\/]* ) reldir=$srcdir ;;
+    [[\\/$]]* | ?:[[\\/]]* ) reldir=$srcdir ;;
     .) reldir=$depth ;;
     *) reldir=$depth/$srcdir ;;
     esac
@@ -1819,7 +1819,7 @@
 AC_CONFIG_COMMANDS([runtime/etc/mono/2.0/machine.config],
 [   depth=../../../..
     case $srcdir in
-    [\\/$]* | ?:[\\/]* ) reldir=$srcdir ;;
+    [[\\/$]]* | ?:[[\\/]]* ) reldir=$srcdir ;;
     .) reldir=$depth ;;
     *) reldir=$depth/$srcdir ;;
     esac
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to