tungd / elixir-dns

DNS library for Elixir
BSD 3-Clause "New" or "Revised" License
114 stars 37 forks source link

Clarify that you need the Erlang sources to compile this library #15

Closed arjan closed 6 years ago

arjan commented 6 years ago

It would be nice if the README could state that you need the Erlang/OTP source files to compile this library. On Ubuntu, without the erlang-src package, I get the following error:

== Compilation error in file lib/dns/header.ex ==
** (RuntimeError) error parsing file /usr/lib/erlang/lib/kernel-5.4/src/inet_dns.hrl, got: {:error, :enoent}

because the src directory is missing from the kernel application.

ghenry commented 10 months ago

Just hit this installing on Ubuntu as per https://elixir-lang.org/install.html#distributions