wireguard-go compilation fails
James Cloos
cloos at jhcloos.com
Mon Aug 13 16:46:34 CEST 2018
make update-deps shows the error:
:; make update-dep
rm -rf .gopath
mkdir -p .gopath/src/git.zx2c4.com/
ln -s ../../.. .gopath/src/git.zx2c4.com/wireguard-go
touch .gopath/.created
command -v dep >/dev/null || go get -v github.com/golang/dep/cmd/dep
...
Fetching https://gopkg.in/yaml.v2?go-get=1
Parsing meta tags from https://gopkg.in/yaml.v2?go-get=1 (status code 200)
get "gopkg.in/yaml.v2": found meta tag main.metaImport{Prefix:"gopkg.in/yaml.v2", VCS:"git", RepoRoot:"https://gopkg.in/yaml.v2"} at https://gopkg.in/yaml.v2?go-get=1
gopkg.in/yaml.v2 (download)
Makefile:48: recipe for target 'update-dep' failed
make: *** [update-dep] Error 1
Using apt to install golang-goyaml-dev did not get past that error.
I'd like to use wg on some virtuals which do not support modules, mainly
to encrypt some udp traffic.
Subsequent runs of make fail differently:
:; make
command -v dep >/dev/null || go get -v github.com/golang/dep/cmd/dep
import "context": import path doesn't contain a slash
package context: unrecognized import path "context"
Makefile:34: recipe for target 'vendor/.created' failed
make: *** [vendor/.created] Error 1
-JimC
--
James Cloos <cloos at jhcloos.com> OpenPGP: 0x997A9F17ED7DAEA6
More information about the WireGuard
mailing list