Failed to "rake install"

20 views
Skip to first unread message

ksamdev

unread,
Dec 14, 2009, 7:09:28 PM12/14/09
to Cappuccino & Objective-J
I just installed ruby 1.9.1p376, gem 1.3.1

Gems installed:

plist (3.0.0)
rake (0.8.7)

I did setup CAPP_BUILD
running "rake install" failed with message:

(in /path/Applications/cappuccino/capp_source)
/path/Applications/gemrepository/gems/plist-3.0.0/lib/plist/
generator.rb:163: warning: else without rescue is useless
rake aborted!
/path/Applications/gemrepository/gems/plist-3.0.0/lib/plist/
generator.rb:158: syntax error, unexpected tLABEL
when String, Symbol: 'string'
^
/path/Applications/gemrepository/gems/plist-3.0.0/lib/plist/
generator.rb:159: syntax error, unexpected keyword_when, expecting
keyword_end
when Fixnum, Bignum, Integer: 'integer'
^
/path/Applications/gemrepository/gems/plist-3.0.0/lib/plist/
generator.rb:159: dynamic constant assignment
when Fixnum, Bignum, Integer: 'integer'
^
/path/Applications/gemrepository/gems/plist-3.0.0/lib/plist/
generator.rb:159: dynamic constant assignment
when Fixnum, Bignum, Integer: 'integer'
^
/path/Applications/gemrepository/gems/plist-3.0.0/lib/plist/
generator.rb:159: syntax error, unexpected tLABEL, expecting '='
when Fixnum, Bignum, Integer: 'integer'
^
/path/Applications/gemrepository/gems/plist-3.0.0/lib/plist/
generator.rb:160: syntax error, unexpected keyword_when, expecting
keyword_end
when Float: 'real'
^
/path/Applications/gemrepository/gems/plist-3.0.0/lib/plist/
generator.rb:209: syntax error, unexpected keyword_end, expecting $end
/path/Applications/cappuccino/capp_source/Rakefile:3:in `require'
(See full trace by running task with --trace)

Any thoughts?

Thomas Balthazar

unread,
Dec 15, 2009, 3:04:44 AM12/15/09
to objec...@googlegroups.com
Hi,

The jake branch will soon be merged into the master branch.
It means that the install procedure will change. You'll have to use
jake instead of rake ...

So I suggest you give the jake branch a try.
Some instructions here :
http://suitmymind.com/blog/2009/11/04/cappuccino-building-the-jake-branch/

Thomas.
> --
>
> You received this message because you are subscribed to the Google Groups "Cappuccino & Objective-J" group.
> To post to this group, send email to objec...@googlegroups.com.
> To unsubscribe from this group, send email to objectivej+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/objectivej?hl=en.
>
>
>

samdev

unread,
Dec 15, 2009, 8:46:53 AM12/15/09
to objec...@googlegroups.com
Thanks for the instructions. They are nicely written.
The environment I work in is so that I can not install any software as a super user. Thus everything goes into my local folder ~/Application including JAKE.

`jake install` produces error (see below). Any ideas how to fix it?

Compiling [CommonJS] BKShowcaseController.j...
Compiling [CommonJS] BKThemeDescriptor.j...
Compiling [CommonJS] BKThemeTemplate.j...
Compiling [CommonJS] BKThemedObjectTemplate.j...
Compiling [CommonJS] BlendKit.j...
Creating static file... /path/Applications/cappuccino/capp_build/Release/BlendKit/CommonJS.environment/BlendKit.sj
Build took 7 seconds
(in /path/Applications/cappuccino/capp_source/AppKit/Themes/CommonJS)
Build took 995 millseconds
(in /path/Applications/cappuccino/capp_source/AppKit/Themes/Aristo)
ReferenceError: "blend" is not defined.
org.mozilla.javascript.EcmaError: ReferenceError: "blend" is not defined. (/path/Applications/cappuccino/capp_source/AppKit/Themes/Aristo/Jakefile#5)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3659)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3637)
at org.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3722)
at org.mozilla.javascript.ScriptRuntime.nameOrFunction(ScriptRuntime.java:1759)
at org.mozilla.javascript.ScriptRuntime.getNameFunctionAndThis(ScriptRuntime.java:2136)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1492)
at script(/path/Applications/cappuccino/capp_source/AppKit/Themes/Aristo/Jakefile:5)
at script(/path/Applications/cappuccino/narwhal/lib/sandbox.js:250)
at script(/path/Applications/cappuccino/narwhal/packages/jake/lib/jake/application.js:525)
at script(/path/Applications/cappuccino/narwhal/packages/jake/lib/jake/application.js:128)
at script(/path/Applications/cappuccino/narwhal/packages/jake/lib/jake/application.js:73)
at script(/path/Applications/cappuccino/narwhal/packages/jake/bin/jake:5)
at script(/path/Applications/cappuccino/narwhal/lib/sandbox.js:250)
at script(narwhal.js:204)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:845)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
at org.mozilla.javascript.gen._uscms_home_samvel_Applications_cappuccino_narwhal_engines_rhino_bootstrap_js_1._c_anonymous_1(Unknown Source)
at org.mozilla.javascript.gen._uscms_home_samvel_Applications_cappuccino_narwhal_engines_rhino_bootstrap_js_1.call(Unknown Source)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
at org.mozilla.javascript.gen._uscms_home_samvel_Applications_cappuccino_narwhal_engines_rhino_bootstrap_js_1._c_script_0(Unknown Source)
at org.mozilla.javascript.gen._uscms_home_samvel_Applications_cappuccino_narwhal_engines_rhino_bootstrap_js_1.call(Unknown Source)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:405)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3066)
at org.mozilla.javascript.gen._uscms_home_samvel_Applications_cappuccino_narwhal_engines_rhino_bootstrap_js_1.call(Unknown Source)
at org.mozilla.javascript.gen._uscms_home_samvel_Applications_cappuccino_narwhal_engines_rhino_bootstrap_js_1.exec(Unknown Source)
at org.mozilla.javascript.tools.shell.Main.evaluateScript(Main.java:563)
at org.mozilla.javascript.tools.shell.Main.processFileSecure(Main.java:485)
at org.mozilla.javascript.tools.shell.Main.processFile(Main.java:451)
at org.mozilla.javascript.tools.shell.Main.processSource(Main.java:443)
at org.mozilla.javascript.tools.shell.Main.processFiles(Main.java:196)
at org.mozilla.javascript.tools.shell.Main$IProxy.run(Main.java:117)
at org.mozilla.javascript.Context.call(Context.java:517)
at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:514)
at org.mozilla.javascript.tools.shell.Main.exec(Main.java:179)
at org.mozilla.javascript.tools.shell.Main.main(Main.java:157)

kenji Maillard

unread,
Dec 15, 2009, 10:37:31 AM12/15/09
to objec...@googlegroups.com
The same issue goes for me (I tried with and without jsc, with the latest version and the previous one (AB-8)). I'm on mac OS X 10.6.2.

Kyo

samdev

unread,
Dec 15, 2009, 10:39:39 AM12/15/09
to objec...@googlegroups.com
I am on Linux.

Any help is very appreciated.

On Dec 15, 2009, at 9:37 AM, kenji Maillard wrote:

The same issue goes for me (I tried with and without jsc, with the latest version and the previous one (AB-8)). I'm on mac OS X 10.6.2.

Kyo

Reply all
Reply to author
Forward
0 new messages