[solved] Cannot compile 15.03 on Debian 7

Hello,

I'm trying to build 15.03 on Debian 7 (Erlang R15B01), but it fails with this error message:

src/ejabberd_auth_odbc.erl:86: function binary_to_integer/1 undefined
src/ejabberd_auth_odbc.erl:171: function integer_to_binary/1 undefined
src/ejabberd_auth_odbc.erl:207: function integer_to_binary/1 undefined
src/ejabberd_auth_odbc.erl:281: function binary_to_integer/1 undefined
src/ejabberd_auth_odbc.erl:442: function integer_to_binary/1 undefined
src/ejabberd_auth_odbc.erl:456: function integer_to_binary/1 undefined
ERROR: compile failed while processing /home/username/ejabberd: rebar_abort

ODBC is not enabled, the only configure parameters were "--prefix" and "--enable-user". Compiling 15.02 still works.

Is my Erlang version too old?

Hi, yes, your Erlang is too

Hi,

yes, your Erlang is too old, but there are already a few commits to regain R15B compatibility, for instace:

Matthias

Yes, compiling with these

Yes, compiling with these newer commits does the trick. Thanks!

Syndicate content