Trying to compile on Ubuntu 9.10

Dan Young danoyoung at
Thu Feb 11 23:35:08 EST 2010

Hello all,

I'm trying to install the latest download of riak and am getting the
following error msg after : make all rel

Compiling c_src/spidermonkey_drv.c
./rebar compile generate
==> protobuffs (compile)
==> mochiweb (compile)
==> webmachine (compile)
==> luke (compile)
==> riak (compile)
==> erlang_js (compile)
Running c_src/
~/riak/apps/erlang_js/c_src ~/riak/apps/erlang_js
make[1]: Entering directory `/root/riak/apps/erlang_js/c_src'
mkdir: cannot create directory `deps/js': File exists
make[1]: *** [deps/js] Error 1
make[1]: Leaving directory `/root/riak/apps/erlang_js/c_src'
ERROR: c_src/ failed with error: 2
make: *** [rel] Error 1
root at dyoung-ubuntu:~/riak#

I also tried just make rel and got:

s.o Linux_All_OPT.OBJ/libjs.a  -lm -L../../nspr_release/dist/lib -lnspr4 \
make[3]: `Linux_All_OPT.OBJ/jsautocfg.h' is up to date.
make[3]: `Linux_All_OPT.OBJ/jscpucfg' is up to date.
make[3]: `Linux_All_OPT.OBJ/jscpucfg.o' is up to date.
make[3]: Leaving directory `/root/riak/apps/erlang_js/c_src/deps/js/src'
make[2]: Leaving directory `/root/riak/apps/erlang_js/c_src/deps/js/src'
make[1]: Leaving directory `/root/riak/apps/erlang_js/c_src'
Compiling c_src/driver_comm.c
Compiling c_src/spidermonkey.c
c_src/spidermonkey.c: In function ‘sm_initialize’:
c_src/spidermonkey.c:126: warning: passing argument 4 of
‘JS_DefineFunction’ from incompatible pointer type
c_src/include/js/jsapi.h:1905: note: expected ‘JSNative’ but argument
is of type ‘JSBool (**)(struct JSContext *, struct JSObject *, uintN,
jsval *, jsval *)’
Compiling c_src/spidermonkey_drv.c
==> rel (generate)
root at dyoung-ubuntu:~/riak#

Any ideas?



More information about the riak-users mailing list