게시판 인덱스

 
 FAQFAQ   검색검색   멤버리스트멤버리스트   사용자 그룹사용자 그룹   사용자 등록하기사용자 등록하기 
 개인 정보개인 정보   비공개 메시지를 확인하려면 로그인하십시오비공개 메시지를 확인하려면 로그인하십시오   로그인로그인 

ocaml 버전 변경 관련 질문드립니다.

 
이 게시판은 잠겼으므로 글을 올리거나, 답변을 하거나 수정을 할 수 없습니다   이 주제는 잠겼으므로 답변을 하거나 수정을 할 수 없습니다     게시판 인덱스 -> 4190.310 Programming Languages (Spring 2022)
이전 주제 보기 :: 다음 주제 보기  
글쓴이 메시지
윤장호



가입: 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

올리기올려짐: 2022년3월7일 10:32    주제: 인용과 함께 답변

안녕하세요,

가능하시다면 다음을 참고하여 martini 사용을 권장드립니다.
https://bacchus.snucse.org/contents/id-group-system_students.pdf

사용이 제한되신다면 버전 간 차이를 참고하셔서 최신 OCaml을 사용하셔도 됩니다.
개인적으로는 2019년 가을 수업을 수강할 때 이렇게 하였습니다.

감사합니다.
위로
사용자 정보 보기 비밀 메시지 보내기 이메일 보내기 글 올린이의 웹사이트 방문
이전 글 표시:   
이 게시판은 잠겼으므로 글을 올리거나, 답변을 하거나 수정을 할 수 없습니다   이 주제는 잠겼으므로 답변을 하거나 수정을 할 수 없습니다     게시판 인덱스 -> 4190.310 Programming Languages (Spring 2022) 시간대: GMT + 9 시간(한국)
페이지 11

 
건너뛰기:  
새로운 주제를 올릴 수 없습니다
답글을 올릴 수 없습니다
주제를 수정할 수 없습니다
올린 글을 삭제할 수 없습니다
투표를 할 수 없습니다


Powered by phpBB 2.0.21-7 (Debian) © 2001, 2005 phpBB Group
Translated by kss & drssay