Closed thealacer closed 3 months ago
The Issue is not in Ejabberd rather on my compile script Since I was Compiling rebar3 from source as well.
Therefore if anyone is going to Self Compile rebar3 please use below option for ejabberd compile configuration:
./configure --rebar=/path to the full rebar3 compiled directory/./rebar3
In case if you want to use the rebar3 downloaded along ejabberd repo clone, please use below option for ejabberd compile config:
./configure --rebar=./rebar3
That's how I use it :)
Environment
erlang/otp 25
Configuration (only if needed): grep -Ev '^$|^\s*#' ejabberd.yml
Compile Commands:
Not working with rebar 3 Self Compile Configuration:
./configure --enable-user=ejabberd --enable-group=ejabberd --enable-all --with-rebar=~./rebar3 --disable-elixir --enable-new-sql-schema --enable-pgsql
Working with rebar Self Compile Configuration:
./configure --enable-user=ejabberd --enable-group=ejabberd --enable-all --with-rebar=./rebar --disable-elixir --enable-new-sql-schema --enable-pgsql
./configure --enable-user=ejabberd --enable-group=ejabberd --enable-all --with-rebar= --disable-elixir --enable-new-sql-schema --enable-pgsql
Errors from error.log/crash.log
Bug description
Step to Product/Re-Produce:
./configure --with-rebar=~./rebar3
to./configure --with-rebar=./rebar
or./configure --with-rebar
and it works well.