C. K. Ponnappa
2008-Dec-30 04:46 UTC
[Ironruby-core] Need help building IronRuby on Mono 2 + OS X
Hey guys, I''m running on OS X 10.5.5 with Mono 2.0 (installed via Ports). I ran rake compile mono=1 I do have pathname2 installed and am using IronRuby trunk revision 180. I get the following error: ~/Work/ruby/ironruby$ rake compile mono=1 --trace (in /Users/schonira/Work/ruby/ironruby) rake aborted! no such file to load -- /Users/schonira/Work/ruby/ironruby/rake\test.rake /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1598:in `load'' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1598:in `load'' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2413:in `load_imports'' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2356:in `raw_load_rakefile'' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1985:in `load_rakefile'' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling'' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1984:in `load_rakefile'' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1969:in `run'' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling'' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run'' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/bin/rake:31 /usr/bin/rake:19:in `load'' /usr/bin/rake:19 Can someone help me out please? Thanks! Sidu. http://blog.sidu.in
jirapong.nanta at gmail.com
2008-Dec-30 05:30 UTC
[Ironruby-core] Need help building IronRuby on Mono 2 + OS X
Hello Sidu, quick fix to open Rakefile then change ''rake\xxx'' to ''rake/xxx''. however, you will get another error. Macintosh-2:ironruby-r180 Jirapong$ rake compile mono=2.0 (in /Users/Jirapong/ironruby-r180) ------------------------------------------------------------------------------- dlr_core ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- dlr_core ------------------------------------------------------------------------------- Exception caught by the compiler while compiling: Block that caused the problem begin at: ast/ LambdaExpression.cs(121,38): Block being compiled: [ast/ LambdaExpression.cs(121,72):,ast/LambdaExpression.cs(123,9):] System.NullReferenceException: Object reference not set to an instance of an object Internal compiler error at ast/LambdaExpression.cs(121,38):: exception caught while emitting MethodBuilder [Expression`1::Accept] Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at Mono.CSharp.TypeInferenceContext.FixIndependentTypeArguments (ParameterData methodParameters, System.Boolean& fixed_any) [0x00000] at Mono.CSharp.TypeInferenceV3.InferInPhases (Mono.CSharp.EmitContext ec, Mono.CSharp.TypeInferenceContext tic, ParameterData methodParameters) [0x00000] Hope this helps, -Jirapong On Dec 30, 2008, at 11:46 AM, C. K. Ponnappa wrote:> Hey guys, > > I''m running on OS X 10.5.5 with Mono 2.0 (installed via Ports). I ran > > rake compile mono=1 > > I do have pathname2 installed and am using IronRuby trunk revision > 180. > > I get the following error: > ~/Work/ruby/ironruby$ rake compile mono=1 --trace > (in /Users/schonira/Work/ruby/ironruby) > rake aborted! > no such file to load -- /Users/schonira/Work/ruby/ironruby/rake > \test.rake > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1598:in `load'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1598:in `load'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2413:in > `load_imports'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2356:in > `raw_load_rakefile'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1985:in > `load_rakefile'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in > `standard_exception_handling'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1984:in > `load_rakefile'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1969:in `run'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in > `standard_exception_handling'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/bin/rake:31 > /usr/bin/rake:19:in `load'' > /usr/bin/rake:19 > > Can someone help me out please? > > Thanks! > Sidu. > http://blog.sidu.in > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core
Jim Deville
2008-Dec-30 05:37 UTC
[Ironruby-core] Need help building IronRuby on Mono 2 + OS X
That would be a mistake on my part it looks like. If you switch the "\" in the Rakefile imports with "/", does it work? If so, I''ll make the change and push it out tonight or tomorrow. JD -----Original Message----- From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of C. K. Ponnappa Sent: Monday, December 29, 2008 8:46 PM To: ironruby-core at rubyforge.org Subject: [Ironruby-core] Need help building IronRuby on Mono 2 + OS X Hey guys, I''m running on OS X 10.5.5 with Mono 2.0 (installed via Ports). I ran rake compile mono=1 I do have pathname2 installed and am using IronRuby trunk revision 180. I get the following error: ~/Work/ruby/ironruby$ rake compile mono=1 --trace (in /Users/schonira/Work/ruby/ironruby) rake aborted! no such file to load -- /Users/schonira/Work/ruby/ironruby/rake\test.rake /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1598:in `load'' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1598:in `load'' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2413:in `load_imports'' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2356:in `raw_load_rakefile'' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1985:in `load_rakefile'' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling'' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1984:in `load_rakefile'' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1969:in `run'' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling'' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run'' /Library/Ruby/Gems/1.8/gems/rake-0.8.3/bin/rake:31 /usr/bin/rake:19:in `load'' /usr/bin/rake:19 Can someone help me out please? Thanks! Sidu. http://blog.sidu.in _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core
jirapong.nanta at gmail.com
2008-Dec-30 06:11 UTC
[Ironruby-core] Need help building IronRuby on Mono 2 + OS X
Hi JD, yes. but follow error was throw. Macintosh-2:ironruby Jirapong$ rake compile mono=1 --trace (in /Users/Jirapong/ironruby) ** Invoke compile (first_time) ** Invoke happy (first_time) ** Execute happy ** Invoke clean_build (first_time) ** Invoke happy ** Execute clean_build ** Invoke compile_dlr (first_time) ** Invoke compile_extension_attributes (first_time) ** Invoke clean_build ** Execute compile_extension_attributes ------------------------------------------------------------------------------- dlr_core ------------------------------------------------------------------------------- ** Execute compile_dlr ------------------------------------------------------------------------------- dlr_core ------------------------------------------------------------------------------- Exception caught by the compiler while compiling: Block that caused the problem begin at: ast/ LambdaExpression.cs(121,38): Block being compiled: [ast/ LambdaExpression.cs(121,72):,ast/LambdaExpression.cs(123,9):] System.NullReferenceException: Object reference not set to an instance of an object Internal compiler error at ast/LambdaExpression.cs(121,38):: exception caught while emitting MethodBuilder [Expression`1::Accept] Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at Mono.CSharp.TypeInferenceContext.FixIndependentTypeArguments (ParameterData methodParameters, System.Boolean& fixed_any) [0x00000] at Mono.CSharp.TypeInferenceV3.InferInPhases (Mono.CSharp.EmitContext ec, Mono.CSharp.TypeInferenceContext tic, ParameterData methodParameters) [0x00000] at Mono.CSharp.TypeInferenceV3.InferMethodArguments (Mono.CSharp.EmitContext ec, System.Reflection.MethodBase method) [0x00000] at Mono.CSharp.TypeManager.InferTypeArguments (Mono.CSharp.EmitContext ec, System.Collections.ArrayList arguments, System.Reflection.MethodBase& method) [0x00000] at Mono.CSharp.MethodGroupExpr.IsApplicable (Mono.CSharp.EmitContext ec, System.Collections.ArrayList arguments, Int32 arg_count, System.Reflection.MethodBase& method, System.Boolean& params_expanded_form) [0x00000] at Mono.CSharp.MethodGroupExpr.OverloadResolve (Mono.CSharp.EmitContext ec, System.Collections.ArrayList& Arguments, Boolean may_fail, Location loc) [0x00000] at Mono.CSharp.Invocation.DoResolveOverload (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.Invocation.DoResolve (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec, ResolveFlags flags) [0x00000] at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.Return.DoResolve (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.ExitStatement.Resolve (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.ExplicitBlock.Resolve (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.EmitContext.ResolveTopBlock (Mono.CSharp.EmitContext anonymous_method_host, Mono.CSharp.ToplevelBlock block, Mono.CSharp.Parameters ip, IMethodData md, System.Boolean& unreachable) [0x00000] rake aborted! Command failed with status (1): [gmcs /noconfig @/var/folders/yx/yx- i1r2PFU...] Thank you, -Jirapong On Dec 30, 2008, at 12:37 PM, Jim Deville wrote:> That would be a mistake on my part it looks like. If you switch the > "\" in the Rakefile imports with "/", does it work? If so, I''ll make > the change and push it out tonight or tomorrow. > > JD > > -----Original Message----- > From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org > ] On Behalf Of C. K. Ponnappa > Sent: Monday, December 29, 2008 8:46 PM > To: ironruby-core at rubyforge.org > Subject: [Ironruby-core] Need help building IronRuby on Mono 2 + OS X > > Hey guys, > > I''m running on OS X 10.5.5 with Mono 2.0 (installed via Ports). I ran > > rake compile mono=1 > > I do have pathname2 installed and am using IronRuby trunk revision > 180. > > I get the following error: > ~/Work/ruby/ironruby$ rake compile mono=1 --trace > (in /Users/schonira/Work/ruby/ironruby) > rake aborted! > no such file to load -- /Users/schonira/Work/ruby/ironruby/rake > \test.rake > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1598:in `load'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1598:in `load'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2413:in > `load_imports'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2356:in > `raw_load_rakefile'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1985:in > `load_rakefile'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in > `standard_exception_handling'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1984:in > `load_rakefile'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1969:in `run'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in > `standard_exception_handling'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/bin/rake:31 > /usr/bin/rake:19:in `load'' > /usr/bin/rake:19 > > Can someone help me out please? > > Thanks! > Sidu. > http://blog.sidu.in > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core
Michael Letterle
2008-Dec-30 06:19 UTC
[Ironruby-core] Need help building IronRuby on Mono 2 + OS X
There are some bugs in mono 2.0 that will prevent you from compiling IronRuby, your best bet is to use the SVN trunk, though I believe 2.2 works as well. Also, my github linux branch includes various fixes for linux that may be necessairy for OSX as well. On Tue, Dec 30, 2008 at 1:11 AM, jirapong.nanta at gmail.com < jirapong.nanta at gmail.com> wrote:> Hi JD, > yes. but follow error was throw. > > Macintosh-2:ironruby Jirapong$ rake compile mono=1 --trace > (in /Users/Jirapong/ironruby) > ** Invoke compile (first_time) > ** Invoke happy (first_time) > ** Execute happy > ** Invoke clean_build (first_time) > ** Invoke happy > ** Execute clean_build > ** Invoke compile_dlr (first_time) > ** Invoke compile_extension_attributes (first_time) > ** Invoke clean_build > ** Execute compile_extension_attributes > > ------------------------------------------------------------------------------- > dlr_core > > ------------------------------------------------------------------------------- > ** Execute compile_dlr > > ------------------------------------------------------------------------------- > dlr_core > > ------------------------------------------------------------------------------- > Exception caught by the compiler while compiling: > Block that caused the problem begin at: ast/LambdaExpression.cs(121,38): > Block being compiled: > [ast/LambdaExpression.cs(121,72):,ast/LambdaExpression.cs(123,9):] > System.NullReferenceException: Object reference not set to an instance of > an object > Internal compiler error at ast/LambdaExpression.cs(121,38):: exception > caught while emitting MethodBuilder [Expression`1::Accept] > > Unhandled Exception: System.NullReferenceException: Object reference not > set to an instance of an object > at Mono.CSharp.TypeInferenceContext.FixIndependentTypeArguments > (ParameterData methodParameters, System.Boolean& fixed_any) [0x00000] > at Mono.CSharp.TypeInferenceV3.InferInPhases (Mono.CSharp.EmitContext ec, > Mono.CSharp.TypeInferenceContext tic, ParameterData methodParameters) > [0x00000] > at Mono.CSharp.TypeInferenceV3.InferMethodArguments > (Mono.CSharp.EmitContext ec, System.Reflection.MethodBase method) [0x00000] > at Mono.CSharp.TypeManager.InferTypeArguments (Mono.CSharp.EmitContext ec, > System.Collections.ArrayList arguments, System.Reflection.MethodBase& > method) [0x00000] > at Mono.CSharp.MethodGroupExpr.IsApplicable (Mono.CSharp.EmitContext ec, > System.Collections.ArrayList arguments, Int32 arg_count, > System.Reflection.MethodBase& method, System.Boolean& params_expanded_form) > [0x00000] > at Mono.CSharp.MethodGroupExpr.OverloadResolve (Mono.CSharp.EmitContext > ec, System.Collections.ArrayList& Arguments, Boolean may_fail, Location loc) > [0x00000] > at Mono.CSharp.Invocation.DoResolveOverload (Mono.CSharp.EmitContext ec) > [0x00000] > at Mono.CSharp.Invocation.DoResolve (Mono.CSharp.EmitContext ec) [0x00000] > at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec, > ResolveFlags flags) [0x00000] > at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec) [0x00000] > at Mono.CSharp.Return.DoResolve (Mono.CSharp.EmitContext ec) [0x00000] > at Mono.CSharp.ExitStatement.Resolve (Mono.CSharp.EmitContext ec) > [0x00000] > at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec) [0x00000] > at Mono.CSharp.ExplicitBlock.Resolve (Mono.CSharp.EmitContext ec) > [0x00000] > at Mono.CSharp.EmitContext.ResolveTopBlock (Mono.CSharp.EmitContext > anonymous_method_host, Mono.CSharp.ToplevelBlock block, > Mono.CSharp.Parameters ip, IMethodData md, System.Boolean& unreachable) > [0x00000] > rake aborted! > Command failed with status (1): [gmcs /noconfig > @/var/folders/yx/yx-i1r2PFU...] > > > Thank you, > -Jirapong > > > On Dec 30, 2008, at 12:37 PM, Jim Deville wrote: > > That would be a mistake on my part it looks like. If you switch the "\" in >> the Rakefile imports with "/", does it work? If so, I''ll make the change and >> push it out tonight or tomorrow. >> >> JD >> >> -----Original Message----- >> From: ironruby-core-bounces at rubyforge.org [mailto: >> ironruby-core-bounces at rubyforge.org] On Behalf Of C. K. Ponnappa >> Sent: Monday, December 29, 2008 8:46 PM >> To: ironruby-core at rubyforge.org >> Subject: [Ironruby-core] Need help building IronRuby on Mono 2 + OS X >> >> Hey guys, >> >> I''m running on OS X 10.5.5 with Mono 2.0 (installed via Ports). I ran >> >> rake compile mono=1 >> >> I do have pathname2 installed and am using IronRuby trunk revision 180. >> >> I get the following error: >> ~/Work/ruby/ironruby$ rake compile mono=1 --trace >> (in /Users/schonira/Work/ruby/ironruby) >> rake aborted! >> no such file to load -- /Users/schonira/Work/ruby/ironruby/rake\test.rake >> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1598:in `load'' >> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1598:in `load'' >> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2413:in `load_imports'' >> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2356:in >> `raw_load_rakefile'' >> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1985:in `load_rakefile'' >> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in >> `standard_exception_handling'' >> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1984:in `load_rakefile'' >> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1969:in `run'' >> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in >> `standard_exception_handling'' >> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run'' >> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/bin/rake:31 >> /usr/bin/rake:19:in `load'' >> /usr/bin/rake:19 >> >> Can someone help me out please? >> >> Thanks! >> Sidu. >> http://blog.sidu.in >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core at rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core at rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >-- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081230/da022258/attachment-0001.html>
Michael Letterle
2008-Dec-30 06:21 UTC
[Ironruby-core] Need help building IronRuby on Mono 2 + OS X
as an aside, I noticed that you put 2.0 in the mono variable, the actually value of the mono env variable is immaterial, it just needs to be not nil :) On Tue, Dec 30, 2008 at 12:30 AM, jirapong.nanta at gmail.com < jirapong.nanta at gmail.com> wrote:> Hello Sidu, > > quick fix to open Rakefile then change ''rake\xxx'' to ''rake/xxx''. > > however, you will get another error. > > Macintosh-2:ironruby-r180 Jirapong$ rake compile mono=2.0 > (in /Users/Jirapong/ironruby-r180) > > ------------------------------------------------------------------------------- > dlr_core > > ------------------------------------------------------------------------------- > > ------------------------------------------------------------------------------- > dlr_core > > ------------------------------------------------------------------------------- > Exception caught by the compiler while compiling: > Block that caused the problem begin at: ast/LambdaExpression.cs(121,38): > Block being compiled: > [ast/LambdaExpression.cs(121,72):,ast/LambdaExpression.cs(123,9):] > System.NullReferenceException: Object reference not set to an instance of > an object > Internal compiler error at ast/LambdaExpression.cs(121,38):: exception > caught while emitting MethodBuilder [Expression`1::Accept] > > Unhandled Exception: System.NullReferenceException: Object reference not > set to an instance of an object > at Mono.CSharp.TypeInferenceContext.FixIndependentTypeArguments > (ParameterData methodParameters, System.Boolean& fixed_any) [0x00000] > at Mono.CSharp.TypeInferenceV3.InferInPhases (Mono.CSharp.EmitContext ec, > Mono.CSharp.TypeInferenceContext tic, ParameterData methodParameters) > [0x00000] > > > Hope this helps, > -Jirapong > > > > On Dec 30, 2008, at 11:46 AM, C. K. Ponnappa wrote: > > Hey guys, >> >> I''m running on OS X 10.5.5 with Mono 2.0 (installed via Ports). I ran >> >> rake compile mono=1 >> >> I do have pathname2 installed and am using IronRuby trunk revision 180. >> >> I get the following error: >> ~/Work/ruby/ironruby$ rake compile mono=1 --trace >> (in /Users/schonira/Work/ruby/ironruby) >> rake aborted! >> no such file to load -- /Users/schonira/Work/ruby/ironruby/rake\test.rake >> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1598:in `load'' >> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1598:in `load'' >> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2413:in `load_imports'' >> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2356:in >> `raw_load_rakefile'' >> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1985:in `load_rakefile'' >> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in >> `standard_exception_handling'' >> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1984:in `load_rakefile'' >> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1969:in `run'' >> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in >> `standard_exception_handling'' >> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run'' >> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/bin/rake:31 >> /usr/bin/rake:19:in `load'' >> /usr/bin/rake:19 >> >> Can someone help me out please? >> >> Thanks! >> Sidu. >> http://blog.sidu.in >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core at rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >-- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081230/f7519640/attachment.html>
jirapong.nanta at gmail.com
2008-Dec-30 11:31 UTC
[Ironruby-core] Need help building IronRuby on Mono 2 + OS X
Yes, I install mono by MacPort. going to get mono source to try out. Thank you, -Jirapong On Dec 30, 2008, at 1:19 PM, Michael Letterle wrote:> There are some bugs in mono 2.0 that will prevent you from compiling > IronRuby, your best bet is to use the SVN trunk, though I believe > 2.2 works as well. Also, my github linux branch includes various > fixes for linux that may be necessairy for OSX as well. > > On Tue, Dec 30, 2008 at 1:11 AM, jirapong.nanta at gmail.com <jirapong.nanta at gmail.com > > wrote: > Hi JD, > yes. but follow error was throw. > > Macintosh-2:ironruby Jirapong$ rake compile mono=1 --trace > (in /Users/Jirapong/ironruby) > ** Invoke compile (first_time) > ** Invoke happy (first_time) > ** Execute happy > ** Invoke clean_build (first_time) > ** Invoke happy > ** Execute clean_build > ** Invoke compile_dlr (first_time) > ** Invoke compile_extension_attributes (first_time) > ** Invoke clean_build > ** Execute compile_extension_attributes > ------------------------------------------------------------------------------- > dlr_core > ------------------------------------------------------------------------------- > ** Execute compile_dlr > > ------------------------------------------------------------------------------- > dlr_core > ------------------------------------------------------------------------------- > Exception caught by the compiler while compiling: > Block that caused the problem begin at: ast/ > LambdaExpression.cs(121,38): > Block being compiled: [ast/ > LambdaExpression.cs(121,72):,ast/LambdaExpression.cs(123,9):] > System.NullReferenceException: Object reference not set to an > instance of an object > Internal compiler error at ast/LambdaExpression.cs(121,38):: > exception caught while emitting MethodBuilder [Expression`1::Accept] > > Unhandled Exception: System.NullReferenceException: Object reference > not set to an instance of an object > at Mono.CSharp.TypeInferenceContext.FixIndependentTypeArguments > (ParameterData methodParameters, System.Boolean& fixed_any) [0x00000] > at Mono.CSharp.TypeInferenceV3.InferInPhases > (Mono.CSharp.EmitContext ec, Mono.CSharp.TypeInferenceContext tic, > ParameterData methodParameters) [0x00000] > at Mono.CSharp.TypeInferenceV3.InferMethodArguments > (Mono.CSharp.EmitContext ec, System.Reflection.MethodBase method) > [0x00000] > at Mono.CSharp.TypeManager.InferTypeArguments > (Mono.CSharp.EmitContext ec, System.Collections.ArrayList arguments, > System.Reflection.MethodBase& method) [0x00000] > at Mono.CSharp.MethodGroupExpr.IsApplicable > (Mono.CSharp.EmitContext ec, System.Collections.ArrayList arguments, > Int32 arg_count, System.Reflection.MethodBase& method, > System.Boolean& params_expanded_form) [0x00000] > at Mono.CSharp.MethodGroupExpr.OverloadResolve > (Mono.CSharp.EmitContext ec, System.Collections.ArrayList& > Arguments, Boolean may_fail, Location loc) [0x00000] > at Mono.CSharp.Invocation.DoResolveOverload > (Mono.CSharp.EmitContext ec) [0x00000] > at Mono.CSharp.Invocation.DoResolve (Mono.CSharp.EmitContext ec) > [0x00000] > at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec, > ResolveFlags flags) [0x00000] > at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec) > [0x00000] > at Mono.CSharp.Return.DoResolve (Mono.CSharp.EmitContext ec) > [0x00000] > at Mono.CSharp.ExitStatement.Resolve (Mono.CSharp.EmitContext ec) > [0x00000] > at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec) [0x00000] > at Mono.CSharp.ExplicitBlock.Resolve (Mono.CSharp.EmitContext ec) > [0x00000] > at Mono.CSharp.EmitContext.ResolveTopBlock (Mono.CSharp.EmitContext > anonymous_method_host, Mono.CSharp.ToplevelBlock block, > Mono.CSharp.Parameters ip, IMethodData md, System.Boolean& > unreachable) [0x00000] > rake aborted! > Command failed with status (1): [gmcs /noconfig @/var/folders/yx/yx- > i1r2PFU...] > > > Thank you, > -Jirapong > > > On Dec 30, 2008, at 12:37 PM, Jim Deville wrote: > > That would be a mistake on my part it looks like. If you switch the > "\" in the Rakefile imports with "/", does it work? If so, I''ll make > the change and push it out tonight or tomorrow. > > JD > > -----Original Message----- > From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org > ] On Behalf Of C. K. Ponnappa > Sent: Monday, December 29, 2008 8:46 PM > To: ironruby-core at rubyforge.org > Subject: [Ironruby-core] Need help building IronRuby on Mono 2 + OS X > > Hey guys, > > I''m running on OS X 10.5.5 with Mono 2.0 (installed via Ports). I ran > > rake compile mono=1 > > I do have pathname2 installed and am using IronRuby trunk revision > 180. > > I get the following error: > ~/Work/ruby/ironruby$ rake compile mono=1 --trace > (in /Users/schonira/Work/ruby/ironruby) > rake aborted! > no such file to load -- /Users/schonira/Work/ruby/ironruby/rake > \test.rake > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1598:in `load'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1598:in `load'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2413:in > `load_imports'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2356:in > `raw_load_rakefile'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1985:in > `load_rakefile'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in > `standard_exception_handling'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1984:in > `load_rakefile'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1969:in `run'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in > `standard_exception_handling'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run'' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/bin/rake:31 > /usr/bin/rake:19:in `load'' > /usr/bin/rake:19 > > Can someone help me out please? > > Thanks! > Sidu. > http://blog.sidu.in > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > -- > Michael Letterle > [Polymath Prokrammer] > http://blog.prokrams.com > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081230/0cbafe98/attachment.html>
Ivan Porto Carrero
2008-Dec-30 11:37 UTC
[Ironruby-core] Need help building IronRuby on Mono 2 + OS X
I''ve tried to build from source on OSX too.. with the latest trunk from mono but it won''t compile I get the same error. to make the Rakefile work I had to make 2 minor changes. In Rakefile I had to change the paths to the other rake files from \ to / In rake/misc.rake I had to change line 107 to: commands += (!mono? ? [''svn.exe''] : [''svn''] ) if IronRuby.is_merlin? ? rake compile mono=1 --trace (in /Users/ivan/src/ironruby/merlin/main/Languages/Ruby) ** Invoke compile (first_time) ** Invoke happy (first_time) ** Execute happy ** Invoke clean_build (first_time) ** Invoke happy ** Execute clean_build ** Invoke compile_dlr (first_time) ** Invoke compile_extension_attributes (first_time) ** Invoke clean_build ** Execute compile_extension_attributes ------------------------------------------------------------------------------- dlr_core ------------------------------------------------------------------------------- ** Execute compile_dlr ------------------------------------------------------------------------------- dlr_core ------------------------------------------------------------------------------- Exception caught by the compiler while compiling: Block that caused the problem begin at: Ast/LambdaExpression.cs(121,38): Block being compiled: [Ast/LambdaExpression.cs(121,72):,Ast/LambdaExpression.cs(123,9):] System.NullReferenceException: Object reference not set to an instance of an object Internal compiler error at Ast/LambdaExpression.cs(121,38):: exception caught while emitting MethodBuilder [Expression`1::Accept] Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at Mono.CSharp.TypeInferenceContext.FixIndependentTypeArguments (System.Type[] methodParameters, System.Boolean& fixed_any) [0x00000] at Mono.CSharp.TypeInferenceV3.InferInPhases (Mono.CSharp.EmitContext ec, Mono.CSharp.TypeInferenceContext tic, Mono.CSharp.AParametersCollection methodParameters) [0x00000] at Mono.CSharp.TypeInferenceV3.InferMethodArguments (Mono.CSharp.EmitContext ec, System.Reflection.MethodBase method) [0x00000] at Mono.CSharp.TypeManager.InferTypeArguments (Mono.CSharp.EmitContext ec, System.Collections.ArrayList arguments, System.Reflection.MethodBase& method) [0x00000] at Mono.CSharp.MethodGroupExpr.IsApplicable (Mono.CSharp.EmitContext ec, System.Collections.ArrayList arguments, Int32 arg_count, System.Reflection.MethodBase& method, System.Boolean& params_expanded_form) [0x00000] at Mono.CSharp.MethodGroupExpr.OverloadResolve (Mono.CSharp.EmitContext ec, System.Collections.ArrayList& Arguments, Boolean may_fail, Location loc) [0x00000] at Mono.CSharp.Invocation.DoResolveOverload (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.Invocation.DoResolve (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec, ResolveFlags flags) [0x00000] at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.Return.DoResolve (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.ExitStatement.Resolve (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.ExplicitBlock.Resolve (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.EmitContext.ResolveTopBlock (Mono.CSharp.EmitContext anonymous_method_host, Mono.CSharp.ToplevelBlock block, Mono.CSharp.Parameters ip, IMethodData md, System.Boolean& unreachable) [0x00000] rake aborted! Command failed with status (1): [gmcs /noconfig @/var/folders/-x/-xQjxc2kHg...] /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:971:in `sh'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:984:in `call'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:984:in `sh'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1072:in `sh'' ./context.rb:256:in `exec'' ./context.rb:554:in `compile'' ./context.rb:531:in `chdir'' ./context.rb:531:in `compile'' /Users/ivan/src/ironruby/merlin/main/Languages/Ruby/rake/compile.rake:35 ./context.rb:711:in `instance_eval'' ./context.rb:711:in `source_context'' /Users/ivan/src/ironruby/merlin/main/Languages/Ruby/rake/compile.rake:34 /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `call'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `execute'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `each'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `execute'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:578:in `invoke_with_call_chain'' /opt/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in `invoke_with_call_chain'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:588:in `invoke_prerequisites'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in `each'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in `invoke_prerequisites'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:577:in `invoke_with_call_chain'' /opt/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in `invoke_with_call_chain'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:564:in `invoke'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2019:in `invoke_task'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `top_level'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `each'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `top_level'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1991:in `top_level'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1970:in `run'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31 /opt/local/bin/rake:19:in `load'' /opt/local/bin/rake:19 On Tue, Dec 30, 2008 at 7:21 AM, Michael Letterle < michael.letterle at gmail.com> wrote:> as an aside, I noticed that you put 2.0 in the mono variable, the actually > value of the mono env variable is immaterial, it just needs to be not nil :) > > > On Tue, Dec 30, 2008 at 12:30 AM, jirapong.nanta at gmail.com < > jirapong.nanta at gmail.com> wrote: > >> Hello Sidu, >> >> quick fix to open Rakefile then change ''rake\xxx'' to ''rake/xxx''. >> >> however, you will get another error. >> >> Macintosh-2:ironruby-r180 Jirapong$ rake compile mono=2.0 >> (in /Users/Jirapong/ironruby-r180) >> >> ------------------------------------------------------------------------------- >> dlr_core >> >> ------------------------------------------------------------------------------- >> >> ------------------------------------------------------------------------------- >> dlr_core >> >> ------------------------------------------------------------------------------- >> Exception caught by the compiler while compiling: >> Block that caused the problem begin at: ast/LambdaExpression.cs(121,38): >> Block being compiled: >> [ast/LambdaExpression.cs(121,72):,ast/LambdaExpression.cs(123,9):] >> System.NullReferenceException: Object reference not set to an instance of >> an object >> Internal compiler error at ast/LambdaExpression.cs(121,38):: exception >> caught while emitting MethodBuilder [Expression`1::Accept] >> >> Unhandled Exception: System.NullReferenceException: Object reference not >> set to an instance of an object >> at Mono.CSharp.TypeInferenceContext.FixIndependentTypeArguments >> (ParameterData methodParameters, System.Boolean& fixed_any) [0x00000] >> at Mono.CSharp.TypeInferenceV3.InferInPhases (Mono.CSharp.EmitContext ec, >> Mono.CSharp.TypeInferenceContext tic, ParameterData methodParameters) >> [0x00000] >> >> >> Hope this helps, >> -Jirapong >> >> >> >> On Dec 30, 2008, at 11:46 AM, C. K. Ponnappa wrote: >> >> Hey guys, >>> >>> I''m running on OS X 10.5.5 with Mono 2.0 (installed via Ports). I ran >>> >>> rake compile mono=1 >>> >>> I do have pathname2 installed and am using IronRuby trunk revision 180. >>> >>> I get the following error: >>> ~/Work/ruby/ironruby$ rake compile mono=1 --trace >>> (in /Users/schonira/Work/ruby/ironruby) >>> rake aborted! >>> no such file to load -- /Users/schonira/Work/ruby/ironruby/rake\test.rake >>> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1598:in `load'' >>> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1598:in `load'' >>> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2413:in `load_imports'' >>> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2356:in >>> `raw_load_rakefile'' >>> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1985:in >>> `load_rakefile'' >>> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in >>> `standard_exception_handling'' >>> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1984:in >>> `load_rakefile'' >>> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1969:in `run'' >>> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in >>> `standard_exception_handling'' >>> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run'' >>> /Library/Ruby/Gems/1.8/gems/rake-0.8.3/bin/rake:31 >>> /usr/bin/rake:19:in `load'' >>> /usr/bin/rake:19 >>> >>> Can someone help me out please? >>> >>> Thanks! >>> Sidu. >>> http://blog.sidu.in >>> _______________________________________________ >>> Ironruby-core mailing list >>> Ironruby-core at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/ironruby-core >>> >> >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core at rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> > > > > -- > Michael Letterle > [Polymath Prokrammer] > http://blog.prokrams.com > > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081230/a3b902f8/attachment-0001.html>
Seo Sanghyeon
2008-Dec-30 12:04 UTC
[Ironruby-core] Need help building IronRuby on Mono 2 + OS X
2008/12/30 Ivan Porto Carrero <ivan at flanders.co.nz>:> I''ve tried to build from source on OSX too.. with the latest trunk from mono > but it won''t compile I get the same error.Try the latest patch on http://sparcs.kaist.ac.kr/~tinuviel/download/IronRuby/ (Or equivalently, Michael Letterle''s git tree on github) -- Seo Sanghyeon
Ivan Porto Carrero
2008-Dec-30 13:27 UTC
[Ironruby-core] Need help building IronRuby on Mono 2 + OS X
Ok now that I know what that error message means i went ahead and forked ironruby also. I created a branch called mono and it builds successfully on my mac with mono. I basically applied many of the fixes from seo''s patch but for the git layout and with the sources from 18/12/2008. I think you also have to set the MERLIN_ROOT environment variable if you''re using the git layout. I use a .bashrc file and there I added the line export MERLIN_ROOT=''/Users/ivan/src/ironruby/merlin/main'' To get ironruby from my fork and compile it: git clone git://github.com/casualjim/ironruby.git cd ironruby git checkout -b mono git pull origin mono cd merlin/main/Languages/Ruby rake compile mono=1 I tried using Michael''s branch but it didn''t want to work for me. Thanks Seo, Michael :) On Tue, Dec 30, 2008 at 1:04 PM, Seo Sanghyeon <sanxiyn at gmail.com> wrote:> 2008/12/30 Ivan Porto Carrero <ivan at flanders.co.nz>: > > I''ve tried to build from source on OSX too.. with the latest trunk from > mono > > but it won''t compile I get the same error. > > Try the latest patch on > http://sparcs.kaist.ac.kr/~tinuviel/download/IronRuby/<http://sparcs.kaist.ac.kr/%7Etinuviel/download/IronRuby/> > > (Or equivalently, Michael Letterle''s git tree on github) > > -- > Seo Sanghyeon > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081230/c82f97a1/attachment.html>
Michael Letterle
2008-Dec-30 16:44 UTC
[Ironruby-core] Need help building IronRuby on Mono 2 + OS X
What error did you get with my branch? It''s currently building under Linux so I''m curious what the differences might be with OSX. On Tue, Dec 30, 2008 at 8:27 AM, Ivan Porto Carrero <ivan at flanders.co.nz>wrote:> Ok now that I know what that error message means i went ahead and forked > ironruby also. > I created a branch called mono and it builds successfully on my mac with > mono. > > I basically applied many of the fixes from seo''s patch but for the git > layout and with the sources from 18/12/2008. > > I think you also have to set the MERLIN_ROOT environment variable if you''re > using the git layout. > I use a .bashrc file and there I added the line > export MERLIN_ROOT=''/Users/ivan/src/ironruby/merlin/main'' > > To get ironruby from my fork and compile it: > > git clone git://github.com/casualjim/ironruby.git > cd ironruby > git checkout -b mono > git pull origin mono > cd merlin/main/Languages/Ruby > rake compile mono=1 > > I tried using Michael''s branch but it didn''t want to work for me. > > Thanks Seo, Michael :) > > > On Tue, Dec 30, 2008 at 1:04 PM, Seo Sanghyeon <sanxiyn at gmail.com> wrote: > >> 2008/12/30 Ivan Porto Carrero <ivan at flanders.co.nz>: >> > I''ve tried to build from source on OSX too.. with the latest trunk from >> mono >> > but it won''t compile I get the same error. >> >> Try the latest patch on >> http://sparcs.kaist.ac.kr/~tinuviel/download/IronRuby/<http://sparcs.kaist.ac.kr/%7Etinuviel/download/IronRuby/> >> >> (Or equivalently, Michael Letterle''s git tree on github) >> >> -- >> Seo Sanghyeon >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core at rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081230/81a7f885/attachment.html>
jirapong.nanta at gmail.com
2008-Dec-30 16:58 UTC
[Ironruby-core] Need help building IronRuby on Mono 2 + OS X
try out but get another error. (in /Users/Jirapong/ironruby-jim/merlin/main/Languages/Ruby) ------------------------------------------------------------------------------- dlr_core ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- dlr_core ------------------------------------------------------------------------------- Actions/DynamicObject.cs(411,32): error CS0121: The call is ambiguous between the following methods or properties: `System.Linq.Expressions.Expression.Block(params System.Linq.Expressions.Expression[])'' and ` System .Linq .Expressions .Expression .Block (System .Collections .Generic.IEnumerable<System.Linq.Expressions.ParameterExpression>, params System.Linq.Expressions.Expression[])'' Ast/BlockExpression.cs(568,39): (Location of the symbol related to previous error) Ast/BlockExpression.cs(588,39): (Location of the symbol related to previous error) Actions/DynamicObject.cs(463,32): error CS0121: The call is ambiguous between the following methods or properties: `System.Linq.Expressions.Expression.Block(params System.Linq.Expressions.Expression[])'' and ` System .Linq .Expressions .Expression .Block (System .Collections .Generic.IEnumerable<System.Linq.Expressions.ParameterExpression>, params System.Linq.Expressions.Expression[])'' Ast/BlockExpression.cs(568,39): (Location of the symbol related to previous error) Ast/BlockExpression.cs(588,39): (Location of the symbol related to previous error) Compilation failed: 2 error(s), 0 warnings rake aborted! Command failed with status (1): [gmcs /noconfig @/var/folders/yx/yx- i1r2PFU...] On Dec 30, 2008, at 8:27 PM, Ivan Porto Carrero wrote:> Ok now that I know what that error message means i went ahead and > forked ironruby also. > I created a branch called mono and it builds successfully on my mac > with mono. > > I basically applied many of the fixes from seo''s patch but for the > git layout and with the sources from 18/12/2008. > > I think you also have to set the MERLIN_ROOT environment variable if > you''re using the git layout. > I use a .bashrc file and there I added the line > export MERLIN_ROOT=''/Users/ivan/src/ironruby/merlin/main'' > > To get ironruby from my fork and compile it: > > git clone git://github.com/casualjim/ironruby.git > cd ironruby > git checkout -b mono > git pull origin mono > cd merlin/main/Languages/Ruby > rake compile mono=1 > > I tried using Michael''s branch but it didn''t want to work for me. > > Thanks Seo, Michael :) > > On Tue, Dec 30, 2008 at 1:04 PM, Seo Sanghyeon <sanxiyn at gmail.com> > wrote: > 2008/12/30 Ivan Porto Carrero <ivan at flanders.co.nz>: > > I''ve tried to build from source on OSX too.. with the latest trunk > from mono > > but it won''t compile I get the same error. > > Try the latest patch on > http://sparcs.kaist.ac.kr/~tinuviel/download/IronRuby/ > > (Or equivalently, Michael Letterle''s git tree on github) > > -- > Seo Sanghyeon > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081230/798d3362/attachment.html>
Ivan Porto Carrero
2008-Dec-30 17:06 UTC
[Ironruby-core] Need help building IronRuby on Mono 2 + OS X
The error was my own fault.. just tried it again and it does work now. On Tue, Dec 30, 2008 at 5:44 PM, Michael Letterle < michael.letterle at gmail.com> wrote:> What error did you get with my branch? It''s currently building under Linux > so I''m curious what the differences might be with OSX. > > > On Tue, Dec 30, 2008 at 8:27 AM, Ivan Porto Carrero <ivan at flanders.co.nz>wrote: > >> Ok now that I know what that error message means i went ahead and forked >> ironruby also. >> I created a branch called mono and it builds successfully on my mac with >> mono. >> >> I basically applied many of the fixes from seo''s patch but for the git >> layout and with the sources from 18/12/2008. >> >> I think you also have to set the MERLIN_ROOT environment variable if >> you''re using the git layout. >> I use a .bashrc file and there I added the line >> export MERLIN_ROOT=''/Users/ivan/src/ironruby/merlin/main'' >> >> To get ironruby from my fork and compile it: >> >> git clone git://github.com/casualjim/ironruby.git >> cd ironruby >> git checkout -b mono >> git pull origin mono >> cd merlin/main/Languages/Ruby >> rake compile mono=1 >> >> I tried using Michael''s branch but it didn''t want to work for me. >> >> Thanks Seo, Michael :) >> >> >> On Tue, Dec 30, 2008 at 1:04 PM, Seo Sanghyeon <sanxiyn at gmail.com> wrote: >> >>> 2008/12/30 Ivan Porto Carrero <ivan at flanders.co.nz>: >>> > I''ve tried to build from source on OSX too.. with the latest trunk from >>> mono >>> > but it won''t compile I get the same error. >>> >>> Try the latest patch on >>> http://sparcs.kaist.ac.kr/~tinuviel/download/IronRuby/<http://sparcs.kaist.ac.kr/%7Etinuviel/download/IronRuby/> >>> >>> (Or equivalently, Michael Letterle''s git tree on github) >>> >>> -- >>> Seo Sanghyeon >>> _______________________________________________ >>> Ironruby-core mailing list >>> Ironruby-core at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/ironruby-core >>> >> >> >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core at rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> >> > > > -- > Michael Letterle > [Polymath Prokrammer] > http://blog.prokrams.com > > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081230/aeb58b97/attachment-0001.html>
Ivan Porto Carrero
2008-Dec-30 17:07 UTC
[Ironruby-core] Need help building IronRuby on Mono 2 + OS X
Are you using mono from macports? Maybe it''s better to build it from trunk On Tue, Dec 30, 2008 at 5:58 PM, jirapong.nanta at gmail.com < jirapong.nanta at gmail.com> wrote:> try out but get another error. > (in /Users/Jirapong/ironruby-jim/merlin/main/Languages/Ruby) > > ------------------------------------------------------------------------------- > dlr_core > > ------------------------------------------------------------------------------- > > ------------------------------------------------------------------------------- > dlr_core > > ------------------------------------------------------------------------------- > Actions/DynamicObject.cs(411,32): error CS0121: The call is ambiguous > between the following methods or properties: > `System.Linq.Expressions.Expression.Block(params > System.Linq.Expressions.Expression[])'' and > `System.Linq.Expressions.Expression.Block(System.Collections.Generic.IEnumerable<System.Linq.Expressions.ParameterExpression>, > params System.Linq.Expressions.Expression[])'' > Ast/BlockExpression.cs(568,39): (Location of the symbol related to previous > error) > Ast/BlockExpression.cs(588,39): (Location of the symbol related to previous > error) > Actions/DynamicObject.cs(463,32): error CS0121: The call is ambiguous > between the following methods or properties: > `System.Linq.Expressions.Expression.Block(params > System.Linq.Expressions.Expression[])'' and > `System.Linq.Expressions.Expression.Block(System.Collections.Generic.IEnumerable<System.Linq.Expressions.ParameterExpression>, > params System.Linq.Expressions.Expression[])'' > Ast/BlockExpression.cs(568,39): (Location of the symbol related to previous > error) > Ast/BlockExpression.cs(588,39): (Location of the symbol related to previous > error) > Compilation failed: 2 error(s), 0 warnings > rake aborted! > Command failed with status (1): [gmcs /noconfig > @/var/folders/yx/yx-i1r2PFU...] > > > On Dec 30, 2008, at 8:27 PM, Ivan Porto Carrero wrote: > > Ok now that I know what that error message means i went ahead and forked > ironruby also. > I created a branch called mono and it builds successfully on my mac with > mono. > > I basically applied many of the fixes from seo''s patch but for the git > layout and with the sources from 18/12/2008. > > I think you also have to set the MERLIN_ROOT environment variable if you''re > using the git layout. > I use a .bashrc file and there I added the line > export MERLIN_ROOT=''/Users/ivan/src/ironruby/merlin/main'' > > To get ironruby from my fork and compile it: > > git clone git://github.com/casualjim/ironruby.git > cd ironruby > git checkout -b mono > git pull origin mono > cd merlin/main/Languages/Ruby > rake compile mono=1 > > I tried using Michael''s branch but it didn''t want to work for me. > > Thanks Seo, Michael :) > > On Tue, Dec 30, 2008 at 1:04 PM, Seo Sanghyeon <sanxiyn at gmail.com> wrote: > >> 2008/12/30 Ivan Porto Carrero <ivan at flanders.co.nz>: >> > I''ve tried to build from source on OSX too.. with the latest trunk from >> mono >> > but it won''t compile I get the same error. >> >> Try the latest patch on >> http://sparcs.kaist.ac.kr/~tinuviel/download/IronRuby/<http://sparcs.kaist.ac.kr/%7Etinuviel/download/IronRuby/> >> >> (Or equivalently, Michael Letterle''s git tree on github) >> >> -- >> Seo Sanghyeon >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core at rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081230/9e25cd70/attachment.html>
Jim Deville
2008-Dec-30 22:06 UTC
[Ironruby-core] Need help building IronRuby on Mono 2 + OS X
Just FYI, MERLIN_ROOT will only be needed for a couple more weeks at most. I?m almost finished with some internal repo changes that will allow the git integration stuff to work. Once the git stuff works, we can get rid of all of the SVN stuff, then MERLIN_ROOT won?t be a trigger. JD From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Ivan Porto Carrero Sent: Tuesday, December 30, 2008 9:07 AM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Need help building IronRuby on Mono 2 + OS X The error was my own fault.. just tried it again and it does work now. On Tue, Dec 30, 2008 at 5:44 PM, Michael Letterle <michael.letterle at gmail.com<mailto:michael.letterle at gmail.com>> wrote: What error did you get with my branch? It''s currently building under Linux so I''m curious what the differences might be with OSX. On Tue, Dec 30, 2008 at 8:27 AM, Ivan Porto Carrero <ivan at flanders.co.nz<mailto:ivan at flanders.co.nz>> wrote: Ok now that I know what that error message means i went ahead and forked ironruby also. I created a branch called mono and it builds successfully on my mac with mono. I basically applied many of the fixes from seo''s patch but for the git layout and with the sources from 18/12/2008. I think you also have to set the MERLIN_ROOT environment variable if you''re using the git layout. I use a .bashrc file and there I added the line export MERLIN_ROOT=''/Users/ivan/src/ironruby/merlin/main'' To get ironruby from my fork and compile it: git clone git://github.com/casualjim/ironruby.git<http://github.com/casualjim/ironruby.git> cd ironruby git checkout -b mono git pull origin mono cd merlin/main/Languages/Ruby rake compile mono=1 I tried using Michael''s branch but it didn''t want to work for me. Thanks Seo, Michael :) On Tue, Dec 30, 2008 at 1:04 PM, Seo Sanghyeon <sanxiyn at gmail.com<mailto:sanxiyn at gmail.com>> wrote: 2008/12/30 Ivan Porto Carrero <ivan at flanders.co.nz<mailto:ivan at flanders.co.nz>>:> I''ve tried to build from source on OSX too.. with the latest trunk from mono > but it won''t compile I get the same error.Try the latest patch on http://sparcs.kaist.ac.kr/~tinuviel/download/IronRuby/<http://sparcs.kaist.ac.kr/%7Etinuviel/download/IronRuby/> (Or equivalently, Michael Letterle''s git tree on github) -- Seo Sanghyeon _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20081230/72d71f1f/attachment-0001.html>
C. K. Ponnappa
2008-Dec-31 09:14 UTC
[Ironruby-core] Need help building IronRuby on Mono 2 + OS X
Ok, I switched to building Mono from source instead of through ports - ran into some trouble building mono itself, but I''ll get that sorted out and then try building Ivan''s fork and let you guys know how that goes. And a big thank you to all for helping out so much - it really pushes someone new to IronRuby like me to actually get things working and not simply give up :-) Thanks again and here''s wishing all of you a very happy new year. Best, Sidu. http://blog.sidu.in Ivan Porto Carrero wrote:> Ok now that I know what that error message means i went ahead and > forked ironruby also. > I created a branch called mono and it builds successfully on my mac > with mono. > > I basically applied many of the fixes from seo''s patch but for the git > layout and with the sources from 18/12/2008. > > I think you also have to set the MERLIN_ROOT environment variable if > you''re using the git layout. > I use a .bashrc file and there I added the line > export MERLIN_ROOT=''/Users/ivan/src/ironruby/merlin/main'' > > To get ironruby from my fork and compile it: > > git clone git://github.com/casualjim/ironruby.git > <http://github.com/casualjim/ironruby.git> > cd ironruby > git checkout -b mono > git pull origin mono > cd merlin/main/Languages/Ruby > rake compile mono=1 > > I tried using Michael''s branch but it didn''t want to work for me. > > Thanks Seo, Michael :) > > On Tue, Dec 30, 2008 at 1:04 PM, Seo Sanghyeon <sanxiyn at gmail.com > <mailto:sanxiyn at gmail.com>> wrote: > > 2008/12/30 Ivan Porto Carrero <ivan at flanders.co.nz > <mailto:ivan at flanders.co.nz>>: > > I''ve tried to build from source on OSX too.. with the latest > trunk from mono > > but it won''t compile I get the same error. > > Try the latest patch on > http://sparcs.kaist.ac.kr/~tinuviel/download/IronRuby/ > <http://sparcs.kaist.ac.kr/%7Etinuviel/download/IronRuby/> > > (Or equivalently, Michael Letterle''s git tree on github) > > -- > Seo Sanghyeon > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org <mailto:Ironruby-core at rubyforge.org> > http://rubyforge.org/mailman/listinfo/ironruby-core > > > ------------------------------------------------------------------------ > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >
jirapong.nanta at gmail.com
2008-Dec-31 17:26 UTC
[Ironruby-core] Need help building IronRuby on Mono 2 + OS X
I was able to build with Ivan''s instruction base on mono 2.2 RC1. You can get an installer from http://mono.ximian.com/monobuild/preview/archive/2.2/macos-10-universal/4/MonoFramework-2.2_4.macos10.novell.universal.dmg Hope this helps, -Jirapong On Dec 31, 2008, at 4:14 PM, C. K. Ponnappa wrote:> Ok, I switched to building Mono from source instead of through ports > - ran into some trouble building mono itself, but I''ll get that > sorted out and then try building Ivan''s fork and let you guys know > how that goes. > > And a big thank you to all for helping out so much - it really > pushes someone new to IronRuby like me to actually get things > working and not simply give up :-) > > Thanks again and here''s wishing all of you a very happy new year. > Best, > Sidu. > http://blog.sidu.in > > Ivan Porto Carrero wrote: >> Ok now that I know what that error message means i went ahead and >> forked ironruby also. >> I created a branch called mono and it builds successfully on my mac >> with mono. >> >> I basically applied many of the fixes from seo''s patch but for the >> git layout and with the sources from 18/12/2008. >> I think you also have to set the MERLIN_ROOT environment variable >> if you''re using the git layout. >> I use a .bashrc file and there I added the line >> export MERLIN_ROOT=''/Users/ivan/src/ironruby/merlin/main'' >> >> To get ironruby from my fork and compile it: >> >> git clone git://github.com/casualjim/ironruby.git <http://github.com/casualjim/ironruby.git >> > >> cd ironruby >> git checkout -b mono >> git pull origin mono >> cd merlin/main/Languages/Ruby >> rake compile mono=1 >> >> I tried using Michael''s branch but it didn''t want to work for me. >> >> Thanks Seo, Michael :) >> >> On Tue, Dec 30, 2008 at 1:04 PM, Seo Sanghyeon <sanxiyn at gmail.com <mailto:sanxiyn at gmail.com >> >> wrote: >> >> 2008/12/30 Ivan Porto Carrero <ivan at flanders.co.nz >> <mailto:ivan at flanders.co.nz>>: >> > I''ve tried to build from source on OSX too.. with the latest >> trunk from mono >> > but it won''t compile I get the same error. >> >> Try the latest patch on >> http://sparcs.kaist.ac.kr/~tinuviel/download/IronRuby/ >> <http://sparcs.kaist.ac.kr/%7Etinuviel/download/IronRuby/> >> >> (Or equivalently, Michael Letterle''s git tree on github) >> >> -- >> Seo Sanghyeon >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core at rubyforge.org <mailto:Ironruby-core at rubyforge.org> >> http://rubyforge.org/mailman/listinfo/ironruby-core >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core at rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core