Hello, I need your help, when I execute in my terminal : opam install ocaml-windows64
opam install ocaml-windows64 -y
The following actions will be performed:
∗ install ocaml-windows64 4.11.1
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-windows64.4.11.1] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of ocaml-windows64 failed at
"/home/uwu/.opam/opam-init/hooks/sandbox.sh build ./build.sh
x86_64-w64-mingw32".
#=== ERROR while compiling ocaml-windows64.4.11.1 =============================#
# context 2.0.5 | linux/x86_64 | ocaml-base-compiler.4.11.1 | git://github.com/ocaml-cross/opam-cross-windows
# path ~/.opam/4.11.1/.opam-switch/build/ocaml-windows64.4.11.1
# command ~/.opam/opam-init/hooks/sandbox.sh build ./build.sh x86_64-w64-mingw32
# exit-code 2
# env-file ~/.opam/log/ocaml-windows64-15115-e0ba4f.env
# output-file ~/.opam/log/ocaml-windows64-15115-e0ba4f.out
### output ###
# [...]
# make -C stdlib \
# CAMLC='$(BOOT_OCAMLC) -use-prims ../runtime/primitives' all
# make[1] : on entre dans le répertoire « /home/uwu/.opam/4.11.1/.opam-switch/build/ocaml-windows64.4.11.1/stdlib »
# /home/uwu/.opam/4.11.1/bin/ocamlrun ../boot/ocamlc -use-prims ../runtime/primitives -strict-sequence -absname -w +a-4-9-41-42-44-45-48 -g -warn-error A -bin-annot -nostdlib -safe-string -strict-formats -nopervasives -c camlinternalFormatBasics.mli
# /home/uwu/.opam/4.11.1/bin/ocamlrun ../boot/ocamlc -use-prims ../runtime/primitives -strict-sequence -absname -w +a-4-9-41-42-44-45-48 -g -warn-error A -bin-annot -nostdlib -safe-string -strict-formats -nopervasives -c camlinternalFormatBasics.ml
# /home/uwu/.opam/4.11.1/bin/ocamlrun ../boot/ocamlc -use-prims ../runtime/primitives -strict-sequence -absname -w +a-4-9-41-42-44-45-48 -g -warn-error A -bin-annot -nostdlib -safe-string -strict-formats -nopervasives -no-alias-deps -w -49 -pp "$AWK -f ./expand_module_aliases.awk" -c stdlib.mli
# sh: 1: gawk: not found
# File "/home/uwu/.opam/4.11.1/.opam-switch/build/ocaml-windows64.4.11.1/stdlib/stdlib.mli", line 1:
# Error: I/O error: gawk -f ./expand_module_aliases.awk 'stdlib.mli' > /tmp/ocamlpp5bf15d
# make[1]: *** [Makefile:209 : stdlib.cmi] Erreur 2
# make[1] : on quitte le répertoire « /home/uwu/.opam/4.11.1/.opam-switch/build/ocaml-windows64.4.11.1/stdlib »
# make: *** [Makefile:153 : coldstart] Erreur 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build ocaml-windows64 4.11.1
└─
╶─ No changes have been performed
Thanks.