small medium large xlarge

05 Jan 2016, 23:17
Brendan A R Sechter (1 post)

In the Hub project, the ibrowse dependency is out of date and does not compile on my machine. I could compile by changing the ibrowse version to “v4.2.2” in mix.exs.

$ uname -a
FreeBSD 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r287598: Thu Sep 10 14:45:48 JST 2015     root@:/usr/obj/usr/src/sys/MY_KERNEL  amd64
$ elixir --version
Erlang/OTP 18 [erts-7.2.1] [source] [64-bit] [async-threads:10] [hipe] [kernel-poll:false]

Elixir 1.2.0
$ mix deps.compile
==> ibrowse (compile)
src/ibrowse_lib.erl:371: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information.
Compiling src/ibrowse_lib.erl failed:
ERROR: compile failed while processing /usr/home/username/Projects/Elixir/hub/deps/ibrowse: rebar_abort
** (Mix) Could not compile dependency :ibrowse, "/usr/local/bin/rebar compile skip_deps=true deps_dir="/usr/home/username/Projects/Elixir/hub/_build/dev/lib"" command failed. You can recompile this dependency with "mix deps.compile ibrowse", update it with "mix deps.update ibrowse" or clean it with "mix deps.clean browse"
You must be logged in to comment