Fl4m3Ph03n1x

Fl4m3Ph03n1x

How to install erlang 24.0-rc1

Background

I am trying to install erlang 24.0-rc1 in my machine to try an Elixir Desktop App via asdf however I am not sure this exists yet.

Problem

So, I tried running the following command:

asdf install erlang 24.0-rc1

Which resulted in

$ asdf install erlang 24.0-rc1
asdf_24.0-rc1 is not a kerl-managed Erlang/OTP installation
No build named asdf_24.0-rc1
Downloading OTP-24.0-rc1.tar.gz to /Users/pedroma/.asdf/plugins/erlang/kerl-home/archives...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   124  100   124    0     0    380      0 --:--:-- --:--:-- --:--:--   381
100 56.6M    0 56.6M    0     0  3987k      0 --:--:--  0:00:14 --:--:-- 4275k
Extracting source code
Building Erlang/OTP 24.0-rc1 (asdf_24.0-rc1), please wait...
Configure failed.

=== running autoconf in lib/common_test
./otp_build: line 234: autoconf: command not found
make: *** No rule to make target `clean'.  Stop.
/Users/fl4m3/.asdf/plugins/erlang/kerl-home/builds/asdf_24.0-rc1/otp_src_24.0-rc1/configure  --cache-file=/dev/null CC=clang DED_LD=clang DED_LDFLAGS=-m64\ -bundle\ -bundle_loader\ /Users/fl4m3/\.asdf/plugins/erlang/kerl-home/builds/asdf_24\.0-rc1/otp_src_24\.0-rc1/bin/x86_64-apple-darwin18\.7\.0/beam\.smp --enable-darwin-64bit
./otp_build: line 262: ./configure: No such file or directory

As you can see it says No build named asdf_24.0-rc1 which I believe it means that asdf cannot find it.

So I have a couple of questions:

  • Is it possible to install 24.0-rc1 via asdf ? (If so how?)
  • If not, where can I get the version for MacOs, Ubuntu and Windows respectively? (I only found 23.3 Downloads - Erlang/OTP)

Marked As Solved

pmangalakader

pmangalakader

I recently had issues of such with my archlinux installation. Looked into asdf-erlang github repo for solutions and possibly a wiki has been dedicated for it. For Mac, I found this link. It’s the issue with autoconf version.

Also Liked

Fl4m3Ph03n1x

Fl4m3Ph03n1x

It looks like this is an issue with my MacOS brew installation. Since brew is broken again, asdf cannot work.
I wish there was an easy way to simply fix brew or just reset it, but I am out of luck.

Thanks for the help though.

EDIT

I have found a solution in asdf issues list that seems to work:

If anyone else has the same issue.

Where Next?

Popular in Questions Top

srinivasu
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
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
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
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod -- where is this set? Thanks.
New
lk-geimfari
What is most correct way to open, read and parse JSON file with poison? For example if we have example.json file in root of some projec...
New
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New
qwerescape
Is there a way to get the call stack or stack trace at any point in the code? Not from exceptions, but an expression that returns how the...
New
mathew4509
I have a list say x = ["23gh", "56kh", "97mh"] I would like to pass each element to Val in each iteration. Say, in iteration 1 -------...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New

Other popular topics Top

sergio
In Ruby, I can go: User.find_by(email: "foobar@email.com").update(email: "hello@email.com") How can I do something similar in Elixir? ...
New
pmjoe
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
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
vac
Hi, I'm quite new in Elixir and I'm trying to format a string to a PEM format. I have the certificate value like MIIDBTCCAe2...... and ...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
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
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers' Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New

We're in Beta

About us Mission Statement