Error in compiling riak search 0.14.0 on MacOS X

Dan Reverri dan at basho.com
Tue Apr 5 22:39:00 EDT 2011


Riak KV 0.14 does not support Erlang R14B02 but the master branch on github
does.

Thanks,
Dan

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


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

> Thanks Dan,
>
> I will try re-compiling again with erlang R13B04. Does this only
> affect riak search and not riak KV?
>
> Kind regards,
> Joshua.
>
> On Wed, Apr 6, 2011 at 12:54 AM, Dan Reverri <dan at basho.com> wrote:
> > 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
> >
> >
>
>
>
> --
> 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/795e5ceb/attachment.html>


More information about the riak-users mailing list