在 Google Go 中安装外部包
我试图用 GO 语言安装外部包。我在 http://godashboard.appspot.com/package 找到了许多外部软件包。 我正在windows系统上工作。
我尝试使用此命令来安装 go-router 软件包。
goinstall go-router.googlecode.com/svn/trunk
这导致了以下错误......
C:\cygwin\bin\bash.exe: === cd c:\go\src\pkg\go-router.googlecode.com\svn\trunk;
bash gomake -f- install
/cygdrive/c/go/bin/gomake: line 3: exec: make: not found
--- exit status 127
goinstall: go-router.googlecode.com/svn/trunk: install: running bash: exit status 127
我无法找出错误的原因和状态代码的含义。我已阅读 goinstall 命令说明,但没有运气..
I was trying to install external packages in GO language. I've found many external packages at http://godashboard.appspot.com/package.
I am working on windows system.
I tried this command to install go-router package.
goinstall go-router.googlecode.com/svn/trunk
This resulted in following error....
C:\cygwin\bin\bash.exe: === cd c:\go\src\pkg\go-router.googlecode.com\svn\trunk;
bash gomake -f- install
/cygdrive/c/go/bin/gomake: line 3: exec: make: not found
--- exit status 127
goinstall: go-router.googlecode.com/svn/trunk: install: running bash: exit status 127
I am unable to find out the reason for the error and the meaning of status code. I've read the goinstall command description but no luck..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
似乎缺少
make
命令。确保它已安装并且PATH
变量定义正确。It seems
make
command is missing. Make sure it's installed and thatPATH
variable is defined correctly.