librelist archives

« back to archive

rake failure issue

rake failure issue

From:
Kvetch
Date:
2010-12-03 @ 21:54
Hello,

I am trying to install Shoes on a WinXP 32bit with the intent on being
able to create an exe but I keep running into a rake error.  I have
tried following the instructions on
https://github.com/shoes/shoes/wiki/Building-Shoes-on-Windows
https://github.com/ashbb/shoes_hack_note/blob/master/md/hack019.md
http://www.holymonkey.com/building-shoes-in-windows
and I tried version 2 Raisins but Raisins doesn't seem to want to
create an exe.  It just hangs.  I was able to create an exe once but
have not been able to since.

Below is the error I get on my final rake step.  I also tried
(C:\rubyinstaller>rake interpreter:shoes:compile with and without the
VIDEO).
Any suggestions would be appreciative?
Thanks,
Nick

C:\rubyinstaller>rake interpreter:shoes:compile
.......
cp ../mingw/bin/libiconv2.dll dist/
cp dist/zlib1.dll dist/zlib.dll
cp ../deps_cairo_1.8.10/deps_cairo_1.8.10.zip dist/
cp ../deps_cairo_1.8.10/deps_vlc_0.8.zip dist/
bash.exe --login -i -c "strip -x dist/*.dll"
cp -r fonts dist/fonts
cp -r lib dist/lib
cp -r samples dist/samples
cp -r static dist/static
cp README dist/README.txt
rake aborted!
No such file or directory - README
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/fileutils.rb:1265:in `initialize'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/fileutils.rb:1265:in `copy_stream'

