Error in compiling riak search 0.14.0 on MacOS X

Joshua Partogi joshua.java at gmail.com
Tue Apr 5 10:51:21 EDT 2011


Hi,

I am getting the error below when building riak search from source:

==> ebloom (compile)
Compiled src/ebloom.erl
Compiling c_src/ebloom_nifs.cpp
c_src/ebloom_nifs.cpp: In function ‘ERL_NIF_TERM
ebloom_new_filter(ErlNifEnv*, int, const ERL_NIF_TERM*)’:
c_src/ebloom_nifs.cpp:85: error: ‘enif_alloc_resource_compat’ was not
declared in this scope
c_src/ebloom_nifs.cpp:90: error: ‘enif_release_resource_compat’ was
not declared in this scope
c_src/ebloom_nifs.cpp: In function ‘ERL_NIF_TERM
ebloom_serialize(ErlNifEnv*, int, const ERL_NIF_TERM*)’:
c_src/ebloom_nifs.cpp:247: error: ‘enif_alloc_binary_compat’ was not
declared in this scope
c_src/ebloom_nifs.cpp: In function ‘ERL_NIF_TERM
ebloom_deserialize(ErlNifEnv*, int, const ERL_NIF_TERM*)’:
c_src/ebloom_nifs.cpp:263: error: ‘enif_alloc_resource_compat’ was not
declared in this scope
c_src/ebloom_nifs.cpp:266: error: ‘enif_release_resource_compat’ was
not declared in this scope
c_src/ebloom_nifs.cpp: In function ‘int on_load(ErlNifEnv*, void**,
ERL_NIF_TERM)’:
c_src/ebloom_nifs.cpp:287: error: ‘enif_open_resource_type_compat’ was
not declared in this scope
ERROR: $CXX -c $CXXFLAGS $DRV_CFLAGS c_src/ebloom_nifs.cpp -o
c_src/ebloom_nifs.o failed with error: 1
make: *** [rel] Error 1

Is there anything that I have missed or have not yet installed?

Thank you very much for the insights.

-- 
http://twitter.com/jpartogi




More information about the riak-users mailing list