Jake merge imminent: new features and call to action for help

20 views
Skip to first unread message

Francisco Tolmasky

unread,
Nov 2, 2009, 11:17:47 PM11/2/09
to Cappuccino & Objective-J
We've been working hard the last two days to fix up the last remaining
bugs with the jake branch to get it ready for prime time. We're almost
there and will be merging with master soon, and with it Cappuccino
will be getting a bunch of new features.

BUILDING
First off, building should be more or less exactly the same as before,
except instead of typing "rake <task>" you will now type "jake
<task>". But what if you don't have jake or narwhal? Don't worry,
we've added a bootstrap script which you can run as so:

$ sudo ./bootstrap.sh

This will 1) install narwhal, 2) install jake 3) install and build
narwhal-jsc if you are on a compatible machine (mac os x), 4) set up
your paths (all of these are optional of course). After running this
you should be all set to go. We've left the top level Rakefile in
there which will now just tell you to use jake instead. We've done our
best to make it obvious that this change is taking place, let us know
if there is anything else we can do. Also, MAKE SURE TO REMOVE YOUR
OLD BUILD DIRECTORY!

FEATURES
The jake branch represents not only a new build system, but a slew of
new features supported by it as well:

1. One of the key "features" is that it should build *much* more
quickly if you are running under narwhal-jsc (javascriptcore instead
of java).
2. Spriting: We have implemented a pretty cool new spriting system
based on data urls, we'll be writing a post about it on the website
soon to go into more depth.
3. jake tasks for easier building. The jakefiles included with the
templates should be much more straightforward in helping you build
your projects.
4. Support for distributing Cappuccino frameworks: narwhal has a
package manager named tusk which you can use to add javascript
packages as such:

tusk install <package>

We have written in support for Objective-J, such that you will be able
to do the same to distribute your custom frameworks, such as:

tusk install LPKit

All that is required is placing a built copy up on github. We will
also be writing to the mailing list and a blog post about this soon to
further explain to do this yourself.

HOW YOU CAN HELP
We want to finish this transition and get this all merged ASAP. The
key way of helping us is just going through the motions of
downloading, building, and installing this stuff and making sure there
are no bugs in the building nor the running of all the apps (capp,
nib2cib, etc etc).

The other SUPER important task is that we need to update all our
documentation to reflect this. It would be nice to get the github wiki
updated, as well as any other info people want to put up either on our
site or their own. A screencast would be nice as well ;)

Lastly, I'm sure I've left a lot of info out here (partially on
purpose because people tend to not read long posts and this is already
long). So if you have any questions we can just answer them here.

Anyways, every little bit helps, and here's looking at getting this
thing completed!

Seth Buntin

unread,
Nov 3, 2009, 12:38:50 AM11/3/09
to Cappuccino & Objective-J
Looks like for each jake file I am getting the error:

(in /Users/seth/projects/javascript/cappuccino/Objective-J)
Your copy of jake is out of date (version undefined). Update? yes or
no:

If I press yes it downloads and then goes to the next which presents
me with the same message.

Ross Boucher

unread,
Nov 3, 2009, 12:39:47 AM11/3/09
to objec...@googlegroups.com
Known issue. Fix imminent.

Francisco Tolmasky

unread,
Nov 3, 2009, 12:42:59 AM11/3/09
to Cappuccino & Objective-J
pushed

Tom Robinson

unread,
Nov 3, 2009, 12:50:39 AM11/3/09
to objec...@googlegroups.com
Note that currently you need to set the NARWHAL_ENGINE=jsc environment
variable if you want to use JavaScriptCore.

e.x.:

NARWHAL_ENGINE=jsc jake

This is not on by default since certain things are not yet supported,
such as the "tusk" package manager.

-tom

Francisco Tolmasky

unread,
Nov 3, 2009, 12:52:14 AM11/3/09
to Cappuccino & Objective-J
Hey guys, in case it wasn't clear in my previous post, please do the
full install to get all the tools running on your system:

$ jake install

to use jsc: $ jake NARWHAL_ENGINE=jsc jake install (this will be
automatic in an upcoming change)

Francisco Tolmasky

unread,
Nov 3, 2009, 1:31:20 AM11/3/09
to Cappuccino & Objective-J
Oh, also, the jake branch should fix those unicode bugs as well.

JesusPerez

