hi

On Sat, May 1, 2010 at 12:30 AM, Dan Reverri <reve...@gmail.com> wrote:
> Can you try running "make clean && make all"?

yes i did this but still unable to link the library to Erlang?

araweelo:riak khinester$ erl -version
Erlang (SMP,ASYNC_THREADS,HIPE) (BEAM) emulator version 5.7.5
araweelo:~ khinester$ erl -pa $RIAKC/ebinErlang R13B04 (erts-5.7.5)
[source] [64-bit] [smp:2:2] [rq:2] [async-threads:0] [hipe]
[kernel-poll:false]

Eshell V5.7.5  (abort with ^G)
1> code:which(riakc_pb_client).
non_existing
2>


> It should fetch the protobuffs dependency and compile everything. Once this
> is complete run:
> erl -pa $RIAKC/ebin
> Make sure $RIAKC points to the path where you have cloned the
> riak-erlang-client repo.

araweelo:riak khinester$ echo $RIAKC
/Users/khinester/Sandboxes/riak/client_lib/riak-erlang-client
araweelo:riak khinester$ tree -L 2
/Users/khinester/Sandboxes/riak/client_lib/riak-erlang-client/
/Users/khinester/Sandboxes/riak/client_lib/riak-erlang-client/
|-- LICENSE
|-- Makefile
|-- README
|-- deps
|   `-- protobuffs
|-- docs
|   `-- pb-client.txt
|-- ebin
|   |-- riakc.app
|   |-- riakc_obj.beam
|   |-- riakc_pb.beam
|   |-- riakc_pb_socket.beam
|   `-- riakclient_pb.beam
|-- include
|   |-- riakc_obj.hrl
|   |-- riakc_pb.hrl
|   `-- riakclient_pb.hrl
|-- rebar
|-- rebar.config
`-- src
    |-- riakc_obj.erl
    |-- riakc_pb.erl
    |-- riakc_pb_socket.erl
    `-- riakclient.proto

6 directories, 18 files

>
>
> On Fri, Apr 30, 2010 at 2:16 PM, Norman Khine <nor...@khine.net> wrote:
>>
>> hello,
>> i am following the riak/client_lib/riak-erlang-client/docs/pb-client.txt
>> but am stuck on this point:
>>
>> $ erl -pa $RIAKC/ebin
>> Erlang R13B04 (erts-5.7.5) [source] [64-bit] [smp:2:2] [rq:2]
>> [async-threads:0] [hipe] [kernel-poll:false]
>>
>> Eshell V5.7.5  (abort with ^G)
>> 1> code:which(riakc_pb_client).
>> non_existing
>> 2>
>> User switch command
>>  --> q
>>
>> i also tried:
>>
>> $ sudo ./rebar install
>> Password:
>> ==> protobuffs (install)
>> Installing: protobuffs-4 to /opt/local/lib/erlang/lib
>> ==> riak-erlang-client (install)
>> Installing: riakc-1 to /opt/local/lib/erlang/lib
>> aqoon:riak-erlang-client khinester$ erl
>> Erlang R13B04 (erts-5.7.5) [source] [64-bit] [smp:2:2] [rq:2]
>> [async-threads:0] [hipe] [kernel-poll:false]
>>
>> Eshell V5.7.5  (abort with ^G)
>> 1> code:which(riakc_pb_client).
>> non_existing
>> 2>
>>
>> how do i link the client correctly?
>> any help much appreciated
>>
>> norman
>>
>> --
>> ¿noʎ uɐɔ uʍop ǝpısdn ǝʇıɹʍ uɐɔ ı - %>>> "".join( [
>> {'*':'@','^':'.'}.get(c,None) or chr(97+(ord(c)-83)%26) for c in
>> ",adym,*)&uzq^zqf" ] )
>>
>> _______________________________________________
>> riak-users mailing list
>> riak-users@lists.basho.com
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
>



-- 
¿noʎ uɐɔ uʍop ǝpısdn ǝʇıɹʍ uɐɔ ı - %>>> "".join( [
{'*':'@','^':'.'}.get(c,None) or chr(97+(ord(c)-83)%26) for c in
",adym,*)&uzq^zqf" ] )

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to