Just do:   make clean rel<div><br></div><div>The rel Makefile target has the all target as a dependency and it seems that a few directories in the riak/apps/erlang_js getting handled quite properly.</div><div><br></div><div>
--Ryan<br><br><div class="gmail_quote">On Fri, Feb 12, 2010 at 11:57 AM, Dan Young <span dir="ltr"><<a href="mailto:danoyoung@gmail.com">danoyoung@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
hg clone <a href="http://hg.basho.com/riak/" target="_blank">http://hg.basho.com/riak/</a><br>
cd riak<br>
make all rel<br>
<br>
Now I'm getting:<br>
<br>
<br>
<br>
....<br>
....<br>
<div class="im">Compiling c_src/spidermonkey.c<br>
c_src/spidermonkey.c: In function ‘sm_initialize’:<br>
c_src/spidermonkey.c:126: warning: passing argument 4 of<br>
‘JS_DefineFunction’ from incompatible pointer type<br>
c_src/include/js/jsapi.h:1905: note: expected ‘JSNative’ but argument<br>
is of type ‘JSBool (**)(struct JSContext *, struct JSObject *, uintN,<br>
jsval *, jsval *)’<br>
Compiling c_src/spidermonkey_drv.c<br>
</div><div class="im">./rebar compile generate<br>
==> protobuffs (compile)<br>
==> mochiweb (compile)<br>
==> webmachine (compile)<br>
==> luke (compile)<br>
==> riak (compile)<br>
==> erlang_js (compile)<br>
Running c_src/build_driver_deps.sh<br>
~/riak/apps/erlang_js/c_src ~/riak/apps/erlang_js<br>
make[1]: Entering directory `/root/riak/apps/erlang_js/c_src'<br>
mkdir: cannot create directory `deps/js': File exists<br>
make[1]: *** [deps/js] Error 1<br>
make[1]: Leaving directory `/root/riak/apps/erlang_js/c_src'<br>
ERROR: c_src/build_driver_deps.sh failed with error: 2<br>
</div>==> rel (generate)<br>
{error_logger,{{2010,2,12},{12,53,57}},crash_report,[[{initial_call,{reltool_server,init,['Argument__1']}},{pid,<0.519.0>},{registered_name,[]},{error_info,{exit,{{badmatch,{'EXIT',{noproc,{gen_server,call,[file_server_2,{read_file_info,"/usr/local/lib/erlang/lib/cosNotification-1.1.12/ebin/CosNotifyComm_StructuredPullSupplier.beam"},infinity]}}}},[{reltool_server,xref_mod,1},{reltool_server,init_mod,4},{lists,map,2},{lists,map,2},{reltool_server,refresh_app,3},{reltool_server,refresh_apps,5},{reltool_server,merge_config,4},{reltool_server,refresh,3}]},[{reltool_server,init,1},{proc_lib,init_p_do_apply,3}]}},{ancestors,[<0.2.0>]},{messages,[{call,<0.2.0>,#Ref<0.0.0.16997>,{get_app,kernel}}]},{links,[<0.2.0>,<0.1062.0>]},{dictionary,[]},{trap_exit,false},{status,running},{heap_size,6765},{stack_size,24},{reductions,204564}],[{neighbour,[{pid,<0.1062.0>},{registered_name,[]},{initial_call,{xref,init,['Argument__1']}},{current_function,{gen_server,loop,6}},{ancestors,[<0.519.0>,<0.2.0>]},{messages,[]},{links,[<0.519.0>]},{dictionary,[]},{trap_exit,false},{status,waiting},{heap_size,987},{stack_size,9},{reductions,1085}]},{neighbour,[{pid,<0.2.0>},{registered_name,[]},{initial_call,{erlang,apply,2}},{current_function,{reltool_utils,call,2}},{ancestors,[]},{messages,[]},{links,[<0.0.0>,<0.519.0>]},{dictionary,[]},{trap_exit,false},{status,waiting},{heap_size,6765},{stack_size,56},{reductions,234905}]}]]}<br>

<div class="im">make: *** [rel] Error 1<br>
root@dyoung-ubuntu:~/riak#<br>
<br>
<br>
</div><div><div></div><div class="h5">On Fri, Feb 12, 2010 at 12:37 PM, Ryan Tilder <<a href="mailto:rtilder@basho.com">rtilder@basho.com</a>> wrote:<br>
> Pull from the tip.  There was a small mistake and the latest rebar updates<br>
> didn't get included in the most recent merge.<br>
> --Ryan<br>
><br>
</div></div></blockquote></div><br></div>