riak install issues

Dan Reverri dan at basho.com
Tue Jul 6 14:28:41 EDT 2010


Hi Robert,

What platform are you building on? (OS X, Ubuntu, Redhat)
How did you install Erlang?
Can you check your Erlang install for the "erl_driver.h" file?

To find the Erlang root directory use code:root_dir/0:
$ erl
Erlang R13B04 (erts-5.7.5) [source] [64-bit] [smp:4:4] [rq:4]
[async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.7.5  (abort with ^G)
1> code:root_dir().
"/usr/local/Cellar/erlang/R13B04/lib/erlang"
2>


You can search the root directory for the "erl_driver.h" file as follows:
$ cd /usr/local/Cellar/erlang/R13B04/lib/erlang
$ find . -name "erl_driver.h"
./erts-5.7.5/include/erl_driver.h
./usr/include/erl_driver.h


Thanks,
Dan

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


On Tue, Jul 6, 2010 at 10:49 AM, robert schaefer <rps at haystack.mit.edu>wrote:

>
> -- The error I get is:
>
> Compiling c_src/driver_comm.c
> c_src/driver_comm.c:21:24: error: erl_driver.h: No such file or directory
> c_src/driver_comm.c: In function ‘read_command’:
> c_src/driver_comm.c:36: warning: implicit declaration of function
> ‘driver_alloc’
> ERROR: $CC -c $CFLAGS $DRV_CFLAGS c_src/driver_comm.c -o
> c_src/driver_comm.o failed with error: 1
> make: *** [compile] Error 1
>
>
> -- The riak make appears to not know where the erlang include files are -
>    erlang version: otp_src_R14A
>
> Any help?
>
> -----------------------------------
> robert schaefer
> Atmospheric Sciences Group
> MIT Haystack Observatory
> Westford, MA 01886
>
> email:  rps at haystack.mit.edu
> voice:  781-981-5767
> www:  http://www.haystack.mit.edu
>
>
> _______________________________________________
> 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/20100706/b2fc8fbf/attachment.html>


More information about the riak-users mailing list