LoginSignup
1
1

wslでnerves その17

Last updated at Posted at 2023-11-14

概要

wsl(wsl2じゃない)でnervesやってみる。
qemu(x86_64エミュレータ、ラズパイじゃない)でやってみた。
環境を作り直した。
asdfを導入する。

環境

windows 10
ubuntu 20.04LTS(WSL)

手順

$ git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.13.1
Cloning into '/home/ore/.asdf'...
remote: Enumerating objects: 8636, done.
remote: Counting objects: 100% (549/549), done.
remote: Compressing objects: 100% (344/344), done.
remote: Total 8636 (delta 249), reused 441 (delta 194), pack-reused 8087
Receiving objects: 100% (8636/8636), 2.86 MiB | 9.29 MiB/s, done.
Resolving deltas: 100% (5091/5091), done.
Note: switching to '0586b37d03031ae8c3110ea2b51cacaad46c7cdc'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

$ . "$HOME/.asdf/asdf.sh"
$ asdf plugin add erlang
initializing plugin repository...Cloning into '/home/ore/.asdf/repository'...
remote: Enumerating objects: 5553, done.
remote: Counting objects: 100% (144/144), done.
remote: Compressing objects: 100% (66/66), done.
remote: Total 5553 (delta 80), reused 139 (delta 78), pack-reused 5409
Receiving objects: 100% (5553/5553), 1.30 MiB | 14.33 MiB/s, done.
Resolving deltas: 100% (3003/3003), done.

