> On Sunday, July 5, 2015 at 12:24:05 AM UTC+3, Ronen Narkis wrote:
> >
> > I use erlang 18 and Elixir 1.0.5, compiling ibrowse I keep getting:
> >
> > ==> ibrowse (compile)
> > Compiling src/ibrowse_lib.erl failed:
> > 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.
> > ERROR: compile failed while processing /home/ronen/code/octo/deps/ibrowse:
> > rebar_abort
> > ** (Mix) Could not compile dependency ibrowse, /home/ronen/.mix/rebar
> > command failed. If you want to recompile this dependency, please run: mix
> > deps.compile ibrowse
> >
> > Is the only solution is to downgrade to erlang 17?
ibrowse compiles fine under OTP 18.0.1 here, so long as you use master
which
includes
https://github.com/cmullaparthi/ibrowse/issues/129 and not
v4.1.1
which does not. I've asked for a new tag[1].
Your mix.exs should include:
defp deps do
[{:ibrowse, github: "cmullaparthi/ibrowse", ref: "5ee4a80"}
]
end
wrt travis-ci, this should be unrelated; I don't think travis' lack of
OTP 18.0 support should matter here.
A+
Dave
[1]:
https://github.com/cmullaparthi/ibrowse/issues/133