Comments (6)
-
Make sure you have set $GOPATH https://golang.org/doc/install#tarball
-
Did you use go get or git clone when you fetched this repo? If it's the latter please use go get instead
from cloak.
I have updated README to make clear the need of dependencies
from cloak.
Hi,
Thanks for quick update.
1- GOPATH is already set.
2- Using go get:
go get github.com/cbeuw/Cloak
And output is:
package github.com/cbeuw/Cloak: no Go files in /root/go/src/github.com/cbeuw/Cloak
from cloak.
Did you build with Makefile?
When do you get the first error message and when do you get the second one?
cd into $GOPATH/src/github.com/cbeuw/Cloak/internal/ecdh, is there anything in this folder?
from cloak.
Did you build with Makefile?
Yes, I have used make file.
When do you get the first error message and when do you get the second one?
I have simply used make server
and when failed I tried go get github.com/cbeuw/Cloak
.
cd into $GOPATH/src/github.com/cbeuw/Cloak/internal/ecdh, is there anything in this folder?
Yep:
ls $GOPATH/src/github.com/cbeuw/Cloak/internal/ecdh
curve25519.go
Here is what I've done:
1- cd $GOPATH/src/github.com/cbeuw
2- git clone https://github.com/cbeuw/Cloak.git
3- make server
And output was:
mkdir -p build
go build -ldflags "-X main.version=master(cffee14)" ./cmd/ck-server
/usr/lib/go-1.10/src/github.com/cbeuw/Cloak/internal/server/usermanager/userpanel.go:13:2: cannot find package "github.com/boltdb/bolt" in any of:
/usr/lib/go-1.10/src/vendor/github.com/boltdb/bolt (vendor tree)
/usr/lib/go/src/vendor/github.com/boltdb/bolt
/usr/lib/go-1.10/src/github.com/boltdb/bolt (from $GOROOT)
/usr/lib/go/src/github.com/boltdb/bolt (from $GOPATH)
/usr/lib/go-1.10/src/github.com/cbeuw/Cloak/internal/multiplex/qos.go:6:2: cannot find package "github.com/juju/ratelimit" in any of:
/usr/lib/go-1.10/src/vendor/github.com/juju/ratelimit (vendor tree)
/usr/lib/go/src/vendor/github.com/juju/ratelimit
/usr/lib/go-1.10/src/github.com/juju/ratelimit (from $GOROOT)
/usr/lib/go/src/github.com/juju/ratelimit (from $GOPATH)
/usr/lib/go-1.10/src/github.com/cbeuw/Cloak/internal/ecdh/curve25519.go:35:2: cannot find package "golang.org/x/crypto/curve25519" in any of:
/usr/lib/go-1.10/src/vendor/golang.org/x/crypto/curve25519 (vendor tree)
/usr/lib/go/src/vendor/golang.org/x/crypto/curve25519
/usr/lib/go-1.10/src/golang.org/x/crypto/curve25519 (from $GOROOT)
/usr/lib/go/src/golang.org/x/crypto/curve25519 (from $GOPATH)
make: *** [Makefile:16: server] Error 1
from cloak.
Ah I see, it's simply due to the dependencies not present. You need to do go get github.com/boltdb/bolt
, go get github.com/juju/ratelimit
and go get golang.org/x/crypto/curve25519
to fetch them.
from cloak.
Related Issues (20)
- Voice call not working HOT 1
- ck-client hangs on wake from suspend
- RedirAddr behaves quite odd when BindAddr is changed to "non-default" ports ...
- Domain or IP
- File naming differences? HOT 1
- Use the same keys in differents servers HOT 4
- Tls 1.3
- Shadowsocks-Rust and Cloak HOT 6
- Is it possible to add ck-server support for Windows?
- Still getting detected on a Shadowsocks + Cloak setup HOT 1
- Cloak seems detected by Gov firewall HOT 13
- PR_END_OF_FILE_ERROR HOT 1
- Dependency Dashboard
- Cloak+torrent
- 从goquiet到现在的新版本cloak一直存在问题 HOT 3
- ck-client for mips_24kc using more resources than before
- Shadowsocks2022 and UDP HOT 4
- [Question] Is it possible to put Cloak behind some l4 proxy?
- Cloak max connections?
- Cloak client 2.9.0 is no longer supported Windows 7/2008 R2 ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloak.