dbuenzli / logs

Logging infrastructure for OCaml
http://erratique.ch/software/logs
ISC License
86 stars 19 forks source link

The example doesn’t compile #18

Closed argent-smith closed 7 years ago

argent-smith commented 7 years ago

Hello,

I’ve got this output when compiling:

➜  slackbot git:(master) ✗ make
ocaml setup.ml -build
Finished, 0 targets (0 cached) in 00:00:00.
+ /Users/paul/.opam/system/bin/ocamlfind ocamlopt -g -safe-string -linkpkg -package cmdliner -package fmt -package logs src/main.cmx -o src/main.native
File "_none_", line 1:
Error: No implementations provided for the following modules:
         Fmt_cli referenced from src/main.cmx
         Logs_fmt referenced from src/main.cmx
         Fmt_tty referenced from src/main.cmx
         Logs_cli referenced from src/main.cmx
Command exited with code 2.
Compilation unsuccessful after building 4 targets (0 cached) in 00:00:00.
E: Failure("Command ''/Users/paul/.opam/system/bin/ocamlbuild' src/main.native -tag debug' terminated with error code 10")
make: *** [build] Error 1

Here’s my _oasis and the source: https://gist.github.com/argent-smith/f212557f937d85a858388f17d75ea119

How to fix this?

argent-smith commented 7 years ago

Sorted that out: should add packages such as fmt.tty, etc. to my _oasis. Excuse my ignorance. Closing the issue.