basho / riak

Riak is a decentralized datastore from Basho Technologies.
http://docs.basho.com
Apache License 2.0
3.94k stars 536 forks source link

Debian 9 Stretch package #916

Open zowers opened 7 years ago

zowers commented 7 years ago

Debian Linux 9 Stretch has been released, please provide a package.

ref #766

asyncmind0 commented 7 years ago

I tried to build on stretch got an erlang version error, riak requires OTP 17 and current is 19

Bob-The-Marauder commented 7 years ago

@zowers I am afraid that with Basho ceasing most business activities on 31st May 2017 and later going into receivership, you may be a while waiting on that. The Open Source community is already rallying around building new versions and there is talk of a Riak Consortium. Unfortunately neither of these will happen overnight. Given this, I am afraid that you will have to make do with either Jessie or Wheezy if you want official Basho Debian packages - https://files.tiot.jp/riak/kv/2.2/2.2.3/debian/ or, alternately, try compiling from source - https://files.tiot.jp/riak/kv/2.2/2.2.3/riak-2.2.3.tar.gz

@jagguli That is correct, Riak requires older versions of Erlang. Please see https://www.tiot.jp/riak-docs/riak/kv/2.2.3/setup/installing/source/erlang/#installing-with-kerl for how to install Erlang via Kerl.

That said, there is an issue with Yokozuna in that the Yokozuna jar files and Solr files required to build Riak were hosted on the Basho AWS service which is no longer available. A workaround has been released for develop, develop-2.0 and develop-2.2 that points Yokozuna to copies of the necessary files that are hosted by TI Tokyo.

Once you have the correct version of Erlang, this is an example of how you could build:

git clone riak
cd riak
checkout develop
make deps
export ARTIFACT_URL_PREFIX="https://files.tiot.jp/riak"
make

Substitute checkout develop for either checkout develop-2.0 or checkout develop-2.2 depending on which version you want to build. The ARTIFACT_URL_PREFIX points the script to the variable you set here i.e. TI Tokyo's file store instead of the default Basho AWS service as that is currently unavailable. Should Basho's AWS service ever become available again, this work around would no longer be needed.

Bob-The-Marauder commented 5 years ago

Packages are available for Debian 9 Stretch: KV 2.2.6 https://files.tiot.jp/riak/kv/2.2/2.2.6/debian/9/ KV 2.9.0p1 https://files.tiot.jp/riak/kv/2.9/2.9.0p1/debian/9/ CS 2.1.2 https://files.tiot.jp/riak/cs/2.1/2.1.2/debian/9/ Stanchion 2.1.2 https://files.tiot.jp/riak/stanchion/2.1/2.1.2/debian/9/

I think this issue can be closed now

mvorisek commented 4 years ago

Are these packages available via apt? What about for the new Debian Buster release?