problems with installing narwhal-jsc package

26 views
Skip to first unread message

Alexander Kovalev

unread,
Aug 3, 2010, 9:44:51 AM8/3/10
to Narwhal and Jack
Hello!

I decided to install narwhal-jsc package because JSC seems to be much
faster than Rhino.
I have performed the following commands

$ tusk install narwhal-jsc
$ cd packages/narwhal-jsc
$ make

and got the following error

cd deps/http-parser && make http_parser.o
ragel -s -G2 http_parser.rl -o http_parser.c
make[1]: ragel: No such file or directory
make[1]: *** [http_parser.c] Error 1
make: *** [deps/http-parser/http_parser.o] Error 2

what may be the reason of this error?

make clean + make all doesn't help

Any suggestions on solving this problem is highly appreciated.
I really like the idea of Narwhal and the opportunities it provides
developer with. Jake build tool is great but it looks rather slowly

thank you,
Alexander

Tom Robinson

unread,
Aug 3, 2010, 1:02:04 PM8/3/10
to Narwhal and Jack
Hmm, the ragel output is included in the source tree so it shouldn't
be trying to rebuild it unless you deleted it (which "make clean" will
do)

Try "git checkout deps" from within the narwhal-jsc package and
rebuilding (DON'T do "make clean")

-tom

On Aug 3, 6:44 am, Alexander Kovalev <weneedyourmo...@gmail.com>
wrote:

Alexander Kovalev

unread,
Aug 4, 2010, 6:56:10 AM8/4/10
to Narwhal and Jack
The solution you've suggested resulted in the following

$ git checkout deps
error: pathspec 'packages/narwhal-jsc/deps' did not match any file(s)
known to git.

Looks like ragel wasn't included in the source at all.
I have removed narwhal-jsc package, installed it once again. But the
result is the same: make[1]: ragel: No such file or directory.

tusk is downloading package from this url - http://github.com/280north/narwhal-jsc/zipball/master
may be this information will tell you something

Tom Robinson

unread,
Aug 13, 2010, 6:55:08 PM8/13/10
to narw...@googlegroups.com
Oh, yeah you don't have a git checkout of the repo. Try removing the package, doing "tusk clone narwhal-jsc" (instead of "tusk install". They're almost the same except it uses git to get the package) and building.

--
You received this message because you are subscribed to the Google Groups "Narwhal and Jack" group.
To post to this group, send email to narw...@googlegroups.com.
To unsubscribe from this group, send email to narwhaljs+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/narwhaljs?hl=en.


Reply all
Reply to author
Forward
0 new messages