machine-drivers / docker-machine-driver-xhyve

docker-machine/minikube/minishift driver plugin for xhyve/hyperkit (native macOS hypervisor.framework)
https://godoc.org/github.com/machine-drivers/docker-machine-driver-xhyve
BSD 3-Clause "New" or "Revised" License
888 stars 74 forks source link

Cannot build with Go and Make #167

Closed tomasbasham closed 7 years ago

tomasbasham commented 7 years ago

Going through the instructions to build the driver with Go and Make but hitting the following error when running make install:

Tomass-MacBook-Pro docker-machine-driver-xhyve (master)$ make install
==> Build vendor/build/lib9p/lib9p.a...
File "mirage_block_ocaml.ml", line 60, characters 19-33:
Error: Unbound module Block.Config
vendor/github.com/zchee/libhyperkit/xhyve_qcow2.go:5: running "ocamlfind": exit status 2
make: *** [vendor/github.com/zchee/libhyperkit/mirage_block_ocaml.o] Error 1
Tomass-MacBook-Pro docker-machine-driver-xhyve (master)$ 
tomasbasham commented 7 years ago

Updating OCaml has fixed the issue.

I was on 4.02.2 and updated to 4.04.0.

keyone commented 6 years ago

I have the same error but with OCaml 4.05.0

→ make install ==> Build vendor/build/lib9p/lib9p.a... File "mirage_block_ocaml.ml", line 60, characters 19-33: Error: Unbound module Block.Config vendor/github.com/zchee/libhyperkit/xhyve_qcow2.go:5: running "ocamlfind": exit status 2 make: *** [vendor/github.com/zchee/libhyperkit/mirage_block_ocaml.o] Error 1