이전 주제 보기 :: 다음 주제 보기 |
글쓴이 |
메시지 |
윤장호
가입: 2022년 3월 6일 올린 글: 2
|
올려짐: 2022년3월6일 23:28 주제: ocaml 버전 변경 관련 질문드립니다. |
|
|
안녕하세요. 컴퓨터공학부 학점교류 중인 윤장호입니다.
ocaml 버전 변경 관련하여 어려움이 있어 질문드립니다. opam switch create 4.02.3 커맨드에 다음과 같은 에러가 뜹니다. 해결방법을 도와주시면 감사드리겠습니다.
justin00415@justin00415-virtual-machine:~$ opam switch create 4.02.3
<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "4.02.3"} | "ocaml-system" {= "4.02.3"}]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
∗ installed base-bigarray.base
∗ installed base-threads.base
∗ installed base-unix.base
⬇ retrieved ocaml-base-compiler.4.02.3 (https://opam.ocaml.org/cache)
[ERROR] The compilation of ocaml-base-compiler.4.02.3 failed at "make world.opt".
#=== ERROR while compiling ocaml-base-compiler.4.02.3 =========================#
# context 2.1.0 | linux/x86_64 | | https://opam.ocaml.org#0320214b
# path ~/.opam/4.02.3/.opam-switch/build/ocaml-base-compiler.4.02.3
# command ~/.opam/opam-init/hooks/sandbox.sh build make world.opt
# exit-code 1
# env-file ~/.opam/log/ocaml-base-compiler-28608-74f4e0.env
# output-file ~/.opam/log/ocaml-base-compiler-28608-74f4e0.out
### output ###
# bwrap: execvp make: No such file or directory
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build ocaml-base-compiler 4.02.3
└─
┌─ The following changes have been performed (the rest was aborted)
│ ∗ install base-bigarray base
│ ∗ install base-threads base
│ ∗ install base-unix base
└─
# Run eval $(opam env --switch=4.02.3) to update the current shell environment
Switch initialisation failed: clean up? ('n' will leave the switch partially installed) [Y/n] y |
|
위로 |
|
|
이재호 Site Admin
가입: 2022년 3월 6일 올린 글: 83
|
|
위로 |
|
|
|