Opened 11 years ago

Last modified 10 years ago

#39225 new request

Requesting port for Riak

Reported by: cboynton@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cooljeanius (Eric Gallager), mcamou@…
Port: riak

Description

I'd like to request a port of the open source distributed database known as Riak. Also, Homebrew supports Riak, but I'm a happy MacPorts user. I'm willing to help with the port if needed.

http://docs.basho.com/riak/latest/tutorials/installation/Installing-on-Mac-OS-X/

Change History (6)

comment:1 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:2 Changed 11 years ago by cooljeanius (Eric Gallager)

Also, Homebrew supports Riak,

The corresponding formula is here: https://github.com/mxcl/homebrew/blob/master/Library/Formula/riak.rb (for reference)

comment:3 in reply to:  description Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to cboynton@…:

http://docs.basho.com/riak/latest/tutorials/installation/Installing-on-Mac-OS-X/

That page says:

Riak requires Erlang R15B01. Note: don't use Erlang version R15B02 or R15B03, for the moment, as it causes an error with riak-admin status commands.

Our erlang port is currently at version R16B.

comment:4 in reply to:  2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to egall@…:

The corresponding formula is here: https://github.com/mxcl/homebrew/blob/master/Library/Formula/riak.rb (for reference)

It's not very helpful since they install the precompiled binary whereas we'd want to build from source as usual.

comment:5 Changed 11 years ago by cboynton@…

For what it's worth, I tried compiling with Erlang R16B and it didn't work. It seems like the language has changed some since R15B01 and deprecated some features which were used in the code. For example, this message was provided as an error during compilation of one of the included projects (mochiweb): "parameterized modules are no longer supported".

One side note... we should be able to use R15B02. The issue with "error with riak-admin status commands" was resolved here: https://github.com/basho/riak_kv/pull/415

Does the MacPorts community consider it a cardinal sin to compile from source using a previous version of a compiler? I ask because the project will need some work before it is compatible with the latest release of Erlang. For example, they will have to reference a more up-to-date version of mochiweb with the parameterized modules fix: https://github.com/basho/mochiweb/pull/6

comment:6 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mcamou@… added
Port: riak added
Version: 2.1.3

Has duplicate #44660.

Note: See TracTickets for help on using tickets.