1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119 |
+ opam init --yes
No configuration file found, using built-in defaults.
Checking for available remotes: rsync and local, git, mercurial.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
<><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
<><> Required setup - please read <><><><><><><><><><><><><><><><><><><><><><><>
In normal operation, opam only alters files within ~/.opam.
However, to best integrate with your system, some environment variables
should be set. If you allow it to, this initialisation step will update
your bash configuration by adding the following line to ~/.profile:
test -r /home/build/.opam/opam-init/init.sh && . /home/build/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true
Otherwise, every time you want to access your opam installation, you will
need to run:
eval $(opam env)
You can always re-run this setup with 'opam init' later.
[WARNING] Shell not updated in non-interactive mode: use --shell-setup
<><> Creating initial switch 'default' (invariant ["ocaml" {>= "4.05.0"}] - initially with ocaml-base-compiler)
<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml" {>= "4.05.0"}]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
∗ installed base-bigarray.base
∗ installed base-threads.base
∗ installed base-unix.base
∗ installed host-arch-x86_64.1
∗ installed host-system-other.1
∗ installed ocaml-options-vanilla.1
⬇ retrieved ocaml-config.3 (2 extra sources)
⬇ retrieved ocaml-base-compiler.5.2.0 (https://opam.ocaml.org/cache)
∗ installed ocaml-base-compiler.5.2.0
∗ installed ocaml-config.3
∗ installed ocaml.5.2.0
∗ installed base-domains.base
∗ installed base-nnp.base
Done.
# Run eval $(opam env --switch=default) to update the current shell environment
++ opam env
+ eval 'OPAM_SWITCH_PREFIX='\''/home/build/.opam/default'\'';' export 'OPAM_SWITCH_PREFIX;' 'CAML_LD_LIBRARY_PATH='\''/home/build/.opam/default/lib/stublibs:/home/build/.opam/default/lib/ocaml/stublibs:/home/build/.opam/default/lib/ocaml'\'';' export 'CAML_LD_LIBRARY_PATH;' 'OCAML_TOPLEVEL_PATH='\''/home/build/.opam/default/lib/toplevel'\'';' export 'OCAML_TOPLEVEL_PATH;' 'PATH='\''/home/build/.opam/default/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/build/bin'\'';' export 'PATH;'
++ OPAM_SWITCH_PREFIX=/home/build/.opam/default
++ export OPAM_SWITCH_PREFIX
++ CAML_LD_LIBRARY_PATH=/home/build/.opam/default/lib/stublibs:/home/build/.opam/default/lib/ocaml/stublibs:/home/build/.opam/default/lib/ocaml
++ export CAML_LD_LIBRARY_PATH
++ OCAML_TOPLEVEL_PATH=/home/build/.opam/default/lib/toplevel
++ export OCAML_TOPLEVEL_PATH
++ PATH=/home/build/.opam/default/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/build/bin
++ export PATH
+ cd sylvan/bs
+ opam install --deps-only --yes .
The following actions will be performed:
∗ install ocamlbuild 0.15.0
∗ install ocamlfind 1.9.6
∗ install seq base
∗ install conf-gmp 4
∗ install conf-pkg-config 3
∗ install dune 3.16.0
∗ install topkg 1.0.7
∗ install zarith 1.14
∗ install stdlib-shims 0.3.0
∗ install sexplib0 v0.17.0
∗ install ppx_derivers 1.2.1
∗ install ocaml-compiler-libs v0.17.0
∗ install ocaml_intrinsics_kernel v0.17.1
∗ install menhirSdk 20240715
∗ install menhirLib 20240715
∗ install menhirCST 20240715
∗ install jane-street-headers v0.17.0
∗ install gen 1.1
∗ install csexp 1.5.2
∗ install cppo 1.7.0
∗ install uucp 16.0.0
∗ install ppxlib 0.33.0
∗ install menhir 20240715
∗ install dune-configurator 3.16.0
∗ install sedlex 3.2
∗ install ppxlib_jane v0.17.0
∗ install ppx_deriving 6.0.2
∗ install base v0.17.1
∗ install stdio v0.17.0
∗ install ppx_sexp_conv v0.17.0
∗ install ppx_here v0.17.0
∗ install ppx_globalize v0.17.0
∗ install ppx_enumerate v0.17.0
∗ install ppx_compare v0.17.0
∗ install ppx_cold v0.17.0
∗ install ppx_optcomp v0.17.0
∗ install ppx_hash v0.17.0
∗ install ppx_assert v0.17.0
∗ install ppx_base v0.17.0
∗ install jst-config v0.17.0
∗ install time_now v0.17.0
∗ install ppx_inline_test v0.17.0
∗ install ppx_expect v0.17.0
===== ∗ 43 =====
The following system packages will first need to be installed:
pkgconf
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
Let opam run your package manager to install the required system packages?
(answer 'n' for other options) [Y/n] n
This command should get the requirements installed:
pkg install pkgconf
[NOTE] Use 'opam option depext-run-installs=false' if you don't want to be prompted again.
You can retry with '--assume-depexts' to skip this check, or run 'opam option depext=false' to permanently disable handling of system packages altogether.
|