Development discussion of WireGuard
 help / color / mirror / Atom feed
* wireguard-go compilation fails
@ 2018-08-13 14:46 James Cloos
  2018-10-04 20:49 ` James Cloos
  0 siblings, 1 reply; 2+ messages in thread
From: James Cloos @ 2018-08-13 14:46 UTC (permalink / raw)
  To: wireguard

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@jhcloos.com>         OpenPGP: 0x997A9F17ED7DAEA6

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: wireguard-go compilation fails
  2018-08-13 14:46 wireguard-go compilation fails James Cloos
@ 2018-10-04 20:49 ` James Cloos
  0 siblings, 0 replies; 2+ messages in thread
From: James Cloos @ 2018-10-04 20:49 UTC (permalink / raw)
  To: wireguard

In case anyone sees this thread in a search, the solution is that the
version of golang Debian packages is too old.

If one manually installs golang 10, then wireguard-go compiles fine.

-JimC
-- 
James Cloos <cloos@jhcloos.com>         OpenPGP: 0x997A9F17ED7DAEA6
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-04 20:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-13 14:46 wireguard-go compilation fails James Cloos
2018-10-04 20:49 ` James Cloos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).