[Ironruby-core] Building IronRuby under Mono

Antonio Cangiano acangiano at gmail.com
Sat Dec 6 13:44:17 EST 2008


Hello,

I'm trying to compile IronRuby under Mono, but I'm receiving a few errors.
Any ideas?

$ uname -a
Linux zen 2.6.27-9-generic #1 SMP Thu Nov 20 22:15:32 UTC 2008 x86_64
GNU/Linux

$ mono --version
Mono JIT compiler version 1.9.1 (tarball)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
    TLS:           __thread
    GC:            Included Boehm (with typed GC)
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  amd64
    Disabled:      none

$ gmcs --version
Mono C# compiler version 1.9.1.0

$ svn co -r 144 http://ironruby.rubyforge.org/svn/trunk ironruby
$ cd ironruby/
$ wget http://sparcs.kaist.ac.kr/~tinuviel/download/IronRuby/patch-mono-r144
$ patch -p0 < patch-mono-r144

$ rake compile mono=1
(in /home/antonio/code/ruby/ironruby)
./ast/MethodCallExpression.cs(167,18): warning CS0219: The variable `invoke'
is assigned but its value is never used
./ast/expressiontreevisitor.cs(99,30): warning CS0219: The variable `c' is
assigned but its value is never used
./actions/callsite.cs(255,25): warning CS0219: The variable `newRule' is
assigned but its value is never used
./actions/callsite.cs(146,18): warning CS0219: The variable `typeofT' is
assigned but its value is never used
./com/VarEnumSelector.cs(313,37): warning CS0168: The variable
`narrowingLevel' is declared but never used
./compiler/LambdaCompiler.Logical.cs(182,33): warning CS0219: The variable
`p' is assigned but its value is never used
./compiler/LambdaCompiler.Logical.cs(234,19): warning CS0219: The variable
`labReturnLeft' is assigned but its value is never used
./compiler/LambdaCompiler.Logical.cs(410,19): warning CS0219: The variable
`labReturnLeft' is assigned but its value is never used
./compiler/LambdaCompiler.Statements.cs(368,19): warning CS0219: The
variable `endCatchBlock' is assigned but its value is never used
./compiler/lambdacompiler.unary.cs(84,35): warning CS0219: The variable
`labIfNull' is assigned but its value is never used
./compiler/TryStatementInfo.cs(110,24): warning CS0219: The variable `cb' is
assigned but its value is never used
./compiler/ilgen.cs(1104,18): warning CS0219: The variable
`isFromFloatingPoint' is assigned but its value is never used
./utils/helpers.cs(37,20): error CS1502: The best overloaded method match
for `System.Reflection.Emit.DynamicMethod.DynamicMethod(string, System.Type,
System.Type[], System.Reflection.Module)' has some invalid arguments
/usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related to previous
error)
./utils/helpers.cs(37,20): error CS1503: Argument 4: Cannot convert type
`bool' to `System.Reflection.Module'
Compilation failed: 2 error(s), 12 warnings
rake aborted!
Command failed with status (1): [gmcs
/out:"/home/antonio/code/ruby/ironrub...]
/home/antonio/code/ruby/ironruby/Rakefile:270
(See full trace by running task with --trace)


Thanks in advance,
Antonio
-- 
http://antoniocangiano.com - Zen and the Art of Programming
http://math-blog.com - Mathematics is wonderful!
http://stacktrace.it - Aperiodico di resistenza informatica
Currently writing "Ruby on Rails for Microsoft Developers" for Wrox.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081206/996584a7/attachment.html>


More information about the Ironruby-core mailing list