# Can't build after updating r94

**URL:** <https://www.ruby-forum.com/t/cant-build-after-updating-r94/135560>\
**Category:** IronRuby\
**Created:** [April 23, 2008, 6:12am UTC](https://www.ruby-forum.com/t/cant-build-after-updating-r94/135560 "2008-04-23T06:12:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![headius](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/7c8e57/32.png) [@headius](https://www.ruby-forum.com/u/headius)\
**Post date:** [April 23, 2008, 6:12am UTC](https://www.ruby-forum.com/t/cant-build-after-updating-r94/135560/1 "2008-04-23T06:12:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![headius](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/7c8e57/32.png) [@headius](https://www.ruby-forum.com/u/headius)\
**Post date:** [April 23, 2008, 6:29am UTC](https://www.ruby-forum.com/t/cant-build-after-updating-r94/135560/2 "2008-04-23T06:29:41Z")

</div>

2008/4/23, Charles Oliver N. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> 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.

---

<div class="post-metadata">

**Author:** ![headius](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/7c8e57/32.png) [@headius](https://www.ruby-forum.com/u/headius)\
**Post date:** [April 23, 2008, 6:57am UTC](https://www.ruby-forum.com/t/cant-build-after-updating-r94/135560/3 "2008-04-23T06:57:14Z")

</div>

Sanghyeon S. wrote:

> 2008/4/23, Charles Oliver N. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):
> 
> > 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

---

<div class="post-metadata">

**Author:** ![headius](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/7c8e57/32.png) [@headius](https://www.ruby-forum.com/u/headius)\
**Post date:** [April 23, 2008, 3:09pm UTC](https://www.ruby-forum.com/t/cant-build-after-updating-r94/135560/4 "2008-04-23T15:09:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![headius](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/7c8e57/32.png) [@headius](https://www.ruby-forum.com/u/headius)\
**Post date:** [April 23, 2008, 3:14pm UTC](https://www.ruby-forum.com/t/cant-build-after-updating-r94/135560/5 "2008-04-23T15:14:41Z")

</div>

I think it’s likely, judging by this topic:  
[http://www.ruby-forum.com/topic/150570](http://www.ruby-forum.com/topic/150570)

On Wed, Apr 23, 2008 at 9:07 AM, Charles Oliver N.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > [http://sparcs.kaist.ac.kr/~tinuviel/download/IronRuby/](http://sparcs.kaist.ac.kr/~tinuviel/download/IronRuby/)
> 
> * * *
> 
> Ironruby-core mailing list  
> removed\_email\_address@domain.invalid  
> [http://rubyforge.org/mailman/listinfo/ironruby-core](http://rubyforge.org/mailman/listinfo/ironruby-core)

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

---

<div class="post-metadata">

**Author:** ![headius](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/7c8e57/32.png) [@headius](https://www.ruby-forum.com/u/headius)\
**Post date:** [April 23, 2008, 12:25pm UTC](https://www.ruby-forum.com/t/cant-build-after-updating-r94/135560/6 "2008-04-23T12:25:28Z")

</div>

2008/4/23, Charles Oliver N. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> ./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/](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.
