Any remaining "jake" branch build problems?

32 views
Skip to first unread message

Tom Robinson

unread,
Dec 28, 2009, 5:22:21 PM12/28/09
to objec...@googlegroups.com
Is anyone still having problems with installing and building Cappuccino from the "jake" branch on Mac OS X or Linux?

Before you respond, please try running the latest version of bootstrap.sh. It will prompt you about automatically removing existing installations of Narwhal / Cappuccino, which you should do if you're having problems. Also delete your $CAPP_BUILD directory (or the build directory in the checkout if $CAPP_BUILD isn't set)

So the sequence should be:

sudo ./bootstrap.sh (answer yes to everything... but read the prompts just to be sure...)
jake install

When reporting problems please include:

0) exactly what the problem is and when it occurred (fresh build of capp, rebuild of capp, capp gen, compiling an app, loading an app, etc)
1) all of the log messages (post to gist.github.org if they're long)
2) your operating system and version
3) whether you're using narwhal-jsc (currently OS X only)
4) if *not* using narwhal-jsc then the output of "java -version"
5) any other information you think may be relevant

Thank you,

Tom

Tom Robinson

unread,
Dec 28, 2009, 6:11:55 PM12/28/09
to Cappuccino & Objective-J
Sorry, hold off on testing, we accidentally pushed some changes to
Narwhal that might break narwhal-jsc. Stand by.

Thomas Balthazar

unread,
Dec 30, 2009, 4:59:08 AM12/30/09
to objec...@googlegroups.com
Hi,

I tried to build the jake branch after I saw this commit :
http://github.com/280north/cappuccino/commit/409be4020b602d8d15735a103d881713c1f2d72c

I'm on OS X 10.6.2, using narwhal-jsc, I had an older version of the
cappuccino jake branch installed, I've removed the $CAPP_BUILD dir.

Here is my install log :
http://gist.github.com/265948

At the end, there's those 2 lines :
popen error (pipe): Too many open files
popen error (pipe): Too many open files

The capp command hasn't been installed.
Here is the content of my /usr/local/narwhal/bin :
activate activate.cmd js narwhal narwhal.cmd sea.cmd tusk
activate.bash jake json narwhal-jsc sea source-test.sh tusk.cmd

I've then re-run 'jake install', and it now seems to work fine (capp
gen xxx works fine, etc).
Here is the log of the second 'jake install' :
http://gist.github.com/265952

I thought it was a transient problem, so I tried to re-install (rm -Rf
$CAPP_BUILD, sudo ./bootstrap.sh, jake install) and I had the exact
same problem.

Any idea?
Thanks,
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.
>
>
>

rjk

unread,
Dec 30, 2009, 11:41:31 AM12/30/09
to Cappuccino & Objective-J
I've also build the jake branch after the same commit as thomas.
It fails when compiling/linking narwhal-js see this gist with the
error: http://gist.github.com/266166

Running on 10.5.8.

Any idea to overcome this linking err?
Cheers,

Redmar

Andreas

unread,
Jan 1, 2010, 10:47:08 AM1/1/10
to Cappuccino & Objective-J
The bootstrap script fails when updating the tusk catalog saying '/usr/
local/narwhal/.tusk/catalog.json' is missing.

Here's the log:
http://gist.github.com/267142

Running OS X 10.6.2.

Andreas

Nabil Elisa

unread,
Jan 4, 2010, 7:22:55 AM1/4/10
to objec...@googlegroups.com
I also get exactly the same problem as Andreas on OS X 10.6.2 and Ubuntu 9.10.  Any ideas?

Regards
Nabil

luddep

unread,
Jan 4, 2010, 12:06:59 PM1/4/10
to Cappuccino & Objective-J
I've just trashed my narwhal install to start clean, and while trying
to re-install it I've run into the same problems. First I tried
running bootstrap.sh as my user, which fails with: "checkdir: cannot
create extraction directory: /usr/local/narwhal".

If I run it as root, it fails with the same errors as above,
"java.io.FileNotFoundException: /usr/local/narwhal/.tusk/catalog.json
(No such file or directory)".

- Ludwig

> > objectivej+...@googlegroups.com<objectivej%2Bunsubscribe@googlegrou ps.com>

luddep

unread,
Jan 4, 2010, 12:10:24 PM1/4/10
to Cappuccino & Objective-J
Ah, I did not see that running as root was a requirement, I swear I
read somewhere a while back that it wasn't needed. :)

Tom Robinson

unread,
Jan 4, 2010, 5:27:28 PM1/4/10
to objec...@googlegroups.com
We accidentally pushed a broken version to the repo. It should work
now. Let me know if it doesn't.

-tom

Tom Robinson

unread,
Jan 6, 2010, 11:03:29 PM1/6/10
to objec...@googlegroups.com
Just pushed another update to bootstrap.sh etc. Let me know if there
are problems. Thanks.

-tom

Thomas Balthazar

unread,
Jan 7, 2010, 5:26:28 AM1/7/10
to objec...@googlegroups.com
It now works fine for me, thanks.

Thomas.

stephen white

unread,
Jan 7, 2010, 7:06:14 AM1/7/10
to objec...@googlegroups.com
On 07/01/2010, at 2:33 PM, Tom Robinson wrote:
> Just pushed another update to bootstrap.sh etc. Let me know if there
> are problems. Thanks.


Did a full wipe and rebuild, and it works with index.html but I get
ReferenceError: Can't find variable: objj_msgSend_reset on index-
debug.html.

--
st...@adam.com.au


Jeroen Tietema

unread,
Jan 7, 2010, 9:57:38 AM1/7/10
to objec...@googlegroups.com
I'm still having issues. The build goes fine but when I create a
project with capp gen test

I get the following error:
Uncaught TypeError: Cannot read property 'contents' of undefined

It happens right after loading:
/Frameworks/AppKit/Resources/Aristo.blend/W3C.environment/Aristo.blend.sj

Peter Rebholz

unread,
Jan 7, 2010, 11:19:51 AM1/7/10
to objec...@googlegroups.com
What narwhal engine runtime are you running jake/capp on? I noticed
that there are some problems with blend (or whatever tool creates the
Aristo.blend.sj file) when running on the rhino engine. The rhino
Aristo.blend.sj file has LF characters where the file created while
running on narwhal-jsc does not.

If you are using rhino I would try installing narwhal-jsc. The
bootstrap script should ask if you want to do this.

HTH
Peter

Alexander Ljungberg

unread,
Jan 7, 2010, 2:04:44 PM1/7/10
to Cappuccino & Objective-J
The latest bootstrap.sh works fine for me. For jake install I got the
problem Thomas Balthazar had before.

popen error (pipe): Too many open files

This happened the first time I ran jake install. The second time it
worked.

Derek Hammer

unread,
Jan 7, 2010, 2:38:18 PM1/7/10
to objec...@googlegroups.com
I'm sure this is known, but javascriptcore won't install without "make"

> --
> 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.

Reply all
Reply to author
Forward
0 new messages