C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/fileutils.rb:1265:in `block in cop
y_file'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/fileutils.rb:1264:in `open'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/fileutils.rb:1264:in `copy_file'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/fileutils.rb:471:in `copy_file'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/fileutils.rb:392:in `block in cp'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/fileutils.rb:1396:in `block in fu_
each_src_dest'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/fileutils.rb:1412:in `fu_each_src_
dest0'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/fileutils.rb:1394:in `fu_each_src_
dest'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/fileutils.rb:391:in `cp'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/rake.rb:1065:in `cp'
C:/rubyinstaller/sandbox/shoes/make/make.rb:22:in `copy_files_to_dist'
C:/rubyinstaller/sandbox/shoes/Rakefile:93:in `block in <top (required)>'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/rake.rb:613:in `call'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/rake.rb:613:in `block in execute'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/rake.rb:608:in `each'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/rake.rb:608:in `execute'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/rake.rb:574:in `block in invoke_wi
th_call_chain'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/monitor.rb:190:in `mon_synchronize
'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/rake.rb:567:in `invoke_with_call_c
hain'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/rake.rb:584:in `block in invoke_pr
erequisites'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/rake.rb:581:in `each'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/rake.rb:581:in `invoke_prerequisit
es'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/rake.rb:573:in `block in invoke_wi
th_call_chain'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/monitor.rb:190:in `mon_synchronize
'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/rake.rb:567:in `invoke_with_call_c
hain'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/rake.rb:560:in `invoke'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/rake.rb:2012:in `invoke_task'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/rake.rb:1990:in `block (2 levels)
in top_level'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/rake.rb:1990:in `each'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/rake.rb:1990:in `block in top_leve
l'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/rake.rb:2029:in `standard_exceptio
n_handling'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/rake.rb:1984:in `top_level'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/rake.rb:1963:in `block in run'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/rake.rb:2029:in `standard_exceptio
n_handling'
C:/rubyinstaller/sandbox/mingw/lib/ruby/1.9.1/rake.rb:1960:in `run'
C:/rubyinstaller/sandbox/mingw/bin/rake:31:in `<main>'
rake aborted!
Command failed with status (1): ["C:/rubyinstaller/sandbox/msys/bin/bash.ex...]
C:/Ruby191/lib/ruby/1.9.1/rake.rb:968:in `block in sh'
C:/Ruby191/lib/ruby/1.9.1/rake.rb:981:in `call'
C:/Ruby191/lib/ruby/1.9.1/rake.rb:981:in `sh'
C:/Ruby191/lib/ruby/1.9.1/rake.rb:1065:in `sh'
C:/rubyinstaller/recipes/compiler/msys.rake:40:in `msys_sh'
C:/rubyinstaller/recipes/shoes/shoes.rake:24:in `block (4 levels) in <top (requi
red)>'
C:/Ruby191/lib/ruby/1.9.1/fileutils.rb:121:in `chdir'
C:/Ruby191/lib/ruby/1.9.1/fileutils.rb:121:in `cd'
C:/Ruby191/lib/ruby/1.9.1/rake.rb:1065:in `cd'
C:/rubyinstaller/recipes/shoes/shoes.rake:23:in `block (3 levels) in <top (requi
red)>'
C:/Ruby191/lib/ruby/1.9.1/rake.rb:613:in `call'
C:/Ruby191/lib/ruby/1.9.1/rake.rb:613:in `block in execute'
C:/Ruby191/lib/ruby/1.9.1/rake.rb:608:in `each'
C:/Ruby191/lib/ruby/1.9.1/rake.rb:608:in `execute'
C:/Ruby191/lib/ruby/1.9.1/rake.rb:574:in `block in invoke_with_call_chain'
C:/Ruby191/lib/ruby/1.9.1/monitor.rb:190:in `mon_synchronize'
C:/Ruby191/lib/ruby/1.9.1/rake.rb:567:in `invoke_with_call_chain'
C:/Ruby191/lib/ruby/1.9.1/rake.rb:560:in `invoke'
C:/Ruby191/lib/ruby/1.9.1/rake.rb:2012:in `invoke_task'
C:/Ruby191/lib/ruby/1.9.1/rake.rb:1990:in `block (2 levels) in top_level'
C:/Ruby191/lib/ruby/1.9.1/rake.rb:1990:in `each'
C:/Ruby191/lib/ruby/1.9.1/rake.rb:1990:in `block in top_level'
C:/Ruby191/lib/ruby/1.9.1/rake.rb:2029:in `standard_exception_handling'
C:/Ruby191/lib/ruby/1.9.1/rake.rb:1984:in `top_level'
C:/Ruby191/lib/ruby/1.9.1/rake.rb:1963:in `block in run'
C:/Ruby191/lib/ruby/1.9.1/rake.rb:2029:in `standard_exception_handling'
C:/Ruby191/lib/ruby/1.9.1/rake.rb:1960:in `run'
C:/Ruby191/bin/rake:31:in `<main>'

C:\rubyinstaller>

Re: [shoes] rake failure issue

From:
Steve Klabnik
Date:
2010-12-03 @ 23:31
Uuuuuugh. I thought we had a patch in to change this....

The issue is that we took the readme and made it go from text to markdown.

Change line 22 of make/make.rb to be this:

    cp    "README.md", "dist/README.txt"

and you should be good.

Re: [shoes] rake failure issue

From:
Kvetch
Date:
2010-12-06 @ 18:52
Thanks guys.  It compiled fine with the change.  I appreciate the quick help.

Nick

On Fri, Dec 3, 2010 at 6:31 PM, Steve Klabnik <steve@steveklabnik.com> wrote:
> Uuuuuugh. I thought we had a patch in to change this....
> The issue is that we took the readme and made it go from text to markdown.
> Change line 22 of make/make.rb to be this:
>     cp    "README.md", "dist/README.txt"
> and you should be good.

Re: [shoes] rake failure issue

From:
Cecil Coupe
Date:
2010-12-03 @ 22:25
I'm guessing there might be a Windows issue. Perhaps it should be
'README.' ? You can fix it in the rakefile (or just comment out the line
in the rakefile.

On Fri, 2010-12-03 at 16:54 -0500, Kvetch wrote:
> cp README dist/README.txt
> rake aborted!