hudson2010
Can't compile elixir 1.10.1 on CentOS 7
Hello NobbZ,
I tried out elixir V 1.10.1 on Centos 7 but its still failing to compile on erlang 22
> Recompile: src/elixir
> Generated elixir app
> ==> bootstrap (compile)
> error: undef
> stacktrace: [{elixir_aliases,expand,
> [{'__aliases__',[{line,938}],['Process']},[],[],nil],
> []},
> {'Elixir.Macro',do_expand_once,2,
> [{file,"lib/macro.ex"},{line,1217}]},
> {'Elixir.Macro',expand_until,2,
> [{file,"lib/macro.ex"},{line,1379}]},
> {'Elixir.Kernel.Typespec',typespec,4,
> [{file,"lib/kernel/typespec.ex"},{line,726}]},
> {'Elixir.Kernel.Typespec',typespec,4,
> [{file,"lib/kernel/typespec.ex"},{line,654}]},
> {lists,mapfoldl,3,[{file,"lists.erl"},{line,1354}]},
> {'Elixir.Kernel.Typespec',fn_args,5,
> [{file,"lib/kernel/typespec.ex"},{line,942}]},
> {'Elixir.Kernel.Typespec',fn_args,6,
> [{file,"lib/kernel/typespec.ex"},{line,928}]}]
> make: *** [lib/elixir/ebin/Elixir.Kernel.beam] Error 1
> [root@kyu-renu-stdportal1 elixir-1.10.1]# cat /etc/redhat-release
>
> CentOS Linux release 7.6.1810 (Core)
>
> [root@kyu-renu-stdportal1 elixir-1.10.1]# erl -v
>
> Erlang/OTP 22 [erts-10.4] [source] [64-bit] [smp:6:6] [ds:6:6:10] [async-threads:1] [hipe]
>
> Eshell V10.4 (abort with ^G)
>
> 1>
First Post!
OvermindDL1
I’m curious if you found any followup on this. I run centos7 at work as well and will be updating to erlang 1.10.* in time as well.
Popular in Questions
In the Dialyzer docs ( http://erlang.org/doc/man/dialyzer.html#requesting-or-suppressing-warnings-in-source-files ), there is a way to tu...
New
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
How to set Jason to encode all fields in ecto schema, I don’t care about security and implementing only is taking long list of attributes...
New
As many of you may have realized by now (sorry for all the posts here) I’ve been working on a db problem where I’m trying to aggregate a ...
New
If I have a string “1000 cfu/ml” . I want to remove the characters and / and space . So the string is like this
"1000"
What is the ...
New
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible.
total = 10
while total != 0
...
New
Hello, I have map which I want to convert it to string like this:
the map:
%{last_name: "tavakkoli", name: "shahryar"}
the string I ne...
New
Hello everybody,
usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
Hi guys, i’m new in the Elixir world, and i have to say, that i love it!
i’m having some problem to understand anonymous functions with ...
New
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
Other popular topics
How to handle excepions in elixir? Suppose i have A, B, C ,D, E modules. and each module has get() function. A.get() method will call th...
New
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
I have followed this StackOverflow post to install the specific version of Erlang.
And When I am running mix ecto.setup then getting fol...
New
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
As promised, the first release candidate of Phoenix 1.3.0 is out! This release focuses on code generators with improved project structure...
New
I have a User schema with a :from_id field set to type :string:
defmodule TweetBot.Repo.Migrations.CreateUsers do
use Ecto.Migration
...
New
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
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