$ asdf list-all erlang
R13B03
R13B04
R14A
R14B
R14B01
R14B02
R14B03
R14B04
R15A
R15B
R15B01
R15B02
R15B03
R15B03-1
R16A_RELEASE_CANDIDATE
R16B
R16B01
R16B01_RC1
R16B02
R16B03
R16B03-1
R16B03_yielding_binary_to_term
17.0-rc1
17.0-rc2
17.0
17.0.1
17.0.2
17.1
17.1.1
17.1.2
17.2
17.2.1
17.2.2
17.3
17.3.1
17.3.2
17.3.3
17.3.4
17.4
17.4.1
17.5
17.5.1
17.5.2
17.5.3
17.5.4
17.5.5
17.5.6
17.5.6.1
17.5.6.2
17.5.6.3
17.5.6.4
17.5.6.5
17.5.6.6
17.5.6.7
17.5.6.8
17.5.6.9
17.5.6.10
18.0-rc1
18.0-rc2
18.0
18.0.1
18.0.2
18.0.3
18.1
18.1.1
18.1.2
18.1.3
18.1.4
18.1.5
18.2
18.2.1
18.2.2
18.2.3
18.2.4.0.1
18.2.4
18.2.4.1
18.3
18.3.1
18.3.2
18.3.3
18.3.4
18.3.4.1
18.3.4.1.1
18.3.4.2
18.3.4.3
18.3.4.4
18.3.4.5
18.3.4.6
18.3.4.7
18.3.4.8
18.3.4.9
18.3.4.10
18.3.4.11
19.0-rc1
19.0-rc2
19.0
19.0.1
19.0.2
19.0.3
19.0.4
19.0.5
19.0.6
19.0.7
19.1
19.1.1
19.1.2
19.1.3
19.1.4
19.1.5
19.1.6
19.1.6.1
19.2
19.2.1
19.2.2
19.2.3
19.2.3.1
19.3
19.3.1
19.3.2
19.3.3
19.3.4
19.3.5
19.3.6
19.3.6.1
19.3.6.2
19.3.6.3
19.3.6.4
19.3.6.5
19.3.6.6
19.3.6.7
19.3.6.8
19.3.6.9
19.3.6.10
19.3.6.11
19.3.6.12
19.3.6.13
20.0-rc1
20.0-rc2
20.0
20.0.1
20.0.2
20.0.3
20.0.4
20.0.5
20.1
20.1.1
20.1.2
20.1.3
20.1.4
20.1.5
20.1.6
20.1.7
20.1.7.1
20.2.0.1
20.2
20.2.1
20.2.2
20.2.3
20.2.4
20.3
20.3.1
20.3.2
20.3.2.1
20.3.3
20.3.4
20.3.5
20.3.6
20.3.7
20.3.8
20.3.8.1
20.3.8.2
20.3.8.3
20.3.8.4
20.3.8.5
20.3.8.6
20.3.8.7
20.3.8.8
20.3.8.9
20.3.8.10
20.3.8.11
20.3.8.12
20.3.8.13
20.3.8.14
20.3.8.15
20.3.8.16
20.3.8.17
20.3.8.18
20.3.8.19
20.3.8.20
20.3.8.21
20.3.8.22
20.3.8.23
20.3.8.24
20.3.8.25
20.3.8.26
21.0-rc1
21.0-rc2
21.0
21.0.1
21.0.2
21.0.3
21.0.4
21.0.5
21.0.6
21.0.7
21.0.8
21.0.9
21.1
21.1.1
21.1.2
21.1.3
21.1.4
21.2
21.2.1
21.2.2
21.2.3
21.2.4
21.2.5
21.2.6
21.2.7
21.3
21.3.1
21.3.2
21.3.3
21.3.4
21.3.5
21.3.6
21.3.7
21.3.7.1
21.3.8
21.3.8.1
21.3.8.2
21.3.8.3
21.3.8.4
21.3.8.5
21.3.8.6
21.3.8.7
21.3.8.8
21.3.8.9
21.3.8.10
21.3.8.11
21.3.8.12
21.3.8.13
21.3.8.14
21.3.8.15
21.3.8.16
21.3.8.17
21.3.8.18
21.3.8.19
21.3.8.20
21.3.8.21
21.3.8.22
21.3.8.23
21.3.8.24
22.0-rc1
22.0-rc2
22.0-rc3
22.0
22.0.1
22.0.2
22.0.3
22.0.4
22.0.5
22.0.6
22.0.7
22.1
22.1.1
22.1.2
22.1.3
22.1.4
22.1.5
22.1.6
22.1.7
22.1.8
22.1.8.1
22.2
22.2.1
22.2.2
22.2.3
22.2.4
22.2.5
22.2.6
22.2.7
22.2.8
22.3
22.3.1
22.3.2
22.3.3
22.3.4
22.3.4.1
22.3.4.2
22.3.4.3
22.3.4.4
22.3.4.5
22.3.4.6
22.3.4.7
22.3.4.8
22.3.4.9
22.3.4.10
22.3.4.11
22.3.4.12
22.3.4.12.1
22.3.4.13
22.3.4.14
22.3.4.15
22.3.4.16
22.3.4.17
22.3.4.18
22.3.4.19
22.3.4.20
22.3.4.21
22.3.4.22
22.3.4.23
22.3.4.24
22.3.4.25
22.3.4.26
23.0-rc1
23.0-rc2
23.0-rc3
23.0
23.0.1
23.0.2
23.0.3
23.0.4
23.1
23.1.1
23.1.2
23.1.3
23.1.4
23.1.4.1
23.1.5
23.2
23.2.1
23.2.2
23.2.3
23.2.4
23.2.5
23.2.6
23.2.7
23.2.7.1
23.2.7.2
23.2.7.3
23.2.7.4
23.2.7.5
23.3
23.3.1
23.3.2
23.3.3
23.3.4
23.3.4.1
23.3.4.2
23.3.4.3
23.3.4.4
23.3.4.5
23.3.4.6
23.3.4.7
23.3.4.8
23.3.4.9
23.3.4.10
23.3.4.11
23.3.4.12
23.3.4.13
23.3.4.14
23.3.4.15
23.3.4.16
23.3.4.17
23.3.4.18
23.3.4.19
24.0-rc1
24.0-rc2
24.0-rc3
24.0
24.0.1
24.0.2
24.0.3
24.0.4
24.0.5
24.0.6
24.1
24.1.1
24.1.2
24.1.3
24.1.4
24.1.5
24.1.6
24.1.7
24.2
24.2.1
24.2.2
24.3
24.3.1
24.3.2
24.3.3
24.3.4
24.3.4.1
24.3.4.2
24.3.4.3
24.3.4.4
24.3.4.5
24.3.4.6
24.3.4.7
24.3.4.8
24.3.4.9
24.3.4.10
24.3.4.11
24.3.4.12
24.3.4.13
24.3.4.14
25.0-rc1
25.0-rc2
25.0-rc3
25.0
25.0.1
25.0.2
25.0.3
25.0.4
25.1
25.1.1
25.1.2
25.1.2.1
25.2
25.2.1
25.2.2
25.2.3
25.3
25.3.1
25.3.2
25.3.2.1
25.3.2.2
25.3.2.3
25.3.2.4
25.3.2.5
25.3.2.6
25.3.2.7
26.0-rc1
26.0-rc2
26.0-rc3
26.0
26.0.1
26.0.2
26.1
26.1.1
26.1.2


$ asdf plugin add elixir

$ asdf list-all elixir
0.12.4
0.12.5
0.13.0
0.13.1
0.13.2
0.13.3
0.14.0
0.14.1
0.14.2
0.14.3
0.15.0
0.15.1
1.0.0
1.0.0-otp-17
1.0.0-rc1
1.0.0-rc1-otp-17
1.0.0-rc2
1.0.0-rc2-otp-17
1.0.1
1.0.1-otp-17
1.0.2
1.0.2-otp-17
1.0.3
1.0.3-otp-17
1.0.4
1.0.4-otp-17
1.0.5
1.0.5-otp-17
1.0.5-otp-18
1.1.0
1.1.0-otp-17
1.1.0-otp-18
1.1.0-rc.0
1.1.0-rc.0-otp-17
1.1.0-rc.0-otp-18
1.1.1
1.1.1-otp-17
1.1.1-otp-18
1.2.0
1.2.0-otp-18
1.2.0-rc.0
1.2.0-rc.0-otp-18
1.2.0-rc.1
1.2.0-rc.1-otp-18
1.2.1
1.2.1-otp-18
1.2.2
1.2.2-otp-18
1.2.3
1.2.3-otp-18
1.2.4
1.2.4-otp-18
1.2.5
1.2.5-otp-18
1.2.6
1.2.6-otp-18
1.2.6-otp-19
1.3.0
1.3.0-otp-18
1.3.0-otp-19
1.3.0-rc.0
1.3.0-rc.0-otp-18
1.3.0-rc.0-otp-19
1.3.0-rc.1
1.3.0-rc.1-otp-18
1.3.0-rc.1-otp-19
1.3.1
1.3.1-otp-18
1.3.1-otp-19
1.3.2
1.3.2-otp-18
1.3.2-otp-19
1.3.3
1.3.3-otp-18
1.3.3-otp-19
1.3.4
1.3.4-otp-18
1.3.4-otp-19
1.4.0
1.4.0-otp-18
1.4.0-otp-19
1.4.0-rc.0
1.4.0-rc.0-otp-18
1.4.0-rc.0-otp-19
1.4.0-rc.0-otp-20
1.4.0-rc.1
1.4.0-rc.1-otp-18
1.4.0-rc.1-otp-19
1.4.0-rc.1-otp-20
1.4.1
1.4.1-otp-18
1.4.1-otp-19
1.4.2
1.4.2-otp-18
1.4.2-otp-19
1.4.3
1.4.3-otp-18
1.4.3-otp-19
1.4.4
1.4.4-otp-18
1.4.4-otp-19
1.4.5
1.4.5-otp-18
1.4.5-otp-19
1.4.5-otp-20
1.5.0
1.5.0-otp-18
1.5.0-otp-19
1.5.0-otp-20
1.5.0-rc.0
1.5.0-rc.0-otp-18
1.5.0-rc.0-otp-19
1.5.0-rc.0-otp-20
1.5.0-rc.1
1.5.0-rc.1-otp-18
1.5.0-rc.1-otp-19
1.5.0-rc.1-otp-20
1.5.0-rc.2
1.5.0-rc.2-otp-18
1.5.0-rc.2-otp-19
1.5.0-rc.2-otp-20
1.5.1
1.5.1-otp-18
1.5.1-otp-19
1.5.1-otp-20
1.5.2
1.5.2-otp-18
1.5.2-otp-19
1.5.2-otp-20
1.5.3
1.5.3-otp-18
1.5.3-otp-19
1.5.3-otp-20
1.6.0
1.6.0-otp-19
1.6.0-otp-20
1.6.0-rc.0
1.6.0-rc.0-otp-19
1.6.0-rc.0-otp-20
1.6.0-rc.1
1.6.0-rc.1-otp-19
1.6.0-rc.1-otp-20
1.6.1
1.6.1-otp-19
1.6.1-otp-20
1.6.2
1.6.2-otp-19
1.6.2-otp-20
1.6.3
1.6.3-otp-19
1.6.3-otp-20
1.6.4
1.6.4-otp-19
1.6.4-otp-20
1.6.5
1.6.5-otp-19
1.6.5-otp-20
1.6.5-otp-21
1.6.6
1.6.6-otp-19
1.6.6-otp-20
1.6.6-otp-21
1.7.0
1.7.0-otp-19
1.7.0-otp-20
1.7.0-otp-21
1.7.0-otp-22
1.7.0-rc.0
1.7.0-rc.0-otp-19
1.7.0-rc.0-otp-20
1.7.0-rc.0-otp-21
1.7.0-rc.0-otp-22
1.7.0-rc.1
1.7.0-rc.1-otp-19
1.7.0-rc.1-otp-20
1.7.0-rc.1-otp-21
1.7.0-rc.1-otp-22
1.7.1
1.7.1-otp-19
1.7.1-otp-20
1.7.1-otp-21
1.7.1-otp-22
1.7.2
1.7.2-otp-19
1.7.2-otp-20
1.7.2-otp-21
1.7.2-otp-22
1.7.3
1.7.3-otp-19
1.7.3-otp-20
1.7.3-otp-21
1.7.3-otp-22
1.7.4
1.7.4-otp-19
1.7.4-otp-20
1.7.4-otp-21
1.7.4-otp-22
1.8.0
1.8.0-otp-20
1.8.0-otp-21
1.8.0-otp-22
1.8.0-rc.0
1.8.0-rc.0-otp-20
1.8.0-rc.0-otp-21
1.8.0-rc.0-otp-22
1.8.0-rc.1
1.8.0-rc.1-otp-20
1.8.0-rc.1-otp-21
1.8.0-rc.1-otp-22
1.8.1
1.8.1-otp-20
1.8.1-otp-21
1.8.1-otp-22
1.8.2
1.8.2-otp-20
1.8.2-otp-21
1.8.2-otp-22
1.9.0
1.9.0-otp-20
1.9.0-otp-21
1.9.0-otp-22
1.9.0-rc.0
1.9.0-rc.0-otp-20
1.9.0-rc.0-otp-21
1.9.0-rc.0-otp-22
1.9.1
1.9.1-otp-20
1.9.1-otp-21
1.9.1-otp-22
1.9.2
1.9.2-otp-20
1.9.2-otp-21
1.9.2-otp-22
1.9.3
1.9.3-otp-20
1.9.3-otp-21
1.9.3-otp-22
1.9.4
1.9.4-otp-20
1.9.4-otp-21
1.9.4-otp-22
1.10.0
1.10.0-otp-21
1.10.0-otp-22
1.10.0-rc.0
1.10.0-rc.0-otp-21
1.10.0-rc.0-otp-22
1.10.1
1.10.1-otp-21
1.10.1-otp-22
1.10.2
1.10.2-otp-21
1.10.2-otp-22
1.10.3
1.10.3-otp-21
1.10.3-otp-22
1.10.3-otp-23
1.10.4
1.10.4-otp-21
1.10.4-otp-22
1.10.4-otp-23
1.11.0
1.11.0-otp-21
1.11.0-otp-22
1.11.0-otp-23
1.11.0-rc.0
1.11.0-rc.0-otp-21
1.11.0-rc.0-otp-22
1.11.0-rc.0-otp-23
1.11.1
1.11.1-otp-21
1.11.1-otp-22
1.11.1-otp-23
1.11.2
1.11.2-otp-21
1.11.2-otp-22
1.11.2-otp-23
1.11.3
1.11.3-otp-21
1.11.3-otp-22
1.11.3-otp-23
1.11.4
1.11.4-otp-21
1.11.4-otp-22
1.11.4-otp-23
1.11.4-otp-24
1.12.0
1.12.0-otp-22
1.12.0-otp-23
1.12.0-otp-24
1.12.0-rc.0
1.12.0-rc.0-otp-21
1.12.0-rc.0-otp-22
1.12.0-rc.0-otp-23
1.12.0-rc.0-otp-24
1.12.0-rc.1
1.12.0-rc.1-otp-22
1.12.0-rc.1-otp-23
1.12.0-rc.1-otp-24
1.12.1
1.12.1-otp-22
1.12.1-otp-23
1.12.1-otp-24
1.12.2
1.12.2-otp-22
1.12.2-otp-23
1.12.2-otp-24
1.12.3
1.12.3-otp-22
1.12.3-otp-23
1.12.3-otp-24
1.13.0
1.13.0-otp-22
1.13.0-otp-23
1.13.0-otp-24
1.13.0-otp-25
1.13.0-rc.0
1.13.0-rc.0-otp-22
1.13.0-rc.0-otp-23
1.13.0-rc.0-otp-24
1.13.0-rc.0-otp-25
1.13.0-rc.1
1.13.0-rc.1-otp-22
1.13.0-rc.1-otp-23
1.13.0-rc.1-otp-24
1.13.0-rc.1-otp-25
1.13.1
1.13.1-otp-22
1.13.1-otp-23
1.13.1-otp-24
1.13.1-otp-25
1.13.2
1.13.2-otp-22
1.13.2-otp-23
1.13.2-otp-24
1.13.2-otp-25
1.13.3
1.13.3-otp-22
1.13.3-otp-23
1.13.3-otp-24
1.13.3-otp-25
1.13.4
1.13.4-otp-22
1.13.4-otp-23
1.13.4-otp-24
1.13.4-otp-25
1.14.0
1.14.0-otp-23
1.14.0-otp-24
1.14.0-otp-25
1.14.0-rc.0
1.14.0-rc.0-otp-23
1.14.0-rc.0-otp-24
1.14.0-rc.0-otp-25
1.14.0-rc.1
1.14.0-rc.1-otp-23
1.14.0-rc.1-otp-24
1.14.0-rc.1-otp-25
1.14.1
1.14.1-otp-23
1.14.1-otp-24
1.14.1-otp-25
1.14.2
1.14.2-otp-23
1.14.2-otp-24
1.14.2-otp-25
1.14.3
1.14.3-otp-23
1.14.3-otp-24
1.14.3-otp-25
1.14.4
1.14.4-otp-23
1.14.4-otp-24
1.14.4-otp-25
1.14.4-otp-26
1.14.5
1.14.5-otp-23
1.14.5-otp-24
1.14.5-otp-25
1.14.5-otp-26
1.15.0
1.15.0-otp-24
1.15.0-otp-25
1.15.0-otp-26
1.15.0-rc.0
1.15.0-rc.0-otp-24
1.15.0-rc.0-otp-25
1.15.0-rc.0-otp-26
1.15.0-rc.1
1.15.0-rc.1-otp-24
1.15.0-rc.1-otp-25
1.15.0-rc.1-otp-26
1.15.0-rc.2
1.15.0-rc.2-otp-24
1.15.0-rc.2-otp-25
1.15.0-rc.2-otp-26
1.15.1
1.15.1-otp-24
1.15.1-otp-25
1.15.1-otp-26
1.15.2
1.15.2-otp-24
1.15.2-otp-25
1.15.2-otp-26
1.15.3
1.15.3-otp-24
1.15.3-otp-25
1.15.3-otp-26
1.15.4
1.15.4-otp-24
1.15.4-otp-25
1.15.4-otp-26
1.15.5
1.15.5-otp-24
1.15.5-otp-25
1.15.5-otp-26
1.15.6
1.15.6-otp-24
1.15.6-otp-25
1.15.6-otp-26
1.15.7
1.15.7-otp-24
1.15.7-otp-25
1.15.7-otp-26
1.16.0-rc.0
1.16.0-rc.0-otp-24
1.16.0-rc.0-otp-25
1.16.0-rc.0-otp-26
main
main-otp-22
main-otp-23
main-otp-24
main-otp-25
main-otp-26
master
master-otp-21
master-otp-22
master-otp-23
master-otp-24