unread,
Nov 3, 2009, 3:32:39 AM11/3/09
to Cappuccino & Objective-J
Hi:

I wonder if it is good idea to add something to the jake env as
"jake --help" and more important "jake -T " or "jake --taks" perhaps
this can help to know what can be expected from jake in each
directory.

Is the final idea to put NARWHAL_ENGINE=jsc in the user profile or
are you planning to set it somehow for the JakeFiles (common.jake) or
any default the same way we do not need NARWHAL_ENGINE_HOME ?

I found too verbose, for me it is ok but a little more simple could
be fine for others ("echo -n" for some prompts can also help). Finally
in my .bashrc I found "\nexport PATH=..." Do you think we need
"\n" ?

Tools/Install/install-tools does not work. It seems that
$CAPP_NUILD/Release/CommonJS/cappuccino/bin/capp does not work ?????

I hope it helps

Tom Robinson

unread,
Nov 3, 2009, 3:54:51 AM11/3/09
to objec...@googlegroups.com

On Nov 3, 2009, at 12:32 AM, JesusPerez wrote:

>
> Hi:
>
> I wonder if it is good idea to add something to the jake env as
> "jake --help" and more important "jake -T " or "jake --taks" perhaps
> this can help to know what can be expected from jake in each
> directory.

Yes, we should add that. We had it in a previous version but it was
rewritten.

>
> Is the final idea to put NARWHAL_ENGINE=jsc in the user profile or
> are you planning to set it somehow for the JakeFiles (common.jake) or
> any default the same way we do not need NARWHAL_ENGINE_HOME ?

We're working on other ways to make this easier too but in the
meantime you could add "export NARWHAL_ENGINE=jsc" to your shell
config file.

>
> I found too verbose, for me it is ok but a little more simple could
> be fine for others ("echo -n" for some prompts can also help). Finally
> in my .bashrc I found "\nexport PATH=..." Do you think we need
> "\n" ?

I'm not sure why it's putting a literal "\n" in, it should just be a
newline. What operating system / shell are you using?

>
> Tools/Install/install-tools does not work. It seems that
> $CAPP_NUILD/Release/CommonJS/cappuccino/bin/capp does not work ?????

The install-tools script is no longer used. Do "sudo jake install"

Elias

unread,
Nov 3, 2009, 4:27:10 AM11/3/09
to Cappuccino & Objective-J
Good news, I'm looking forward to the spriting features!

E

Thomas Balthazar

unread,
Nov 3, 2009, 11:54:03 AM11/3/09
to Cappuccino & Objective-J
Hi,

I get an error when I run the bootstrap.sh script.
You can see what I exactly did and the error here :
http://gist.github.com/225213

Did I forgot something?

Thanks,
Thomas.

Ross Boucher

unread,
Nov 3, 2009, 12:01:27 PM11/3/09
to objec...@googlegroups.com
Looks like a bug in the script. It's detecting the already installed
version of narwhal on your system, located at:

/usr/local/share/narwhal

and it's placing new things in that location.

The default installation goes to a path without the /share, and line
63 is using that path, rather than the auto-detected path.

Simple fix is to just do:

pushd /usr/local/narwhal/packages/narwhal-jsc && make webkit && popd

Tom will fix the script later today.

Thomas Balthazar

unread,
Nov 3, 2009, 12:45:44 PM11/3/09
to objec...@googlegroups.com
I changed bootstrap.sh at line 61 to this :
http://gist.github.com/225267

Then re-run sudo bootstrap.sh and get this output :
http://gist.github.com/225275

Not sure what to do. Maybe wait for Tom's fix?

Thomas Balthazar

unread,
Nov 3, 2009, 1:05:35 PM11/3/09
to objec...@googlegroups.com
Ok, it was a PATH problem.
Now, when I run jake install, I get this :
http://gist.github.com/225289

I guess my install is screwed-up ... :-/

I'll try again when Tom fixes the script.

Ross Boucher

unread,
Nov 3, 2009, 1:10:56 PM11/3/09
to objec...@googlegroups.com
I recommend trashing your copy of narwhal. It appears to be really
old. Then you can just run the script.

sant0sk1

unread,
Nov 3, 2009, 5:22:05 PM11/3/09
to Cappuccino & Objective-J
Just wanted to report that bootstrap.sh worked peachy for me.

I was disappointed when I ran: "sudo NARHWAL_ENGINE=jsc jake install"

