Error in Go compilation for INFLUXDB

During go compilation as per the video https://www.youtube.com/watch?v=34oOp1OLOUk - I am getting an error.

C:\Go\projects\github.com\influxdata\influxdb>go get -u -f ./…
package /C/Go/projects/github.com/influxdata: unrecognized import path “/C/G
o/projects/github.com/influxdata” (import path does not begin with hostname)

C:\Go\projects\github.com\influxdata\influxdb>go build ./…
can’t load package: package ./…: no buildable Go source files in C:\Go\projects
\github.com\influxdata

so how to do compilation of GO to run the influxDB.

InfluxDB recommends using a pre-built package.

If you can’t for some reason, #7251 seems to indicate the windows build process changed, and that video is no longer correct. Refer to appveyor.yml for details on how they build it.

Now, just from those errors, I guess that %GOPATH% is not set correctly. However, I don’t have a windows machine to replicate that on.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.