エラー発生

$ asdf install erlang 26.1.2
asdf_26.1.2 is not a kerl-managed Erlang/OTP installation
No build named asdf_26.1.2
Downloading 26.1.2 to /home/ore/.asdf/downloads/erlang/26.1.2...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  102M  100  102M    0     0  9206k      0  0:00:11  0:00:11 --:--:-- 9862k
Extracting source code
Building Erlang/OTP 26.1.2 (asdf_26.1.2), please wait...
WARNING: It appears that a required development package 'libssl-dev' is not installed.
WARNING: It appears that a required development package 'libncurses5-dev' is not installed.
Configure failed.
checking for kstat_open in -lkstat... (cached) no
checking for tgetent in -ltinfo... no
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltermcap... no
checking for tgetent in -ltermlib... no
configure: error: No curses library functions found
ERROR: /home/ore/.asdf/plugins/erlang/kerl-home/builds/asdf_26.1.2/otp_src_26.1.2/erts/configure failed!
./configure: 370: kill: No such process


Please see /home/ore/.asdf/plugins/erlang/kerl-home/builds/asdf_26.1.2/otp_build_26.1.2.log for full details.

対処

$ sudo apt install libssl-dev libncurses5-dev
[sudo] password for ore:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libncurses-dev libssl1.1
Suggested packages:
  ncurses-doc libssl-doc
