Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在Ubuntu18.04上go get命令报错 #21

Closed
Arithmeticjia opened this issue Dec 7, 2019 · 1 comment
Closed

在Ubuntu18.04上go get命令报错 #21

Arithmeticjia opened this issue Dec 7, 2019 · 1 comment

Comments

@Arithmeticjia
Copy link

root@VM-0-16-ubuntu:~# go get github.com/zhenghaoz/gorse/...

go.etcd.io/bbolt

/home/go/src/go.etcd.io/bbolt/bolt_unix_aix.go:13:59: flock redeclared in this block
previous declaration at /home/go/src/go.etcd.io/bbolt/bolt_unix.go:13:59
/home/go/src/go.etcd.io/bbolt/bolt_unix_aix.go:46:22: funlock redeclared in this block
previous declaration at /home/go/src/go.etcd.io/bbolt/bolt_unix.go:45:22
/home/go/src/go.etcd.io/bbolt/bolt_unix_aix.go:56:27: mmap redeclared in this block
previous declaration at /home/go/src/go.etcd.io/bbolt/bolt_unix.go:50:27
/home/go/src/go.etcd.io/bbolt/bolt_unix_aix.go:76:21: munmap redeclared in this block
previous declaration at /home/go/src/go.etcd.io/bbolt/bolt_unix.go:72:21
root@VM-0-16-ubuntu:~# cd /usr/local/go
root@VM-0-16-ubuntu:/usr/local/go# go get github.com/zhenghaoz/gorse/...

go.etcd.io/bbolt

/home/go/src/go.etcd.io/bbolt/bolt_unix_aix.go:13:59: flock redeclared in this block
previous declaration at /home/go/src/go.etcd.io/bbolt/bolt_unix.go:13:59
/home/go/src/go.etcd.io/bbolt/bolt_unix_aix.go:46:22: funlock redeclared in this block
previous declaration at /home/go/src/go.etcd.io/bbolt/bolt_unix.go:45:22
/home/go/src/go.etcd.io/bbolt/bolt_unix_aix.go:56:27: mmap redeclared in this block
previous declaration at /home/go/src/go.etcd.io/bbolt/bolt_unix.go:50:27
/home/go/src/go.etcd.io/bbolt/bolt_unix_aix.go:76:21: munmap redeclared in this block
previous declaration at /home/go/src/go.etcd.io/bbolt/bolt_unix.go:72:

请教下如何安装gorse,不胜感激

@zhenghaoz
Copy link
Collaborator

BoltDB已经在v1.3.3中修复了这个问题( etcd-io/bbolt#160 ),我会更新一下BoltDB版本

zhenghaoz added a commit that referenced this issue Dec 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants