Hey all,

I'm getting a couple of errors while building IR on Mono.  I've poked at
it using the 2.4.2.3 and 2.4.4~svn151842-1 .deb packages as well as from
trunk.

With the .deb packages, the only problem with the xbuild system is that
yaml -> Yaml case sensitivity problem.  After applying the patch
(attached), I get a compiler error:

Internal compiler  error at Ast/GeneratorRewriter.cs(797,39): :
exception caught while emitting MethodBuilder
[GeneratorRewriter::VisitBinary]

I brought this up with Marek, and he told me to try using the compiler
from trunk, which makes sense.

It seems that building xbuild from trunk puts the *.targets under
$PREFIX/lib/mono/4.0 and not $PREFIX/lib/mono/2.0.

/usr/src/git/github/ironruby/Merlin/Main/Languages/Ruby/Ruby.sln:  warning : 
            
/usr/src/git/github/ironruby/Merlin/Main/Languages/Ruby/IronRuby.Tests/IronRuby.Tests.csproj:
 Imported project: "/opt/mono/lib/mono/2.0/Microsoft.CSharp.targets" 
            does not exist.

Copying them from the 4.0 directory seems to fix the problem.  At that
point, I get these warnings:

/usr/src/git/github/ironruby/Merlin/Main/Languages/Ruby/Ruby.sln:  warning : 
Don't know how to handle GlobalSection TeamFoundationVersionControl, Ignoring.
/usr/src/git/github/ironruby/Merlin/Main/Languages/Ruby/Ruby.sln (default 
targets) ->
(ValidateSolutionConfiguration target) ->
: error : Error initializing task Message: Not registered task Message.

I've brought these issues up with Ankit, the maintainer of xbuild.  I
figure we'll do some investigation on Monday, since I'm cleaning the
back yard today. ;)

Just thought you all might want to know how things are going.

Cheers,

C.J.

diff --git a/Merlin/Main/Languages/Ruby/Ruby.sln b/Merlin/Main/Languages/Ruby/Ruby.sln
index 29f7912..36b7bfc 100644
--- a/Merlin/Main/Languages/Ruby/Ruby.sln
+++ b/Merlin/Main/Languages/Ruby/Ruby.sln
@@ -13,7 +13,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Scripting.Core",
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IronRuby.Libraries", "Libraries.LCA_RESTRICTED\IronRuby.Libraries.csproj", "{77323B06-15A2-4CF4-8A7A-86EAA2B66498}"
 EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IronRuby.Libraries.Yaml", "..\..\..\External.LCA_RESTRICTED\Languages\IronRuby\yaml\IronRuby.Libraries.Yaml\IronRuby.Libraries.Yaml.csproj", "{AA18A245-E342-4368-A474-83178311A742}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IronRuby.Libraries.Yaml", "..\..\..\External.LCA_RESTRICTED\Languages\IronRuby\Yaml\IronRuby.Libraries.Yaml\IronRuby.Libraries.Yaml.csproj", "{AA18A245-E342-4368-A474-83178311A742}"
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Scripting.ExtensionAttribute", "..\..\..\..\ndp\fx\src\Core\Microsoft\Scripting\Microsoft.Scripting.ExtensionAttribute.csproj", "{8B0F1074-750E-4D64-BF23-A1E0F54261E5}"
 EndProject
@@ -56,9 +56,9 @@ Global
 		SccProjectUniqueName6 = ..\\..\\..\\..\\ndp\\fx\\src\\Core\\Microsoft\\Scripting\\Microsoft.Scripting.Core.csproj
 		SccProjectName6 = ../../../../ndp/fx/src/Core/Microsoft/Scripting
 		SccLocalPath6 = ..\\..\\..\\..\\ndp\\fx\\src\\Core\\Microsoft\\Scripting
-		SccProjectUniqueName7 = ..\\..\\..\\External.LCA_RESTRICTED\\Languages\\IronRuby\\yaml\\IronRuby.Libraries.Yaml\\IronRuby.Libraries.Yaml.csproj
-		SccProjectName7 = ../../../External.LCA_RESTRICTED/Languages/IronRuby/yaml/IronRuby.Libraries.Yaml
-		SccLocalPath7 = ..\\..\\..\\External.LCA_RESTRICTED\\Languages\\IronRuby\\yaml\\IronRuby.Libraries.Yaml
+		SccProjectUniqueName7 = ..\\..\\..\\External.LCA_RESTRICTED\\Languages\\IronRuby\\Yaml\\IronRuby.Libraries.Yaml\\IronRuby.Libraries.Yaml.csproj
+		SccProjectName7 = ../../../External.LCA_RESTRICTED/Languages/IronRuby/Yaml/IronRuby.Libraries.Yaml
+		SccLocalPath7 = ..\\..\\..\\External.LCA_RESTRICTED\\Languages\\IronRuby\\Yaml\\IronRuby.Libraries.Yaml
 		SccProjectUniqueName8 = ..\\..\\..\\..\\ndp\\fx\\src\\Core\\Microsoft\\Scripting\\Microsoft.Scripting.ExtensionAttribute.csproj
 		SccProjectName8 = ../../../../ndp/fx/src/Core/Microsoft/Scripting
 		SccLocalPath8 = ..\\..\\..\\..\\ndp\\fx\\src\\Core\\Microsoft\\Scripting

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to