我一直在使用方向上從photon and VIC configuration PhotonOS,運行命令docker run -v $(pwd):/go/src/github.com/vmware/vic \-w /go/src/github.com/vmware/vic golang:1.6 make all
同時部署 出現的錯誤:無法在PhotonOS
Please install go1.7 (found: go version go1.6.3 linux/amd64)
Makefile:152: recipe for target 'goversion' failed
make: *** [goversion] Error 1
` 解決它,我嘗試更新
go1.6.3 to go1.7 using solution - changeing go version manually
後步驟go版本顯示go1.4.2,但以前的錯誤仍然抱怨在版本1.6.3。 另外,我還嘗試使用bash < <(curl -s -S -L https://raw.github.com/moovweb/gvm/master/binscripts/gvm-installer)
安裝「GVM」,每當我打電話gvm install go1.7
它帶來
-bash: gvm: command not found
每當我再次試運行gvm-installer
它說
ERROR: Already installed!
任何幫助,高度讚賞!
一個'$ PATH'問題開展工作?我的意思是,'gvm'命令沒有列在試圖訪問它的帳戶的'PATH'環境變量中。比方說,對於非root用戶,'/ sbin'和'/ usr/sbin'通常在這裏沒有列出。由於我對「PhotonOS」的知識絕對沒有任何知識,因此我無法真正驗證這一點 - 進行研究。 – kostix
感謝您的評論,我會嘗試添加gvm到$ PATH。 –