grafana / carbon-relay-ng

Fast carbon relay+aggregator with admin interfaces for making changes online - production ready
Other
467 stars 151 forks source link

build fails on rhel6 - works on centos 7 #141

Closed KlavsKlavsen closed 7 years ago

KlavsKlavsen commented 7 years ago

Hi, trying to compile on rhel6 yields me: carbon-relay-ng]$ make go-bindata admin_http_assets [w] No function name specified. Using admin_http_assets. go build

github.com/graphite-ng/carbon-relay-ng

./admin_http_assets.1.go:10: admin_http_assets redeclared in this block previous declaration at ./admin_http_assets.0.go:10 ./admin_http_assets.2.go:10: admin_http_assets redeclared in this block previous declaration at ./admin_http_assets.1.go:10 ./admin_http_assets.3.go:10: admin_http_assets redeclared in this block previous declaration at ./admin_http_assets.2.go:10 ./admin_http_assets.4.go:10: admin_http_assets redeclared in this block previous declaration at ./admin_http_assets.3.go:10 ./admin_http_assets.5.go:10: admin_http_assets redeclared in this block previous declaration at ./admin_http_assets.4.go:10 ./admin_http_assets.go:10: admin_http_assets redeclared in this block previous declaration at ./admin_http_assets.5.go:10 make: *** [build] Error 2

golang is v1.7.3 - go version go1.7.3 linux/amd64 On centos 7 - it's v1.6.3 - but it compiles fine.

KlavsKlavsen commented 7 years ago

for some odd reason I had lots of these lying around: admin_http_assets.5.go - I deleted them and voila.