Hey Sean, Thanks for the help, I rolled back to R13B04 and Riak compiled from source without a problem.
As an aside, when I rolled back to R13B04, I briefly tried to get Riak to build without running make install on my Erlang distribution (keeping it in /opt/otp_src_R13B04/) but couldn't figure out a combination of symlinks and/or build flags to get it to work. I realize it may be a fools errand, but does anyone know if this is possible at the moment? Cheers, Chris On Sat, Mar 19, 2011 at 11:15 AM, Sean Cribbs <s...@basho.com> wrote: > Chris, > > Because of changes to the NIF implementation, not all sub-projects are > compatible with R14B02 yet. For now you should use a clone of the root > "riak" repository, or use the binary version from downloads.basho.com. > > Sean Cribbs <s...@basho.com> > Developer Advocate > Basho Technologies, Inc. > http://basho.com/ > > On Mar 18, 2011, at 6:31 PM, Chris Laskey wrote: > > Hey All, > > Having trouble compiling Riak from source on a Ubuntu 10.04 64-bit box. I'm > using the most recent Riak commit from GitHub, and have a working > installation of Erlang R14B02 from source. Previously this machine had a > working install of Riak using the riak_0.14.0-1_amd64.deb and Erlang R13B03 > packages. Both packages were dpkg --purge 'd prior to updating to Erlang to > R14B02. > > Any thoughts appreciated, > > Cheers, > > Chris > > > #: /opt/riak$ make rel > ./rebar get-deps > ==> rel (get-deps) > ==> riak_0.14.0.1 (get-deps) > Pulling cluster_info from {git,"git://github.com/basho/cluster_info", > {branch,"master"}} > Initialized empty Git repository in > /opt/riak_0.14.0.1/deps/cluster_info/.git/ > Pulling luwak from {git,"git://github.com/basho/luwak",{branch,"master"}} > Initialized empty Git repository in /opt/riak_0.14.0.1/deps/luwak/.git/ > Pulling riak_kv from {git,"git://github.com/basho/riak_kv > ",{branch,"master"}} > Initialized empty Git repository in /opt/riak_0.14.0.1/deps/riak_kv/.git/ > Pulling riak_err from {git,"git://github.com/basho/riak_err", > {branch,"master"}} > Initialized empty Git repository in /opt/riak_0.14.0.1/deps/riak_err/.git/ > ==> cluster_info (get-deps) > ==> riak_kv (get-deps) > Pulling riak_core from {git,"git://github.com/basho/riak_core", > {branch,"master"}} > Initialized empty Git repository in /opt/riak_0.14.0.1/deps/riak_core/.git/ > Pulling riakc from {git,"git://github.com/basho/riak-erlang-client", > {tag,"riakc-1.0.2"}} > Initialized empty Git repository in /opt/riak_0.14.0.1/deps/riakc/.git/ > Pulling luke from {git,"git://github.com/basho/luke",{tag,"luke-0.2.3"}} > Initialized empty Git repository in /opt/riak_0.14.0.1/deps/luke/.git/ > Pulling erlang_js from {git,"git://github.com/basho/erlang_js", > {tag,"erlang_js-0.5.0"}} > Initialized empty Git repository in /opt/riak_0.14.0.1/deps/erlang_js/.git/ > Pulling bitcask from {git,"git://github.com/basho/bitcask > ",{branch,"master"}} > Initialized empty Git repository in /opt/riak_0.14.0.1/deps/bitcask/.git/ > Pulling ebloom from {git,"git://github.com/basho/ebloom > ",{branch,"master"}} > Initialized empty Git repository in /opt/riak_0.14.0.1/deps/ebloom/.git/ > Pulling eper from {git,"git://github.com/dizzyd/eper.git > ",{branch,"master"}} > Initialized empty Git repository in /opt/riak_0.14.0.1/deps/eper/.git/ > ==> riak_core (get-deps) > Pulling protobuffs from {git,"git://github.com/basho/erlang_protobuffs", > {tag,"protobuffs-0.5.1"}} > Initialized empty Git repository in > /opt/riak_0.14.0.1/deps/protobuffs/.git/ > Pulling basho_stats from {git,"git://github.com/basho/basho_stats","HEAD"} > Initialized empty Git repository in > /opt/riak_0.14.0.1/deps/basho_stats/.git/ > Pulling riak_sysmon from {git,"git://github.com/basho/riak_sysmon", > {branch,"master"}} > Initialized empty Git repository in > /opt/riak_0.14.0.1/deps/riak_sysmon/.git/ > Pulling webmachine from {git,"git://github.com/basho/webmachine", > {tag,"webmachine-1.8.0"}} > Initialized empty Git repository in > /opt/riak_0.14.0.1/deps/webmachine/.git/ > ==> protobuffs (get-deps) > ==> basho_stats (get-deps) > ==> riak_sysmon (get-deps) > ==> webmachine (get-deps) > Pulling mochiweb from {git,"git://github.com/basho/mochiweb", > {tag,"mochiweb-1.7.1"}} > Initialized empty Git repository in /opt/riak_0.14.0.1/deps/mochiweb/.git/ > ==> mochiweb (get-deps) > ==> riakc (get-deps) > ==> luke (get-deps) > ==> erlang_js (get-deps) > ==> ebloom (get-deps) > ==> bitcask (get-deps) > ==> eper (get-deps) > ==> luwak (get-deps) > Pulling skerl from {git,"git://github.com/basho/skerl > ",{tag,"skerl-1.0.0"}} > Initialized empty Git repository in /opt/riak_0.14.0.1/deps/skerl/.git/ > ==> skerl (get-deps) > ==> riak_err (get-deps) > ./rebar compile generate > ==> cluster_info (compile) > Compiled src/cluster_info_ex.erl > Compiled src/cluster_info.erl > ==> skerl (compile) > Compiled src/skerl.erl > Compiled src/hex.erl > Compiling c_src/skein.c > Compiling c_src/skein_api.c > Compiling c_src/skein_block.c > Compiling c_src/skein_debug.c > Compiling c_src/skerl_nifs.c > c_src/skerl_nifs.c:2:21: error: erl_nif.h: No such file or directory > c_src/skerl_nifs.c:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘*’ token > c_src/skerl_nifs.c:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘skein_init’ > c_src/skerl_nifs.c:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘skein_update’ > c_src/skerl_nifs.c:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘skein_final’ > c_src/skerl_nifs.c:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘skein_hash’ > c_src/skerl_nifs.c:19: error: expected ‘)’ before ‘*’ token > c_src/skerl_nifs.c:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘nif_funcs’ > c_src/skerl_nifs.c:29: error: expected ‘)’ before ‘(’ token > c_src/skerl_nifs.c:33: error: expected ‘)’ before ‘*’ token > c_src/skerl_nifs.c:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘skein_init’ > c_src/skerl_nifs.c:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘skein_update’ > c_src/skerl_nifs.c:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘skein_final’ > c_src/skerl_nifs.c:89: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘skein_hash’ > ERROR: $CC -c $CFLAGS $DRV_CFLAGS c_src/skerl_nifs.c -o c_src/skerl_nifs.o > failed with error: 1 > make: *** [rel] Error 1 > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > > >
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com