atul.nitt

atul.nitt

/usr/lib/erlang/lib/parsetools-2.2/include/yeccpre.hrl: no such file or directory

There is an issue while configuring PostgreSQL in phoenix,
I have created the database mentioned in config/dev.exs,
I am able to connect to this PostgreSQL through python code as well. But while initializing connection through phx, it erroring out :frowning:

phoenix_elixir/oops/rumbl$ mix ecto.create
==> gettext
Compiling 1 file (.yrl)
/usr/lib/erlang/lib/parsetools-2.2/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”
phoenix_elixir/oops/rumbl$ ls
assets _build config deps lib mix.exs mix.lock priv README.md test

First Post!

dimitarvp

dimitarvp

Maybe you generated the app with an older generator? Can you show your Erlang and Elixir versions, and what does mix archive return?

Most Liked

blackham

blackham

ubuntu 22.04 LTS:
apt install erlang-dev

NobbZ

NobbZ

It seems as if your erlang installation misses the parsetools application. Usually its an erlang core library, but some linux distributions split those into separate packages.

You need to install erlang-parsetools or how it is called in your distributions ecosystem.

Last Post!

Centuriononon

Centuriononon

Thanks!

Where Next?

Popular in Questions Top

Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
Lily
In templates/appointment/index.html.eex: <%= for appointment <- @appointments do %> <tr> <td><%= appoi...
New
Fl4m3Ph03n1x
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: ) Hello all, this is ...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New

Other popular topics Top

dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 44778 311
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New

We're in Beta

About us Mission Statement