packer - Go package install problems: No install location -


i'm trying build packer source on ubuntu, getting following errors i'm unsure how resolve.

go install: no install location _/home/vagrant/packer/builder/amazon/chroot go install: no install location _/home/vagrant/packer/builder/amazon/common go install: no install location _/home/vagrant/packer/builder/amazon/ebs go install: no install location _/home/vagrant/packer/builder/amazon/instance go install: no install location _/home/vagrant/packer/builder/digitalocean go install: no install location _/home/vagrant/packer/builder/openstack go install: no install location _/home/vagrant/packer/builder/virtualbox go install: no install location _/home/vagrant/packer/builder/vmware go install: no install location _/home/vagrant/packer/command/build go install: no install location _/home/vagrant/packer/command/fix go install: no install location _/home/vagrant/packer/command/inspect go install: no install location _/home/vagrant/packer/command/validate go install: no install location _/home/vagrant/packer/common go install: no install location _/home/vagrant/packer/common/command go install: no install location _/home/vagrant/packer/common/json go install: no install location _/home/vagrant/packer/communicator/ssh go install: no install location _/home/vagrant/packer/packer go install: no install location _/home/vagrant/packer/packer/plugin go install: no install location _/home/vagrant/packer/packer/rpc go install: no install location _/home/vagrant/packer/post-processor/vagrant go install: no install location _/home/vagrant/packer/provisioner/chef-solo go install: no install location _/home/vagrant/packer/provisioner/file go install: no install location _/home/vagrant/packer/provisioner/puppet-masterless go install: no install location _/home/vagrant/packer/provisioner/salt-masterless go install: no install location _/home/vagrant/packer/provisioner/shell make: *** [all] error 1 

i've tried adding few of above directories gopath, still same errors above.

$ echo $gopath  /home/vagrant/packer:/home/vagrant/packer/builder/amazon/chroot 

gopath not work assume: not list of paths code trying build path go workspace. please read http://golang.org/doc/code.html#organization first. gopath must contain src, bin , pkg directories, otherwise not workspace.

what error message trying tell you: there no pkg directory under gopath, go tool cannot install trying build.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -