Closed gangyi89 closed 6 years ago
Is telegraf.exe
created in the top level directory? If not, can you run: go version
and paste the output?
@danielnelson thanks for the advise Yes, at the top level directory i see the telegraph application. However, given the make logs i showed above, does it still mean the executable is fully functional?
go version go1.10.2 windows/amd64
Im using Windows 7 with go version go1.10.2 windows/386 and I have the same generated error "the system cannot find the path specified" and I tested the generated telegraf.exe it started as a service without crushing but is not writing any metrics. So please did you succeed to fix the issue?
I think this warning would not effect the compiled binary, other than potentially not adding the branch/revision to the binary. It is probably one of the commands we are running at the top of the Makefile which are not in the PATH, it looks like we are also expecting git
and gofmt
, can you run git --version
and gofmt -h
?
-git version 2.17.1.windows.1
What does telegraf.exe version
print?
telegraf version
Telegraf v1.8.0~acba20af (git: master acba20af)
I just encountered similar issue. I think it's because the commit ea9585611a4ab58a205b9b125ebd74c389a6b898
is no longer in github.com/nats-io/nats.
Seems like the issue I encountered has just been fixed. https://github.com/influxdata/telegraf/commit/dd2223ae1c36961cbd3541719e27ab2b8e9aa346 https://github.com/influxdata/telegraf/commit/daddd8bbac3d16db5e3a09a19c265e42db6f0b7a
After updating to dep, unable to make the telegraf build sucessfully
@sureshsubramaniam , what's wrong when you running make command?
I can make successfully. I use branch master.
@pytimer it seems to be an issue with my dev machine where the dep source directory needs a cleanup and after that today it succeeded. Could be other projects using some of the deps with a diff commit and might be detached and not able to find the tree in source
@gangyi89 Now that we have updated to dep, could you run make again from a fresh clone and gopath and post the updated output?
Am unable to run make successfully using AWS windows server. Appreciate advise on how to resolve it. Thank you.
Relevant telegraf.conf:
as per master
System info:
AWS windows server [Include Telegraf version, operating system name, and other relevant details] go version go1.10.2 windows/amd64 GOPATH= C:\Users\Administrator\go
Steps to reproduce:
Expected behavior:
make successful
Actual behavior:
Unable to make
Additional info:
[Include gist of relevant config, logs, etc.]