WireGuard Archive on lore.kernel.org
 help / color / 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, back to index

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

WireGuard Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ https://lore.kernel.org/wireguard \
		wireguard@lists.zx2c4.com zx2c4-wireguard@archiver.kernel.org
	public-inbox-index wireguard


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/com.zx2c4.lists.wireguard


AGPL code for this site: git clone https://public-inbox.org/ public-inbox