intel / vck

Volume Controller for Kubernetes
https://ai.intel.com/kubernetes-volume-controller-kvc-data-management-tailored-for-machine-learning-workloads-in-kubernetes/
Apache License 2.0
67 stars 17 forks source link

Compile failed #73

Closed robscc closed 6 years ago

robscc commented 6 years ago
main.go:30:2: cannot find package "github.com/IntelAI/vck/pkg/client/clientset/versioned" in any of:
        /usr/local/Cellar/go/1.10.2/libexec/src/github.com/IntelAI/vck/pkg/client/clientset/versioned (from $GOROOT)
        /Users/robscc/workspace/go/src/github.com/IntelAI/vck/pkg/client/clientset/versioned (from $GOPATH)
../../go/src/github.com/IntelAI/vck/pkg/hooks/hooks.go:29:2: cannot find package "github.com/IntelAI/vck/pkg/client/clientset/versioned/typed/vck/v1alpha1" in any of:
        /usr/local/Cellar/go/1.10.2/libexec/src/github.com/IntelAI/vck/pkg/client/clientset/versioned/typed/vck/v1alpha1 (from $GOROOT)
        /Users/robscc/workspace/go/src/github.com/IntelAI/vck/pkg/client/clientset/versioned/typed/vck/v1alpha1 (from $GOPATH)
../../go/src/github.com/IntelAI/vck/pkg/controller/controller.go:26:2: cannot find package "github.com/IntelAI/vck/pkg/client/informers/externalversions" in any of:
        /usr/local/Cellar/go/1.10.2/libexec/src/github.com/IntelAI/vck/pkg/client/informers/externalversions (from $GOROOT)
        /Users/robscc/workspace/go/src/github.com/IntelAI/vck/pkg/client/informers/externalversions (from $GOPATH)

it looks have some files missing

balajismaniam commented 6 years ago

How are you compiling it?

robscc commented 6 years ago

just

go build .

it seems missing directory client in pkg

balajismaniam commented 6 years ago

The client directory is auto-generated. Please use the make targets to build VCK.