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

build on osx #9

Closed
gavinzhou opened this issue Aug 5, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@gavinzhou
Copy link

commented Aug 5, 2017

@tamalsaha
I'll build on osx, get error msg

not found meta directory

./hack/make.py                                                                                   master ✖ ✱
Downloading:  https://raw.githubusercontent.com/appscode/libbuild/master/libbuild.py
Using existing version:  github.appscode.libbuild.libbuild
./hack/make.sh
go get github.com/jteeuwen/go-bindata/...
go-bindata -ignore=\.go -ignore=\.DS_Store -mode=0644 -modtime=1453795200 -o meta/data.go -pkg meta meta/...
bindata: Failed to stat input path 'meta': lstat meta: no such file or directory
Generating server protobuf files
~/go/src/github.com/appscode/wheel/_proto/hack ~/go/src/github.com/appscode/wheel/_proto
~/go/src/github.com/appscode/wheel/_proto
~/go/src/github.com/appscode/wheel/_proto/wapi ~/go/src/github.com/appscode/wheel/_proto
~/go/src/github.com/appscode/wheel/_proto/wapi/v2 ~/go/src/github.com/appscode/wheel/_proto/wapi ~/go/src/github.com/appscode/wheel/_proto
/Users/gavin/go/src/github.com/googleapis/googleapis/: warning: directory does not exist.
/Users/gavin/go/src/github.com/grpc-ecosystem/grpc-gateway/third_party/appscodeapis: warning: directory does not exist.
hapi/release/test_run.proto: File not found.
google/api/annotations.proto: File not found.
appscode/api/annotations.proto: File not found.
tiller.proto: Import "hapi/release/test_run.proto" was not found or had errors.
tiller.proto: Import "google/api/annotations.proto" was not found or had errors.
tiller.proto: Import "appscode/api/annotations.proto" was not found or had errors.
@tamalsaha

This comment has been minimized.

Copy link
Member

commented Aug 6, 2017

@gavinzhou , can you pull master again and run ./_proto/hack/builddeps.sh . This will install various proto and Helm dependencies to correct version in your GOPATH before compiling. You will also need to install protoc compiler if you have not done so already.

You can see the changes done here: https://github.com/appscode/wheel/blob/master/_proto/hack/builddeps.sh#L54

Some of the commands will delete your current local version and replace that with required version for wheel. Please make sure that is ok for you.

Let me know if you still face problem building.

@tamalsaha

This comment has been minimized.

Copy link
Member

commented Aug 6, 2017

On a separate note, if you just want to build the code with already generated files committed in this repo, them you can just do go get -u github.com/appscode/wheel and the standard go install . to build wheel.

@gavinzhou

This comment has been minimized.

Copy link
Author

commented Aug 6, 2017

@tamalsaha
thank you
I build with osx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.