processone / ejabberd-vagrant-dev

Vagrant and Ansible script to create a VM preconfigured for ejabberd development
31 stars 13 forks source link

Upgrade Erlang Version in this Image #9

Open tahteche opened 6 years ago

tahteche commented 6 years ago

The Erlang version in this image is lesser than that required by ejabberd hence it does not build. I had to remove the Erlang installed with the image and install a higher version manually for it to work.

When I run:

./autogen.sh && ./configure --enable-mysql --enable-pgsql --enable-riak --enable-sqlite --enable-elixir --enable-tools

I get:

checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a sed that does not truncate output... /bin/sed
checking for erl... /usr/local/bin/erl
checking for erlc... /usr/local/bin/erlc
checking for epmd... /usr/local/bin/epmd
checking for erl... /usr/local/bin/erl
checking for erlc... /usr/local/bin/erlc
checking Erlang/OTP version... failed
configure: error: in `/projects/ejabberd':
configure: error: 6.3 found, 6.4 (Erlang/OTP 17.5) required
See `config.log' for more details