dongya6381 2014-04-17 07:36
浏览 582

即使我运行了“ go get github.com/tools/godep”,“没有godep,而是使用go get”

I am trying to build syncthing:

$ ./build.sh 
Warning: no godep, using "go get" instead.
Try "go get github.com/tools/godep".

Even though it is only a warning, I would like to make it disappear.
As suggested by the message, I ran:

go get github.com/tools/godep

But even after doing so, the same error appears.
My $GOPATH/bin contains an executable called godep.

How to fix this warning?

Ubuntu 2013.10 go version go1.1.2 linux/amd64

UPDATE: I just realized that this warning is generated by build.sh itself, so the problem might be more localized than I thought.

  • 写回答

1条回答 默认 最新

  • duanpa5237 2014-04-17 08:01
    关注

    The problem was that I had not included $GOPATH/bin in my $PATH:

    export PATH="${PATH}:${GOPATH}/bin"
    

    That made the warning disappear.

    评论

报告相同问题?

悬赏问题

  • ¥500 52810做蓝牙接受端
  • ¥15 基于PLC的三轴机械手程序
  • ¥15 多址通信方式的抗噪声性能和系统容量对比
  • ¥15 winform的chart曲线生成时有凸起
  • ¥15 msix packaging tool打包问题
  • ¥15 finalshell节点的搭建代码和那个端口代码教程
  • ¥15 Centos / PETSc / PETGEM
  • ¥15 centos7.9 IPv6端口telnet和端口监控问题
  • ¥20 完全没有学习过GAN,看了CSDN的一篇文章,里面有代码但是完全不知道如何操作
  • ¥15 使用ue5插件narrative时如何切换关卡也保存叙事任务记录