and the result was: "Build took 8 minutes 23 seconds"

Then I realized that NARHWAL_ENGINE != NARWHAL_ENGINE

the second time (with corrected spelling): "Build took 2 minutes 58
seconds"

Nice!

Does jake ignore the CAPP_BUILD env variable? The new build process
left everything in "Build/" instead of copying it to my CAPP_BUILD
path like the old rake task did.

On Nov 3, 12:10 pm, Ross Boucher <rbouc...@gmail.com> wrote:
> I recommend trashing your copy of narwhal. It appears to be really  
> old. Then you can just run the script.
>
> On Nov 3, 2009, at 10:05 AM, Thomas Balthazar wrote:
>
>
>
>
>
> > Ok, it was a PATH problem.
> > Now, when I run jake install, I get this :
> >http://gist.github.com/225289
>
> > I guess my install is screwed-up ... :-/
>
> > I'll try again when Tom fixes the script.
>
> > On Tue, Nov 3, 2009 at 6:45 PM, Thomas Balthazar <gro...@suitmymind.com
> > > wrote:
> >> I changed bootstrap.sh at line 61 to this :
> >>http://gist.github.com/225267
>
> >> Then re-run sudo bootstrap.sh and get this output :
> >>http://gist.github.com/225275
>
> >> Not sure what to do. Maybe wait for Tom's fix?
>
> >> On Tue, Nov 3, 2009 at 6:01 PM, Ross Boucher <rbouc...@gmail.com>  

Thomas Balthazar

unread,
Nov 4, 2009, 2:36:15 AM11/4/09
to objec...@googlegroups.com
Hi,

So it worked for me.
I had to trash my old narwhal install, then run sudo bootstrap.sh and
sudo jake install.

I first ran jake install (without sudo) and it didn't work.
Tom helped me to figure it out on IRC, thanks.

Thomas.

Thomas Balthazar

unread,
Nov 4, 2009, 4:08:39 AM11/4/09
to objec...@googlegroups.com
Hey,

I wrote a post about building the jake branch :
http://suitmymind.com/blog/2009/11/04/cappuccino-building-the-jake-branch/

Your feedback is welcome. I'll update the post accordingly, and I'll
use it as a reference for the next Cappuccino Cast.

Thanks!
Thomas.

Jeroen Tietema | Voidwalkers

unread,
Nov 4, 2009, 5:31:42 AM11/4/09
to objec...@googlegroups.com
I've tried building the jake branch but run into a couple of problems.

The build seems to complete fine (without the narwhal-jsc) but when I
run capp afterwards I get:

require error: couldn't find "OS"


When I build with the (export NARWHAL_ENGINE=jsc) it also completes
fine, but capp gives me the following error:

which: invalid option -- 's'
which: no narwhal-jsc in
(/usr/local/narwhal/bin:/home/jeroen/bin:/bin:/usr/bin:/sbin:/usr/sbin:/opt/java/bin:/opt/java/jre/bin:/opt/kde/bin:/opt/panda3d/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/opt/qt/bin:/home/jeroen/bin:/usr/local/bin:/usr/local/share/narwhal/bin/:/home/jeroen/bin:/usr/local/bin:/usr/local/share/narwhal/bin/:/home/jeroen/bin:/usr/local/bin:/usr/local/share/narwhal/bin/:/home/jeroen/bin:/usr/local/bin:/usr/local/share/narwhal/bin/)
Can't find executable for jsc

I did run the bootstrap.


Last issue I have (and also had with Rake in master) is that
generating the documumentation (jake docs) fails with:

Generating XML output for the main page
Error: failed to rename debug.txt to Documentation/debug.txt

Commenting the line mv("debug.txt", FILE.join("Documentation",
"debug.txt")); fixes this.


About the capp errors: Did I forget something? I followed the
instructions of the Thomas, but still seem to be missing something (OS
package or narwhal-jsc).

Jeroen

sas

unread,
Nov 4, 2009, 7:14:08 AM11/4/09
to Cappuccino & Objective-J
Thomas,

thanks for your post - it nicely summarizes the info in various
places :)

One remark:

export NARWHAL_ENGINE=jsc
sudo jake install

will most likely not run with jsc, because the environment is not
automatically inherited. (It isn't on my OSX.) You might want to use

sudo -E jake install

or

sudo NARWHAL_ENGINE=jsc jake install

-sas

On Nov 4, 10:08 am, Thomas Balthazar <gro...@suitmymind.com> wrote:
> Hey,
>
> I wrote a post about building the jake branch :http://suitmymind.com/blog/2009/11/04/cappuccino-building-the-jake-br...
>
> Your feedback is welcome. I'll update the post accordingly, and I'll
> use it as a reference for the next Cappuccino Cast.
>
> Thanks!
> Thomas.
>
>
>
> On Wed, Nov 4, 2009 at 8:36 AM, Thomas Balthazar <gro...@suitmymind.com> wrote:
> > Hi,
>
> > So it worked for me.
> > I had to trash my old narwhal install, then run sudo bootstrap.sh and
> > sudo jake install.
>
> > I first ran jake install (without sudo) and it didn't work.
> > Tom helped me to figure it out on IRC, thanks.
>
> > Thomas.
>
> > On Tue, Nov 3, 2009 at 7:10 PM, Ross Boucher <rbouc...@gmail.com> wrote:
>
> >> I recommend trashing your copy of narwhal. It appears to be really
> >> old. Then you can just run the script.
>
> >> On Nov 3, 2009, at 10:05 AM, Thomas Balthazar wrote:
>
> >>> Ok, it was a PATH problem.
> >>> Now, when I run jake install, I get this :
> >>>http://gist.github.com/225289
>
> >>> I guess my install is screwed-up ... :-/
>
> >>> I'll try again when Tom fixes the script.
>
> >>> On Tue, Nov 3, 2009 at 6:45 PM, Thomas Balthazar <gro...@suitmymind.com
> >>> > wrote:
> >>>> I changed bootstrap.sh at line 61 to this :
> >>>>http://gist.github.com/225267
>
> >>>> Then re-run sudo bootstrap.sh and get this output :
> >>>>http://gist.github.com/225275
>
> >>>> Not sure what to do. Maybe wait for Tom's fix?
>
> >>>> On Tue, Nov 3, 2009 at 6:01 PM, Ross Boucher <rbouc...@gmail.com>

Thomas Balthazar

unread,
Nov 4, 2009, 7:29:46 AM11/4/09
to Cappuccino & Objective-J
Hi Sas,

Thanks for your remark, that's interesting.

If I do :
$ echo $NARWHAL_ENGINE
I get : jsc

If I do :
$ sudo echo $NARWHAL_ENGINE
I also get : jsc

Doesn't it mean that this environment variable has been inherited?
Thomas.

sas

unread,
Nov 4, 2009, 7:35:08 AM11/4/09
to Cappuccino & Objective-J
$NARWHAL_ENGINE will be expanded before sudo is called (by your parent
shell). At least that's what I see. For a more reliable test, run

sudo printenv | grep jsc

That returns blank for me.

Cheers,
Sven

Thomas Balthazar

unread,
Nov 4, 2009, 7:38:21 AM11/4/09
to objec...@googlegroups.com
Sven,

Well spotted, thanks!
I'll make some tests and update the post this afternoon.

Thomas.

sas

unread,
Nov 4, 2009, 7:39:44 AM11/4/09
to Cappuccino & Objective-J
Following your instructions I get:

[thebe:~] sas% which capp
/usr/local/narwhal/bin/capp
[thebe:~] sas% capp gen test
TypeError: Result of expression '(((bundle.info)._buckets
["CPBundleReplacedFiles"]))._buckets' [undefined] is not an object.

I didn't notice any obvious build errors. The narwhal downloaded seems
to be: tlrobinson-narwhal-1d0ef46

Should that version be working?

Thanks,
Sven

