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

unable to build on OSX #38

Open
cledorze opened this issue Jan 3, 2018 · 3 comments
Open

unable to build on OSX #38

cledorze opened this issue Jan 3, 2018 · 3 comments

Comments

@cledorze
Copy link

cledorze commented Jan 3, 2018

Hi

On OSX :

  • go version go1.9.2 darwin/amd64
  • godep v79 (darwin/amd64/go1.9.2)
  • xcode-select version 2349

I'm able to build & test govix and 'go get -u github.com/hooklift/govmx', but can't build terraform-provider-vix :

MyBox:terraform-provider-vix tofix$ make
go build
# terraform-provider-vix
./main.go:13:15: cannot use provider.Provider (type func() "github.com/hooklift/terraform-provider-vix/vendor/github.com/hashicorp/terraform/terraform".ResourceProvider) as type "terraform-provider-vix/vendor/github.com/hashicorp/terraform/plugin".ProviderFunc in field value
make: *** [build] Error 2

Also, LD libs are set to the directory where govix have been built :

MyBox:terraform-provider-vix tofix$ echo $DYLD_LIBRARY_PATH
/Users/tofix/Labs/Go/src/govix/vendor/libvix/

Any idea of what I'm doing wrong?

@c4milo
Copy link
Member

c4milo commented Jan 3, 2018

terraform version?

@cledorze
Copy link
Author

cledorze commented Jan 4, 2018

Same result on both :

- Terraform v0.11.2-dev
- Terraform v0.11.1

@c4milo
Copy link
Member

c4milo commented Jan 4, 2018

ah, I see, yes, some breaking changes have happened in Terraform and this plugin isn't working well with them. It needs to be updated but I don't really have a lot of time these days, unfortunately. Any help is very much appreciated.

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