Compiling mnesia_eleveldb on macOS

Has anyone had success compiling mnesia_eleveldb in macOS? I’ve included it in a project, and it compiles just fine in my linux env, but it is failing on my Mac.

The issue seems to be with eleveldb. I’m setting the following build flags, but getting an error:

===> Compiling eleveldb
make: Nothing to be done for `all'.
make: Nothing to be done for `tools'.
===> Linking priv/
** (Mix) Could not compile dependency :eleveldb, "/Users/nicholas/.mix/rebar3 bare compile --paths="/Users/nicholas/src/BPL/bison/datalake_storage_backend/_build/dev/lib/*/ebin"" command failed. You can recompile this dependency with "mix deps.compile eleveldb", update it with "mix deps.update eleveldb" or clean it with "mix deps.clean eleveldb"

It seems to build fine if I put the same dependencies in an Erlang project and compile it with rebar3 compile

I’m using these version in my mix.exs file:

      {:eleveldb, "~> 2.2", override: true},
      {:mnesia_eleveldb, git: "git://", tag: "1.1.0"},

I would love to hear from anyone who has experience working with this library.

did you find a solution?

I did. I’m using the develop-3.0 branch and it seems to build as expected.

{:eleveldb, git: "git://", tag: "develop-3.0", override: true},
{:mnesia_eleveldb, git: "git://", tag: "1.1.0"}

I am also using OTP 22. It does not compile on OTP 23.