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 does not work with influxdb v0.8.8 #25

Open
joelgriffiths opened this issue Feb 3, 2015 · 10 comments
Open

Make does not work with influxdb v0.8.8 #25

joelgriffiths opened this issue Feb 3, 2015 · 10 comments

Comments

@joelgriffiths
Copy link

I was able to get it built a few days ago, but am unable to build it now no matter what I do. Does anybody have any ideas?
root@influxdb-02:/influxdb-collectd-proxy/influxdb-collectd-proxy# GOPATH=:pwd go version
'go version go1.4.1 linux/amd64
root@influxdb-02:
/influxdb-collectd-proxy/influxdb-collectd-proxy# make
GOPATH=:pwd go get github.com/paulhammond/gocollectd
GOPATH=:pwd go get github.com/influxdb/influxdb/client
GOPATH=:pwd go build -o bin/influxdb-collectd-proxy

_/root/influxdb-collectd-proxy/influxdb-collectd-proxy

./influxdb-collectd-proxy.go:107: undefined: client.ClientConfig
./influxdb-collectd-proxy.go:129: undefined: client.Series
./influxdb-collectd-proxy.go:138: client.WriteSeries undefined (type client.Client has no field or method WriteSeries)
./influxdb-collectd-proxy.go:144: undefined: client.Series
./influxdb-collectd-proxy.go:151: undefined: client.Series
./influxdb-collectd-proxy.go:156: undefined: client.Series
./influxdb-collectd-proxy.go:246: undefined: client.Series
make: *
* [build] Error 2

@dblooman
Copy link

dblooman commented Feb 4, 2015

Also experiencing this issue, any work around?

@joelgriffiths
Copy link
Author

I believe influxdb/client has changed. They removed WriteSeries. I'm trying to find a release that isn't broken. If you find one, post it here so others can benefit.

@yanfali
Copy link
Contributor

yanfali commented Feb 4, 2015

Can we use godeps and lock down the commit hash of the upstream project?

@joelgriffiths
Copy link
Author

Actually, after it fails, or you do a 'make get'

Do this:
cd src/github.com/influxdb/influxdb
git checkout v0.8.7

make build

Then you're g2g.

@joelgriffiths joelgriffiths changed the title Make does not work with golang1.4.1 Make does not work with influxdb v0.8.8 Feb 4, 2015
@yanfali
Copy link
Contributor

yanfali commented Feb 4, 2015

OK, pull request #26 may help with this. Let's see what @hoonmin thinks is the best solution.

@aranw
Copy link

aranw commented Feb 11, 2015

Anyone got a fix for this? Trying to setup this proxy but am getting this error.

@hoonmin
Copy link
Owner

hoonmin commented Feb 12, 2015

Oh, sorry I'm late...
I think Godep is the answer and @yanfali 's PR #26 looks good for me.
Thank you all!

@yanfali
Copy link
Contributor

yanfali commented Mar 1, 2015

@hoonmin should you close this now?

@ndinhphi
Copy link

@joelgriffiths thank you so much, you saved my time!

@MengchenTony
Copy link

Hello Any support planned for the influxdb client v0.9.x ? I had to upgrade to influx database server 0.9 and cannot use the proxy anymore... When doing a 'go build' with influxdb client last version having the same compilation error as mentioned above.

./influxdb-collectd-proxy.go:107: undefined: client.ClientConfig
./influxdb-collectd-proxy.go:129: undefined: client.Series
./influxdb-collectd-proxy.go:138: client.WriteSeries undefined (type client.Client has no field or method WriteSeries)
./influxdb-collectd-proxy.go:144: undefined: client.Series
./influxdb-collectd-proxy.go:151: undefined: client.Series
./influxdb-collectd-proxy.go:156: undefined: client.Series
./influxdb-collectd-proxy.go:246: undefined: client.Series

Thanks for the help

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

7 participants