problem building on CentOS 64bit

Jared Morrow jared at basho.com
Fri Jul 8 16:34:16 EDT 2011


Phil,

Sorry for the troubles this morning, I went ahead and updated the version of
rebar currently on riak/master.   We are working on a different (and better)
method of dealing with rebar being packaged in our repositories.

Thanks,
Jared
.
On Fri, Jul 8, 2011 at 12:41 PM, Phil Stanhope <stanhope at gmail.com> wrote:

> Thanks Sean.
>
> I did what you suggested. Pulled and built a new rebar. Copied that into
> /usr/local/bin. Checked that it would take precedence over the one that is
> packaged in the RIAK repo.
>
> The one in the root of RIAK is "rebar version: 2 date 20110310_184739
> 2e1b4da". The newly built one is: "rebar version: 20110708_181908 vcs: git
> 5e04e7d"
>
> Unfortunately, the makefile in the root of RIAK explicitly calls the
> pre-packaged rebar. I get the same build errors.
>
> So I replaced the prepackaged rebar with the newly built one ... and a
> clean build works fine with no makefile changes required.
>
> -phil
>
> On Fri, Jul 8, 2011 at 2:08 PM, Sean Cribbs <sean at basho.com> wrote:
>
>> Phil,
>>
>> This is a question best sent to the riak-users list.  Recent changes in
>> the codebase necessitate an upgrade to rebar. In your source checkout,
>> download rebar from here:  https://github.com/downloads/basho/rebar/rebar... then re-attempt the build.
>>
>> On Fri, Jul 8, 2011 at 2:01 PM, Phil Stanhope <stanhope at gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> Environment = CentOS 64bit 5.6
>>>
>>> I've got working 13B04 (from source) + .14.2 ... no problems there.
>>>
>>> I've got a working 14B02 (from source) ... no problems there.
>>>
>>> I've cloned RIAK from github today. Have two problems while building:
>>>
>>> erlang_js ... need to modify Makefile to explicitly set --enable-64bit
>>> eleveldb ... need to modify leveldb/Makefile to explicitly set -fPIC
>>>
>>> NOTE: When I pull the individual repos directly, they build fine. It's
>>> only when pulling RIAK and rebar has done the get_deps process that I've got
>>> the problem.
>>>
>>> It seems that there are commits in either of the dependent repositories
>>> for these fixes.
>>>
>>> I just don't know how rebar does it's dependency magic (yet) to
>>> understand what commit it's pulling from github.
>>>
>>> -phil
>>>
>>
>>
>>
>> --
>> Sean Cribbs <sean at basho.com>
>> Developer Advocate
>> Basho Technologies, Inc.
>> http://www.basho.com/
>>
>>
>
> _______________________________________________
> 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/20110708/247b784e/attachment.html>


More information about the riak-users mailing list