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:insh’
/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:insh’
/Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake.rb:985:in sh' ./context.rb:183:inexec’
./context.rb:447:in compile' ./context.rb:432:inchdir’
./context.rb:432:in compile' /Users/headius/NetBeansProjects/ironruby/rakefile:137 ./context.rb:578:ininstance_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:incall’
/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:ineach’
/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:ininvoke_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:ininvoke_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:ineach’
/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:ineach’
/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:ininvoke_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:ininvoke_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:ininvoke_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:ineach’
/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:instandard_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:inrun’
/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:inrun’
/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 N. [email protected]:

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.

Sanghyeon S. wrote:

2008/4/23, Charles Oliver N. [email protected]:

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 staticMain’ 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: Action2’ is an
ambiguous reference between System.Action2’ and
Microsoft.Scripting.Utils.Action2’
/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: Action2’ is an
ambiguous reference between System.Action2’ and
Microsoft.Scripting.Utils.Action2’
/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

Sanghyeon S. wrote:

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 N.
[email protected] wrote:

http://sparcs.kaist.ac.kr/~tinuviel/download/IronRuby/


Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core


Michael L.
[Polymath Prokrammer]
http://blog.prokrams.com

2008/4/23, Charles Oliver N. [email protected]:

./Compiler/Parser/Parser.cs(51,17): error CS0104: Action2’ is an
ambiguous reference between System.Action2’ and
Microsoft.Scripting.Utils.Action2’

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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs