Error in compiling riak search 0.14.0 on MacOS X

Dan Reverri dan at basho.com
Tue Apr 5 10:54:22 EDT 2011


What version of Erlang are you using? The 0.14.0 version of Riak Search
0.14.0 is not compatible with R14B02; it should be built with R13B04.

Thanks,
Dan

Daniel Reverri
Developer Advocate
Basho Technologies, Inc.
dan at basho.com


On Tue, Apr 5, 2011 at 7:51 AM, Joshua Partogi <joshua.java at gmail.com>wrote:

> 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
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20110405/19d2f9d6/attachment.html>


More information about the riak-users mailing list