On Nov 4, 10:08 am, Thomas Balthazar <gro...@suitmymind.com> wrote:
> Hey,
>
> I wrote a post about building the jake branch :http://suitmymind.com/blog/2009/11/04/cappuccino-building-the-jake-br...
>
> Your feedback is welcome. I'll update the post accordingly, and I'll
> use it as a reference for the next Cappuccino Cast.
>
> Thanks!
> Thomas.
>
>
>
> On Wed, Nov 4, 2009 at 8:36 AM, Thomas Balthazar <gro...@suitmymind.com> wrote:
> > Hi,
>
> > So it worked for me.
> > I had to trash my old narwhal install, then run sudo bootstrap.sh and
> > sudo jake install.
>
> > I first ran jake install (without sudo) and it didn't work.
> > Tom helped me to figure it out on IRC, thanks.
>
> > Thomas.
>
> > On Tue, Nov 3, 2009 at 7:10 PM, Ross Boucher <rbouc...@gmail.com> wrote:
>
> >> I recommend trashing your copy of narwhal. It appears to be really
> >> old. Then you can just run the script.
>
> >> On Nov 3, 2009, at 10:05 AM, Thomas Balthazar wrote:
>
> >>> Ok, it was a PATH problem.
> >>> Now, when I run jake install, I get this :
> >>>http://gist.github.com/225289
>
> >>> I guess my install is screwed-up ... :-/
>
> >>> I'll try again when Tom fixes the script.
>
> >>> On Tue, Nov 3, 2009 at 6:45 PM, Thomas Balthazar <gro...@suitmymind.com
> >>> > wrote:
> >>>> I changed bootstrap.sh at line 61 to this :
> >>>>http://gist.github.com/225267
>
> >>>> Then re-run sudo bootstrap.sh and get this output :
> >>>>http://gist.github.com/225275
>
> >>>> Not sure what to do. Maybe wait for Tom's fix?
>
> >>>> On Tue, Nov 3, 2009 at 6:01 PM, Ross Boucher <rbouc...@gmail.com>

Thomas Balthazar

unread,
Nov 4, 2009, 9:11:36 AM11/4/09
to objec...@googlegroups.com
Hi Sven,

I really don't know why you get this error.

Thomas.

Thomas Balthazar

unread,
Nov 4, 2009, 9:17:57 AM11/4/09
to objec...@googlegroups.com
Hi,

I've updated the post thanks to some feedback and some more experimentation :
http://suitmymind.com/blog/2009/11/04/cappuccino-building-the-jake-branch/

Sven spotted that if you set an environment variable in your .profile
and then run a script (jake) with sudo, this environment variable is
not known by the script unless you call it with the -E flag (sudo -E
jake install).

If your CAPP_BUILD directory is empty after you run sudo jake install
(with the previous instruction), then try again with sudo -E jake
install (as explained here :
http://suitmymind.com/blog/2009/11/04/cappuccino-building-the-jake-branch/)

I hope my explanation is correct, feel free to chime in if you have
some remarks.

Thanks,
Thomas.

kenji Maillard

unread,
Nov 4, 2009, 10:55:24 AM11/4/09
to objec...@googlegroups.com
It seems it runs pretty well with the -E option. I just have some errors that doesn't seems to be fatal :


[...]
(in /Developer/Cappuccino/cappuccino)
(in /Developer/Cappuccino/cappuccino/Objective-J)
<stdin>:576:26: warning: missing terminating " character
<stdin>:840:26: warning: missing terminating " character
<stdin>:841:22: warning: missing terminating " character
<stdin>:576:26: warning: missing terminating " character
<stdin>:840:26: warning: missing terminating " character
<stdin>:841:22: warning: missing terminating " character
Build took 126 millseconds
(in /Developer/Cappuccino/cappuccino/CommonJS)
Build took 30 millseconds
(in /Developer/Cappuccino/cappuccino/Foundation)
DIRECTORY IN COMMON IS Resources
[000:028] MagicCam 0: Current process: narwhal-jsc, Flash is loaded: no
[000:028] Error(magiccammac.cc:276): MagicCam 0: MagicCamOpen: Not an allowed process!
[000:002] MagicCam 0: Current process: narwhal-jsc, Flash is loaded: no
[000:002] Error(magiccammac.cc:276): MagicCam 0: MagicCamOpen: Not an allowed process!
[000:000] MagicCam 1: Current process: narwhal-jsc, Flash is loaded: no
[000:000] Error(magiccammac.cc:276): MagicCam 1: MagicCamOpen: Not an allowed process!
[000:002] MagicCam 1: Current process: narwhal-jsc, Flash is loaded: no
[000:002] Error(magiccammac.cc:276): MagicCam 1: MagicCamOpen: Not an allowed process!
[...]

Demian Turner

unread,
Nov 4, 2009, 9:13:02 AM11/4/09
to objec...@googlegroups.com
Hi Thomas

> I wrote a post about building the jake branch :
> http://suitmymind.com/blog/2009/11/04/cappuccino-building-the-jake-branch/
>
> Your feedback is welcome. I'll update the post accordingly, and I'll
> use it as a reference for the next Cappuccino Cast.


For me the install worked perfectly, thanks for documenting it. The
only strange thing, as noted in the comments to your blog post, is
that the build is done in cappuccino/Build rather than $CAPP_BUILD

Is that right?
--
Demian Turner
Seagull Systems Ltd, http://seagullsystems.com

Sort out your life with Doris!
http://beta.dorisapp.com/

sas

unread,
Nov 4, 2009, 12:00:40 PM11/4/09
to Cappuccino & Objective-J
Well, you know, sometimes it helps following your own advice and run
the install as

sudo -E jake install

:P

I had run it as

sudo NARWHAL_ENGINE=jsc jake install

thinking that would achieve the same thing but I only just realized
that CAPP_BUILD was also not set for root and that's what broke my
install. Now capp works.

-sas

Thomas Balthazar

unread,
Nov 6, 2009, 10:14:22 AM11/6/09
to Cappuccino & Objective-J
Hi,

Cédric Luthi reports that 'sudo -E' is not available on Mac OS X
10.5.8, see his comment :
http://suitmymind.com/blog/2009/11/04/cappuccino-building-the-jake-branch/#comment-21943461

Does anyone have an idea how to get around this?

Thanks,
Thomas.

Demian Turner

unread,
Nov 6, 2009, 1:12:42 PM11/6/09
to objec...@googlegroups.com

On 6 Nov 2009, at 15:14, Nov06, Thomas Balthazar wrote:

> Cédric Luthi reports that 'sudo -E' is not available on Mac OS X


I posted the same comment to this list but the mail never made it
through. Also wondering if anyone has a workaround.

cheers

Jérôme Denanot

unread,
Nov 6, 2009, 1:22:48 PM11/6/09
to objec...@googlegroups.com
sas said abobe :

sudo NARWHAL_ENGINE=jsc jake install

Will make a check then because I'm on 10.5.8 ;-)

2009/11/6 Thomas Balthazar <gro...@suitmymind.com>

sas

unread,
Nov 6, 2009, 3:57:14 PM11/6/09
to Cappuccino & Objective-J
Don't forget CAPP_BUILD like I did when I ran with NARWHAL_ENGINE only
and missed the install path. Use:

sudo NARWHAL_ENGINE=$NARWHAL_ENGINE CAPP_BUILD=$CAPP_BUILD jake
install

(assuming NARWHAL_ENGINE and CAPP_BUILD are set in the parent shell
obviously.)

-sas

On Nov 6, 7:22 pm, Jérôme Denanot <jdena...@gmail.com> wrote:
> sas said abobe :
>
> sudo NARWHAL_ENGINE=jsc jake install
>
> Will make a check then because I'm on 10.5.8 ;-)
>
> 2009/11/6 Thomas Balthazar <gro...@suitmymind.com>
>
>
>
>
>
> > Hi,
>
> > Cédric Luthi reports that 'sudo -E' is not available on Mac OS X
> > 10.5.8, see his comment :
>
> >http://suitmymind.com/blog/2009/11/04/cappuccino-building-the-jake-br...

Jérôme Denanot

unread,
Nov 6, 2009, 6:15:50 PM11/6/09
to objec...@googlegroups.com
After sudo ./bootstrap.sh  I get :
./bootstrap.sh: line 63: pushd: /usr/local/narwhal/packages/narwhal-jsc: No such file or directory

Then following with sudo NARWHAL_ENGINE=$NARWHAL_ENGINE CAPP_BUILD=$CAPP_BUILD jake install
leads to :
sudo: NARWHAL_ENGINE=jsc: command not found

Do we have to install Narwhal manually ?

Jérôme Denanot

unread,
Nov 6, 2009, 6:20:37 PM11/6/09
to objec...@googlegroups.com
Found these instructions from Francisco about installing Narwhal in "Press and Bake with Jake" thread :

$ cd narwhal-jsc
$ make webkit
>wait<
$ source bin/source-test.sh
>narwhal will now run on top of JSC instead of Java Rhino<
$ cd wherever/cappuccino/is
$ jake


2009/11/7 Jérôme Denanot <jden...@gmail.com>

Jérôme Denanot

unread,
Nov 6, 2009, 6:27:52 PM11/6/09
to objec...@googlegroups.com
Doesn't work :
--> Initialized empty Git repository in /Users/jerden/narwhal-jsc/.git/
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?

and same message whith :  git clone http://github.com/tlrobinson/narwhal narwhal


2009/11/7 Jérôme Denanot <jden...@gmail.com>

Jérôme Denanot

unread,
Nov 6, 2009, 6:57:26 PM11/6/09
to objec...@googlegroups.com
git clone http://github.com/tlrobinson/narwhal-jsc.git narwhal-jsc   worked (I forgot .git)

However nothing displayed when running source bin/source-test.sh  after make webkit completes (seemed ok).
Then does not seem installed, and /usr/local/narwhal/packages/narwhal-jsc: not found

2009/11/7 Jérôme Denanot <jden...@gmail.com>

Robert Malko

unread,
Nov 8, 2009, 12:37:58 PM11/8/09
to Cappuccino & Objective-J
I'm getting an error following the install instructions.

http://gist.github.com/229392

It looks like my build just hangs on compiling towards the end. Have
tried a few times to repeat the steps in the instructions but not
having any luck. On Leopard

On Nov 6, 6:57 pm, Jérôme Denanot <jdena...@gmail.com> wrote:
> git clonehttp://github.com/tlrobinson/narwhal-jsc.gitnarwhal-jsc   worked
> (I forgot .git)
>
> However nothing displayed when running source bin/source-test.sh  after make
> webkit completes (seemed ok).
> Then does not seem installed, and /usr/local/narwhal/packages/narwhal-jsc:
> not found
>
> 2009/11/7 Jérôme Denanot <jdena...@gmail.com>
>
>
>
> > Doesn't work :
>
> > git clonehttp://github.com/tlrobinson/narwhal-jscnarwhal-jsc
> > --> Initialized empty Git repository in /Users/jerden/narwhal-jsc/.git/
> > Cannot get remote repository information.
> > Perhaps git-update-server-info needs to be run there?
>
> > and same message whith :  git clonehttp://github.com/tlrobinson/narwhalnarwhal
>
> > 2009/11/7 Jérôme Denanot <jdena...@gmail.com>
>
> >> Found these instructions from Francisco about installing Narwhal in "Press
> >> and Bake with Jake" thread :
>
> >> $ git clonehttp://github.com/tlrobinson/narwhal-jscnarwhal-jsc
> >> $ cd narwhal-jsc
> >> $ make webkit
> >> >wait<
> >> $ source bin/source-test.sh
> >> >narwhal will now run on top of JSC instead of Java Rhino<
> >> $ cd wherever/cappuccino/is
> >> $ jake
>
> >> 2009/11/7 Jérôme Denanot <jdena...@gmail.com>
>
> >>  After sudo ./bootstrap.sh  I get :
> >>> ./bootstrap.sh: line 63: pushd: /usr/local/narwhal/packages/narwhal-jsc:
> >>> No such file or directory
>
> >>> Then following with sudo NARWHAL_ENGINE=$NARWHAL_ENGINE
> >>> CAPP_BUILD=$CAPP_BUILD jake install
> >>> leads to :
> >>> sudo: NARWHAL_ENGINE=jsc: command not found
>
> >>> Do we have to install Narwhal manually ?
>
> >>> 2009/11/6 sas <sven.a.schm...@googlemail.com>
> ...
>
> read more »

stephen white

unread,
Nov 8, 2009, 12:57:51 PM11/8/09
to objec...@googlegroups.com
On 09/11/2009, at 4:07 AM, Robert Malko wrote:
> http://gist.github.com/229392
>
> It looks like my build just hangs on compiling towards the end. Have
> tried a few times to repeat the steps in the instructions but not
> having any luck. On Leopard


This is the identical error I reported about 30 seconds ago. :)

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


Robert Malko

unread,
Nov 8, 2009, 1:00:09 PM11/8/09
to Cappuccino & Objective-J
maybe somebody else can chime in :)

Jérôme Denanot

unread,
Nov 11, 2009, 7:27:06 AM11/11/09
to objec...@googlegroups.com
Just to be assured the thread is up when the team gets back from js conf ;-)

So would be pleased to know if Jake has to be installed manually (and how) before running bootstrap.sh, and if somebody could make another try on PPC on Leopard.

thanks,

2009/11/8 Robert Malko <robm...@gmail.com>
Reply all
Reply to author
Forward
0 new messages