~/Desktop/phoenix_sandbox/app$ mix phx.server
==> gettext
Compiling 1 file (.yrl)
/usr/lib/erlang/lib/parsetools-2.1.8/include/yeccpre.hrl: no such file or directory
could not compile dependency :gettext, "mix compile" failed. You can recompile this dependency with "mix deps.compile gettext", update it with "mix deps.update gettext" or clean it with "mix deps.clean gettext"
I tried running the commands the error mentioned and it just makes me go in circles - I end up with the same error. I tried installing “parsetools” and it hasn’t worked.
What exact version of ubuntu are you on? (check /etc/os-release)
You put “popOS” in parenthesis, so are you using Ubuntu or a fork/derivation of it? Have you checked if the esl-erlang is even compatible with that fork/derivation?
Install whatever provides erlangs parsetools for your system.
This is the usual way to go.
For a development machine is suggest to use asdf-vm to install runtimes and compilers. The asdf provided erlang comes with all of its core applications.