Re: Cannot rake compile rev 78

Can you try rake compile test=true and capture the output and send it
along? This will dump the cmd klines.

  • John
    Sent from my phone

From: Philippe M. [email protected]
Sent: Tuesday, March 18, 2008 9:07 PM
To: [email protected] [email protected]
Subject: Re: [Ironruby-core] Cannot rake compile rev 78

Hi John,

Thanks for the quick post back! I installed Ruby using the One-Click
Installer.
I am not using cygwin.

Philippe

John L. (DLR) wrote:
Is this a cygwin install of CRuby or is it the One Click Installer
version of Ruby?

From:
[email protected]mailto:[email protected]
[mailto:[email protected]] On Behalf Of Philippe
Monnet
Sent: Tuesday, March 18, 2008 8:36 PM
To: IronRuby
Subject: [Ironruby-core] Cannot rake compile rev 78

Although I had been able to compile the original version of IronRuby,
since rev 77 I can no longer build it. After having issues building rev
77, I wiped out my setup and did a fresh new install of rev 78. But I
still cannot build (see below).
I am running on Windows XP, with the .NET framework as well as the .NET
SDK.
What should I do to address this?

Philippe

F:\Dev\DotNet\IronRuby\trunk>rake compile --trace
(in F:/Dev/DotNet/IronRuby/trunk)
** Invoke compile (first_time)
** Invoke happy (first_time)
** Execute happy
** Invoke clean_build (first_time)
** Execute clean_build
** Invoke compile_dlr (first_time)
** Execute compile_dlr
Read in 17 resources from
“F:\Dev\DotNet\IronRuby\trunk\src\microsoft.scripting\Math\MathResources.resx”
Writing resource file… Done.
Read in 49 resources from
“F:\Dev\DotNet\IronRuby\trunk\src\microsoft.scripting\Resources.resx”
Writing resource file… Done.
rake aborted!
Command failed with status (0): [csc /nologo /noconfig
/nowarn:1591,1701,17…]
C:/Program
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:899:in
sh' C:/Program Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:906:in call’
C:/Program
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:906:in
sh' C:/Program Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:985:in sh’
F:/Dev/DotNet/IronRuby/trunk/rakefile:197:in exec' F:/Dev/DotNet/IronRuby/trunk/rakefile:239:in csc’
F:/Dev/DotNet/IronRuby/trunk/rakefile:247:in compile' F:/Dev/DotNet/IronRuby/trunk/rakefile:253:in compile_all’
F:/Dev/DotNet/IronRuby/trunk/rakefile:527
C:/Program
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in
call' C:/Program Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in execute’
C:/Program
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in
each' C:/Program Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in execute’
C:/Program
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in
invoke_with_call_chain' C:/Program Files/ruby-1.8.5/lib/ruby/1.8/thread.rb:135:in synchronize’
C:/Program
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in
invoke_with_call_chain' C:/Program Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:518:in invoke_prerequisites’
C:/Program
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in
each' C:/Program Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in send’
C:/Program
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in
each' C:/Program Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:515:in invoke_prerequisites’
C:/Program
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:507:in
invoke_with_call_chain' C:/Program Files/ruby-1.8.5/lib/ruby/1.8/thread.rb:135:in synchronize’
C:/Program
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in
invoke_with_call_chain' C:/Program Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in invoke’
C:/Program
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in
invoke_task' C:/Program Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in top_level’
C:/Program
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in
each' C:/Program Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in top_level’
C:/Program
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in
standard_exception_handling' C:/Program Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in top_level’
C:/Program
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in
run' C:/Program Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in standard_exception_handling’
C:/Program
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in
run' C:/Program Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31 C:/Program Files/ruby-1.8.5/bin/rake.bat:25:in load’
C:/Program Files/ruby-1.8.5/bin/rake.bat:25


new results file attached

I’m pretty new to Ruby and IronRuby. I was just wondering, why does
Ruby
even need to be installed? I can compile the source for IronRuby just
fine
without Ruby. Unless I had already installed Ruby and forgot. I’m not
at
home so I can’t check.

Anyway, I was under the assumption that IronRuby is independent of
external
libraries/dll’s besides Microsoft Scripting.

Perhaps the source for Ruby itself is included in the IR project ?

On Wed, Mar 19, 2008 at 12:45 AM, Ivan Porto C.
[email protected]

You don’t need Ruby if you’re compiling via Visual Studio or MSBuild.
You DO need an existing Ruby installation if you want to use rake,
since that’s a ruby library that IronRuby can’t run yet. :slight_smile:

On Wed, Mar 19, 2008 at 12:01 PM, Matthew M. [email protected]
wrote:

wrote:

Sent: Tuesday, March 18, 2008 9:07 PM

version of Ruby?

From: [email protected]
cannot build (see below).
** Execute happy
rake aborted!
F:/Dev/DotNet/IronRuby/trunk/rakefile:197:in exec' Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in each’
C:/Program
each' C:/Program each’
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in `run’

http://rubyforge.org/mailman/listinfo/ironruby-core


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


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

On Wed, Mar 19, 2008 at 10:06 AM, Michael L. <
[email protected]> wrote:

You don’t need Ruby if you’re compiling via Visual Studio or MSBuild.

I may be wrong, but I think you do need Ruby. You can’t just compile
the
code you get from SVN. You need to run ‘rake gen’ to generate the other
files first.

You DO need an existing Ruby installation if you want to use rake,

You don’t really need the Rakefile - it’s there for convenience. Rake
gen can be done by running GenerateInitializers.cmd.

From: [email protected]
[mailto:[email protected]] On Behalf Of Mike M.
Sent: Wednesday, March 19, 2008 10:49 AM
To: [email protected]
Subject: Re: [Ironruby-core] Cannot rake compile rev 78

On Wed, Mar 19, 2008 at 10:06 AM, Michael L.
<[email protected]mailto:[email protected]> wrote:
You don’t need Ruby if you’re compiling via Visual Studio or MSBuild.

I may be wrong, but I think you do need Ruby. You can’t just compile
the code you get from SVN. You need to run ‘rake gen’ to generate the
other files first.
You DO need an existing Ruby installation if you want to use rake,
since that’s a ruby library that IronRuby can’t run yet. :slight_smile: