Charles Oliver Nutter
2008-Apr-23 03:51 UTC
[Ironruby-core] Can''t build after updating r94
I know absolutely nothing about the build process, mono, or how this stuff is wired together, but I can''t get it to build today. ~/NetBeansProjects/ironruby ? rake --trace compile mono=1 (in /Users/headius/NetBeansProjects/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 clean_build ** Execute compile_dlr Read in 33 resources from ''/users/headius/netbeansprojects/ironruby/src/microsoft.scripting.core/Microsoft.Scripting.txt'' Writing resource file... Done. ./shell/BasicConsole.cs(25,33): error CS0246: The type or namespace name `IConsole'' could not be found. Are you missing a using directive or an assembly reference? Compilation failed: 1 error(s), 0 warnings rake aborted! Command failed with status (1): [gmcs /out:"/users/headius/netbeansprojects...] /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:899:in `sh'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:906:in `call'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:906:in `sh'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:985:in `sh'' ./context.rb:183:in `exec'' ./context.rb:447:in `compile'' ./context.rb:432:in `chdir'' ./context.rb:432:in `compile'' /Users/headius/NetBeansProjects/ironruby/rakefile:137 ./context.rb:578:in `instance_eval'' ./context.rb:578:in `source_context'' /Users/headius/NetBeansProjects/ironruby/rakefile:135 /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `call'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `execute'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in `invoke_with_call_chain'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `synchronize'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `invoke_with_call_chain'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:518:in `invoke_prerequisites'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `each'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `send'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `each'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:515:in `invoke_prerequisites'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:507:in `invoke_with_call_chain'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `synchronize'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `invoke_with_call_chain'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in `invoke'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in `invoke_task'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `each'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in `top_level'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in `run'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in `run'' /Library/Ruby/Gems/1.8/gems/rake-0.8.1/bin/rake:31 /usr/bin/rake:19:in `load'' /usr/bin/rake:19 - Charlie
2008/4/23, Charles Oliver Nutter <charles.nutter at sun.com>:> I know absolutely nothing about the build process, mono, or how this > stuff is wired together, but I can''t get it to build today. > > ./shell/BasicConsole.cs(25,33): error CS0246: The type or namespace name > `IConsole'' could not be found. Are you missing a using directive or an > assembly reference?Just delete the file. -- Seo Sanghyeon
Charles Oliver Nutter
2008-Apr-23 04:56 UTC
[Ironruby-core] Can''t build after updating r94
Sanghyeon Seo wrote:> 2008/4/23, Charles Oliver Nutter <charles.nutter at sun.com>: >> I know absolutely nothing about the build process, mono, or how this >> stuff is wired together, but I can''t get it to build today. >> >> ./shell/BasicConsole.cs(25,33): error CS0246: The type or namespace name >> `IConsole'' could not be found. Are you missing a using directive or an >> assembly reference? > > Just delete the file.Thanks...deleted it, and then SuperConsole.cs complains. Delete that, and ConsoleHost.cs complains. Delete that, and Program.cs complains. Delete that, and it doesn''t appear IronRuby can start up: error CS5001: Program `/users/headius/netbeansprojects/ironruby/build/mono_debug/rbx.exe'' does not contain a static `Main'' method suitable for an entry point But deleting nothing, rake clean_build, and svn revert seems to get me to a different error: ** Execute compile_ruby ./Compiler/Parser/Parser.cs(51,17): error CS0104: `Action`2'' is an ambiguous reference between `System.Action`2'' and `Microsoft.Scripting.Utils.Action`2'' /Library/Frameworks/Mono.framework/Versions/1.9/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll (Location of the symbol related to previous error) /Users/headius/NetBeansProjects/ironruby/build/mono_debug/Microsoft.Scripting.Core.dll (Location of the symbol related to previous error) ./Compiler/Parser/Parser.cs(74,16): error CS0104: `Action`2'' is an ambiguous reference between `System.Action`2'' and `Microsoft.Scripting.Utils.Action`2'' /Library/Frameworks/Mono.framework/Versions/1.9/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll (Location of the symbol related to previous error) /Users/headius/NetBeansProjects/ironruby/build/mono_debug/Microsoft.Scripting.Core.dll (Location of the symbol related to previous error) Is clean simply not cleaning like it''s supposed to? Or what? - Charlie
2008/4/23, Charles Oliver Nutter <charles.nutter at sun.com>:> ./Compiler/Parser/Parser.cs(51,17): error CS0104: `Action`2'' is an > ambiguous reference between `System.Action`2'' and > `Microsoft.Scripting.Utils.Action`2''System.Action collision is a different problem, but the same problem was there in r93 too. The solution is to add "swithces :all, ''noconfig''" in the correct place. I posted a patch here: http://sparcs.kaist.ac.kr/~tinuviel/download/IronRuby/ I replied "delete the file" because one change between r93 and r94 was that microsoft.scipring.core/shell moved to microsoft.scripting/hosting/shell. I assumed that you had a leftover. -- Seo Sanghyeon
Charles Oliver Nutter
2008-Apr-23 13:07 UTC
[Ironruby-core] Can''t build after updating r94
Sanghyeon Seo wrote:> 2008/4/23, Charles Oliver Nutter <charles.nutter at sun.com>: >> ./Compiler/Parser/Parser.cs(51,17): error CS0104: `Action`2'' is an >> ambiguous reference between `System.Action`2'' and >> `Microsoft.Scripting.Utils.Action`2'' > > System.Action collision is a different problem, but the same problem > was there in r93 too. The solution is to add "swithces :all, > ''noconfig''" in the correct place. I posted a patch here: > > http://sparcs.kaist.ac.kr/~tinuviel/download/IronRuby/ > > I replied "delete the file" because one change between r93 and r94 was > that microsoft.scipring.core/shell moved to > microsoft.scripting/hosting/shell. I assumed that you had a leftover.Ahh, I had forgotten about the patch, ultimately reverted when I could not get deleting to work. Is that going to get included any time soon? - Charlie
I think it''s likely, judging by this topic: http://www.ruby-forum.com/topic/150570 On Wed, Apr 23, 2008 at 9:07 AM, Charles Oliver Nutter <charles.nutter at sun.com> wrote:> Sanghyeon Seo wrote: > > 2008/4/23, Charles Oliver Nutter <charles.nutter at sun.com>: > >> ./Compiler/Parser/Parser.cs(51,17): error CS0104: `Action`2'' is an > >> ambiguous reference between `System.Action`2'' and > >> `Microsoft.Scripting.Utils.Action`2'' > > > > System.Action collision is a different problem, but the same problem > > was there in r93 too. The solution is to add "swithces :all, > > ''noconfig''" in the correct place. I posted a patch here: > > > > http://sparcs.kaist.ac.kr/~tinuviel/download/IronRuby/ > > > > I replied "delete the file" because one change between r93 and r94 was > > that microsoft.scipring.core/shell moved to > > microsoft.scripting/hosting/shell. I assumed that you had a leftover. > > Ahh, I had forgotten about the patch, ultimately reverted when I could > not get deleting to work. Is that going to get included any time soon? > > - Charlie > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >-- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com