bemasher / rtlamr-collect

Data aggregation for rtlamr.
GNU Affero General Public License v3.0
171 stars 29 forks source link

Unable to build / install #41

Closed rdefeo closed 1 year ago

rdefeo commented 1 year ago

I was able to successfully build and run the rtlamr package. (I can see my meter! Awesome!) Now trying to do the same with this package but getting an error related to influxdb-client-go:

(output below shows versions of influxdb and go)

rdefeo@nuc:~$ echo $GOPATH
/home/rdefeo/go
rdefeo@nuc:~$ go get github.com/bemasher/rtlamr-collect
go/src/github.com/influxdata/influxdb-client-go/api/write/point.go:13:2: no Go files in /home/rdefeo/go/src/github.com/influxdata/line-protocol
rdefeo@nuc:~$ ls ./go/bin/
rtlamr
rdefeo@nuc:~$ apt list influxdb
Listing... Done
influxdb/unknown,now 1.8.10-1 amd64 [installed]
influxdb/unknown 1.8.10-1 i386
rdefeo@nuc:~$ go version
go version go1.13.8 linux/amd64
rdefeo@nuc:~$

Running Ubuntu 20.04. I installed influxdb using sudo apt install influxdb. Perhaps this is a versioning issue? Sorry, not too familiar with how Go manages dependencies. Thoughts?

rdefeo commented 1 year ago

After uninstalling/reinstalling influxdb a few times (not actually sure if that did anything) and re-trying go get, my ~/go/src directory finally contained a bemasher/rtlamr-collect folder. I was then able to manually go build and produce a rtlamr-collect binary. I think it's working. Think this who issue is just me not fully understanding go's package management / build / install process - sorry! Closing.

rdefeo commented 1 year ago

User error - I think. Got it working, see previous comment