Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make install error cd: /opt/Knitter/hack/build/src/github.com/ZTE/Knitter/knitter-manager: No such file or directory #40

Open
qiweichao opened this issue Dec 25, 2018 · 2 comments

Comments

@qiweichao
Copy link

** Question?(Go ahead, ignore issue template) **
when I make install Project
,get the error:

[root@localhost Knitter]# make build
hack/build/manager.sh build
before GOROOT=/root/go/bin/ GOPATH=/root/workspace GO= KNITTERPATH=
filedir=/opt/Knitter/hack/build gopath=/opt/Knitter/hack/build
after GOROOT=/root/go/bin/ GOPATH=/opt/Knitter/hack/build GO=/root/go/bin//bin KNITTERPATH=/opt/Knitter/hack/build/src/github.com/ZTE/Knitter
============== building knitter-manager ==============
hack/build/manager.sh: line 27: cd: /opt/Knitter/hack/build/src/github.com/ZTE/Knitter/knitter-manager: No such file or directory

Bug or Feature?:

Expected Behavior:

Current Behavior:

How to reproduce(The more detailed the better):

Your Environment:

  • Kubernetes version:
  • Hardware or VM configuration:
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
@guangxuli
Copy link
Contributor

guangxuli commented Jan 22, 2019

Do you set GOPATH correctly? @qiweichao

@guangxuli
Copy link
Contributor

correct results:

cloud@ubuntu:~/go/src/github.com/ZTE/Knitter$ make build
hack/build/manager.sh build
before GOROOT=/usr/local/src/go/    GOPATH=/home/cloud/go  GO=  KNITTERPATH=
filedir=/home/cloud/go/src/github.com/ZTE/Knitter/hack/build  gopath=/home/cloud/go
after GOROOT=/usr/local/src/go/    GOPATH=/home/cloud/go  GO=/usr/local/src/go//bin   KNITTERPATH=/home/cloud/go/src/github.com/ZTE/Knitter
============== building knitter-manager ==============
++++ build knitter-manager success
mkdir -p _output/bin
mv ./knitter-manager/knitter-manager   _output/bin
hack/build/agent.sh build
before GOROOT=/usr/local/src/go/    GOPATH=/home/cloud/go  GO=  KNITTERPATH=
filedir=/home/cloud/go/src/github.com/ZTE/Knitter/hack/build  gopath=/home/cloud/go
after GOROOT=/usr/local/src/go/    GOPATH=/home/cloud/go  GO=/usr/local/src/go//bin   KNITTERPATH=/home/cloud/go/src/github.com/ZTE/Knitter
============== building knitter-agent ==============
++++ build knitter-agent success
mkdir -p _output/bin
mv ./knitter-agent/knitter-agent   _output/bin
hack/build/plugin.sh build
before GOROOT=/usr/local/src/go/    GOPATH=/home/cloud/go  GO=  KNITTERPATH=
filedir=/home/cloud/go/src/github.com/ZTE/Knitter/hack/build  gopath=/home/cloud/go
after GOROOT=/usr/local/src/go/    GOPATH=/home/cloud/go  GO=/usr/local/src/go//bin   KNITTERPATH=/home/cloud/go/src/github.com/ZTE/Knitter
============== building knitter-plugin ==============
++++ build knitter-plugin success
mkdir -p _output/bin
mv ./knitter-plugin/knitter-plugin   _output/bin
hack/build/monitor.sh build
before GOROOT=/usr/local/src/go/    GOPATH=/home/cloud/go  GO=  KNITTERPATH=
filedir=/home/cloud/go/src/github.com/ZTE/Knitter/hack/build  gopath=/home/cloud/go
after GOROOT=/usr/local/src/go/    GOPATH=/home/cloud/go  GO=/usr/local/src/go//bin   KNITTERPATH=/home/cloud/go/src/github.com/ZTE/Knitter
============== building knitter-monitor ==============
++++ build knitter-monitor success
mkdir -p _output/bin
mv ./knitter-monitor/knitter-monitor   _output/bin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants