英文:
Install external package in 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..
答案1
得分: 3
似乎缺少make
命令。请确保已安装并且PATH
变量定义正确。
英文:
It seems make
command is missing. Make sure it's installed and that PATH
variable is defined correctly.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论