Created
May 7, 2019 14:31
-
-
Save Wilfred/21926b41b563bc530e0b0b0239fce5d2 to your computer and use it in GitHub Desktop.
building ocamlformat with opam, missing dependency
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/foss_projects/ocamlformat | |
$ make | |
dune build _build/dev/src/ocamlformat.exe _build/release/src/ocamlformat.exe _build/dev/ocamlformat.install _build/release/ocamlformat.install | |
File "_build/.dune/release/src/dune", line 23, characters 80-84: | |
23 | (libraries cmdliner format_ fpath import ocaml-migrate-parsetree octavius unix uutf)) | |
^^^^ | |
Error: Library "uutf" not found. | |
Hint: try: dune external-lib-deps --missing _build/dev/src/ocamlformat.exe _build/release/src/ocamlformat.exe _build/dev/ocamlformat.install _build/release/ocamlformat.install | |
File "_build/.dune/dev/src/dune", line 23, characters 80-84: | |
23 | (libraries cmdliner format_ fpath import ocaml-migrate-parsetree octavius unix uutf)) | |
^^^^ | |
Error: Library "uutf" not found. | |
Hint: try: dune external-lib-deps --missing _build/dev/src/ocamlformat.exe _build/release/src/ocamlformat.exe _build/dev/ocamlformat.install _build/release/ocamlformat.install | |
make: *** [exe] Error 1 | |
~/foss_projects/ocamlformat | |
$ opam install uutf | |
[NOTE] Package uutf is already installed (current version is 1.0.2). | |
~/foss_projects/ocamlformat | |
$ opam list | |
# Packages matching: installed | |
# Name # Installed # Synopsis | |
astring 0.8.3 Alternative String module for OCaml | |
base v0.12.0 Full standard library replacement for OCaml | |
base-bigarray base | |
base-bytes base Bytes library distributed with the OCaml compiler | |
base-threads base | |
base-unix base | |
cmdliner 1.0.3 Declarative definition of command line interfaces for OCaml | |
conf-m4 1 Virtual package relying on m4 | |
dune 1.9.1 Fast, portable and opinionated build system | |
fpath 0.7.2 File system paths for OCaml | |
jbuilder transition This is a transition package, jbuilder is now named dune. Use the | |
ocaml 4.07.1 The OCaml compiler (virtual package) | |
ocaml-base-compiler 4.07.1 Official release 4.07.1 | |
ocaml-config 1 OCaml Switch Configuration | |
ocaml-migrate-parsetree 1.2.0 Convert OCaml parsetrees between different versions | |
ocamlbuild 0.14.0 OCamlbuild is a build system with builtin rules to easily build m | |
ocamlfind 1.8.0 A library manager for OCaml | |
octavius 1.2.1 Ocamldoc comment syntax parser | |
ppx_derivers 1.2.1 Shared [@@deriving] plugin registry | |
result 1.3 Compatibility Result module | |
sexplib0 v0.12.0 Library containing the definition of S-expressions and some base | |
stdio v0.12.0 Standard IO library for OCaml | |
topkg 1.0.0 The transitory OCaml software packager | |
uchar 0.0.2 Compatibility library for OCaml's Uchar module | |
uutf 1.0.2 Non-blocking streaming Unicode codec for OCaml | |
~/foss_projects/ocamlformat | |
$ opam switch | |
# switch compiler description | |
4.05.0 ocaml-base-compiler.4.05.0 base-bigarray.base base-threads.base base-unix.base | |
ocaml-base-compiler.4.05.0 | |
→ 4.07.1 ocaml-base-compiler.4.07.1 4.07.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment