Cappuccino 0.9.5 build on Linux fails (TypeError: framework is not a function, it is undefined.)

120 views
Skip to first unread message

Torsten Luettgert

unread,
Feb 29, 2012, 6:24:03 AM2/29/12
to Cappuccino & Objective-J Development List
Hi there,

when I'm trying to build cappuccino 0.9.5 on linux (Fedora 16, Java VM
1.6.29), it fails in the release build. I'm attaching a type script of
the whole matter, but here's a summary:

cd /ENDA/lib
rm -fr cappuccino narwhal cappuccino-build
export PATH="/bin:/usr/bin:/ENDA/lib/narwhal/bin"
git clone git://github.com/cappuccino/cappuccino.git
cd cappuccino
git checkout v0.9.5
sh ./bootstrap.sh --directory /ENDA/lib/narwhal --noprompt
export CAPP_BUILD="/ENDA/lib/cappuccino/Build"
export NARWHAL_ENGINE=rhino
jake clobber

=> everything fine until here!

jake install

=> a few times the warning

setupEnvironment warning: TypeError: Cannot call method "push" of
undefined

then

TypeError: framework is not a function, it is undefined.

which I traced back to Foundation/Jakefile, line 25:
var framework = require("objective-j/jake").framework;

then I got lost in narwhal's logic for `require'. Oddly enough, the
exact same sequence of commands works fine on a Mac with OSX Lion;
there, it works with both jsc and rhino engines. If I copy the result
directories back to linux and try to `jake install', the error appears
again.

This is Fedora Linux 16, with Oracle's Java HotSpot engine 1.6.0_29. No
CLASSPATH is set.

The attached type script is original, I just removed the ANSI color
sequences for better readability.

Hoping for help,
Torsten

cappuccino-linux-fail.txt

Torsten Luettgert

unread,
Feb 29, 2012, 8:40:37 AM2/29/12
to objecti...@googlegroups.com
On Wed, 29 Feb 2012 12:24:03 +0100
Torsten Luettgert <ml-obje...@enda.eu> wrote:

> when I'm trying to build cappuccino 0.9.5 on linux (Fedora 16, Java VM
> 1.6.29), it fails in the release build. I'm attaching a type script of

> the whole matter, but here's a summary [...]

please disregard this message. I noticed it didn't happen on HEAD, so I
`git bisect'ed the problem and found commit 23c9c6b... by Neer
Friedman that solves the problem.

Regards,
Torsten

Reply all
Reply to author
Forward
0 new messages