expostal icon indicating copy to clipboard operation
expostal copied to clipboard

Error compiling

Open AdamBrodzinski opened this issue 6 years ago • 3 comments

I'm getting the following error when trying to boot up my app. It says init/0 is undefined. I see that it's currently private and i'm not sure if that's related? I have tested the install for libpostal by running a nodejs script and that works great.

OSX 10.12.4 Elixir 1.6.5 Fresh install of libpostal via brew/make expostal 0.2.0

⇒ iex -S mix phoenix.server
Erlang/OTP 20 [erts-9.3.2] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

--------------------- MIX ENV --------------------------
nil
:dev
make: `priv/expostal.so' is up to date.
==> expostal
Compiling 1 file (.ex)

== Compilation error in file lib/expostal.ex ==
** (CompileError) lib/expostal.ex:1: function init/0 undefined
    (stdlib) lists.erl:1338: :lists.foreach/2
    (stdlib) erl_eval.erl:670: :erl_eval.do_apply/6
could not compile dependency :expostal, "mix compile" failed. You can recompile this dependency with "mix deps.compile expostal", update it with "mix deps.update expostal" or clean it with "mix deps.clean expostal"

AdamBrodzinski avatar Jul 10 '18 17:07 AdamBrodzinski

Pull request #8 is supposed to fix this issue. Unfortunately I no longer work at SweetIQ so I can't merge it

xiamx avatar Jul 10 '18 17:07 xiamx

Ah ok, thanks for the fast feedback! I hope they'll take the PR 😞 I'll use the fork in the meantime!

AdamBrodzinski avatar Jul 10 '18 17:07 AdamBrodzinski

Any updates on this being resolved?

cbourg2 avatar May 14 '19 20:05 cbourg2