猿问

Go包安装问题:没有安装位置

我试图建立打包机从源头上Ubuntu的,但得到了下面的错误,我不能确定如何解决。


go install: no install location for _/home/vagrant/packer/builder/amazon/chroot

go install: no install location for _/home/vagrant/packer/builder/amazon/common

go install: no install location for _/home/vagrant/packer/builder/amazon/ebs

go install: no install location for _/home/vagrant/packer/builder/amazon/instance

go install: no install location for _/home/vagrant/packer/builder/digitalocean

go install: no install location for _/home/vagrant/packer/builder/openstack

go install: no install location for _/home/vagrant/packer/builder/virtualbox

go install: no install location for _/home/vagrant/packer/builder/vmware

go install: no install location for _/home/vagrant/packer/command/build

go install: no install location for _/home/vagrant/packer/command/fix

go install: no install location for _/home/vagrant/packer/command/inspect

go install: no install location for _/home/vagrant/packer/command/validate

go install: no install location for _/home/vagrant/packer/common

go install: no install location for _/home/vagrant/packer/common/command

go install: no install location for _/home/vagrant/packer/common/json

go install: no install location for _/home/vagrant/packer/communicator/ssh

go install: no install location for _/home/vagrant/packer/packer

go install: no install location for _/home/vagrant/packer/packer/plugin

go install: no install location for _/home/vagrant/packer/packer/rpc

go install: no install location for _/home/vagrant/packer/post-processor/vagrant

go install: no install location for _/home/vagrant/packer/provisioner/chef-solo

go install: no install location for _/home/vagrant/packer/provisioner/file


我已经尝试将上述几个目录添加到我的 GOPATH 中,但仍然出现上述所有相同的错误。


$ echo $GOPATH 

/home/vagrant/packer:/home/vagrant/packer/builder/amazon/chroot


www说
浏览 196回答 1
1回答
随时随地看视频慕课网APP

相关分类

Go
我要回答