Ruby Forum IronRuby > Re: Cannot rake compile rev 78

Posted by John Lam (DLR) (Guest)
on 19.03.2008 05:37
(Received via mailing list)
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 Monnet <ironruby@monnet-usa.com>
Sent: Tuesday, March 18, 2008 9:07 PM
To: ironruby-core@rubyforge.org <ironruby-core@rubyforge.org>
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 Lam (DLR) wrote:
Is this a cygwin install of CRuby or is it the One Click Installer 
version of Ruby?



From: 
ironruby-core-bounces@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org> 
[mailto:ironruby-core-bounces@rubyforge.org] 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



________________________________
Posted by Ivan Porto carrero (casualjim)
on 19.03.2008 05:46
Attachment: results.txt (19 KB)
(Received via mailing list)
new results file attached
Posted by Matthew Miller (Guest)
on 19.03.2008 17:03
(Received via mailing list)
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 Carrero 
<ivan@flanders.co.nz>
Posted by Michael Letterle (Guest)
on 19.03.2008 17:08
(Received via mailing list)
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. :)

On Wed, Mar 19, 2008 at 12:01 PM, Matthew Miller <podunk.vn@gmail.com> 
wrote:
>
> wrote:
> > > Sent: Tuesday, March 18, 2008 9:07 PM
> > >
> version of Ruby?
> > > From: ironruby-core-bounces@rubyforge.org
> 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
>  Ironruby-core@rubyforge.org
>  http://rubyforge.org/mailman/listinfo/ironruby-core
>
>



--
Michael Letterle
[Polymath Prokrammer]
http://blog.prokrams.com
Posted by Mike Moore (Guest)
on 19.03.2008 18:50
(Received via mailing list)
On Wed, Mar 19, 2008 at 10:06 AM, Michael Letterle <
michael.letterle@gmail.com> 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,
Posted by John Lam (DLR) (Guest)
on 19.03.2008 19:28
(Received via mailing list)
You don't really need the Rakefile - it's there for convenience. Rake 
gen can be done by running GenerateInitializers.cmd.

From: ironruby-core-bounces@rubyforge.org 
[mailto:ironruby-core-bounces@rubyforge.org] On Behalf Of Mike Moore
Sent: Wednesday, March 19, 2008 10:49 AM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Cannot rake compile rev 78

On Wed, Mar 19, 2008 at 10:06 AM, Michael Letterle 
<michael.letterle@gmail.com<mailto:michael.letterle@gmail.com>> 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. :)