The following NEW packages will be installed:
  libncurses-dev libncurses5-dev libssl-dev
The following packages will be upgraded:
  libssl1.1
1 upgraded, 3 newly installed, 0 to remove and 102 not upgraded.
Need to get 3246 kB of archives.
After this operation, 10.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libssl1.1 amd64 1.1.1f-1ubuntu2.20 [1321 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libncurses-dev amd64 6.2-0ubuntu2.1 [340 kB]
Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libncurses5-dev amd64 6.2-0ubuntu2.1 [984 B]
Get:4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libssl-dev amd64 1.1.1f-1ubuntu2.20 [1584 kB]
Fetched 3246 kB in 3s (1003 kB/s)
Preconfiguring packages ...
(Reading database ... 71968 files and directories currently installed.)
Preparing to unpack .../libssl1.1_1.1.1f-1ubuntu2.20_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.1f-1ubuntu2.20) over (1.1.1f-1ubuntu2.19) ...
Selecting previously unselected package libncurses-dev:amd64.
Preparing to unpack .../libncurses-dev_6.2-0ubuntu2.1_amd64.deb ...
Unpacking libncurses-dev:amd64 (6.2-0ubuntu2.1) ...
Selecting previously unselected package libncurses5-dev:amd64.
Preparing to unpack .../libncurses5-dev_6.2-0ubuntu2.1_amd64.deb ...
Unpacking libncurses5-dev:amd64 (6.2-0ubuntu2.1) ...
Selecting previously unselected package libssl-dev:amd64.
Preparing to unpack .../libssl-dev_1.1.1f-1ubuntu2.20_amd64.deb ...
Unpacking libssl-dev:amd64 (1.1.1f-1ubuntu2.20) ...
Setting up libncurses-dev:amd64 (6.2-0ubuntu2.1) ...
Setting up libssl1.1:amd64 (1.1.1f-1ubuntu2.20) ...
Setting up libssl-dev:amd64 (1.1.1f-1ubuntu2.20) ...
Setting up libncurses5-dev:amd64 (6.2-0ubuntu2.1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...


$ asdf install erlang 26.1.2
asdf_26.1.2 is not a kerl-managed Erlang/OTP installation
The asdf_26.1.2 build has been deleted
Extracting source code
Building Erlang/OTP 26.1.2 (asdf_26.1.2), please wait...
APPLICATIONS DISABLED (See: /home/ore/.asdf/plugins/erlang/kerl-home/builds/asdf_26.1.2/otp_build_26.1.2.log)
 * jinterface     : No Java compiler found
 * odbc           : ODBC library - link check failed

APPLICATIONS INFORMATION (See: /home/ore/.asdf/plugins/erlang/kerl-home/builds/asdf_26.1.2/otp_build_26.1.2.log)
 * wx             : No OpenGL headers found, wx will NOT be usable
 * No GLU headers found, wx will NOT be usable
 * wxWidgets was not compiled with --enable-webview or wxWebView developer package is not installed, wxWebView will NOT be available
 *         wxWidgets must be installed on your system.
 *         Please check that wx-config is in path, the directory
 *         where wxWidgets libraries are installed (returned by
 *         'wx-config --libs' or 'wx-config --static --libs' command)
 *         is in LD_LIBRARY_PATH or equivalent variable and
 *         wxWidgets version is 3.0.2 or above.

DOCUMENTATION INFORMATION (See: /home/ore/.asdf/plugins/erlang/kerl-home/builds/asdf_26.1.2/otp_build_26.1.2.log)
 * documentation  :
 *                  xsltproc is missing.
 *                  fop is missing.
 *                  xmllint is missing.
 *                  The documentation cannot be built.

Erlang/OTP 26.1.2 (asdf_26.1.2) has been successfully built
Cleaning up compilation products for 26.1.2
Cleaned up compilation products for 26.1.2 under /home/ore/.asdf/plugins/erlang/kerl-home/builds

$ asdf install elixir 1.15.7-otp-26
==> Checking whether specified Elixir release exists...
==> Downloading 1.15.7-otp-26 to /home/ore/.asdf/downloads/elixir/1.15.7-otp-26/elixir-precompiled-1.15.7-otp-26.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 6646k  100 6646k    0     0  5308k      0  0:00:01  0:00:01 --:--:-- 5308k
==> Copying release into place

$ asdf global erlang 26.1.2
$ asdf global elixir 1.15.7-otp-26


確認

$ iex
Erlang/OTP 26 [erts-14.1.1] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [jit:ns]

Interactive Elixir (1.15.7) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)>
BREAK: (a)bort (A)bort with dump (c)ontinue (p)roc info (i)nfo
       (l)oaded (v)ersion (k)ill (D)b-tables (d)istribution
a

以上。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1