Code Monkey home page Code Monkey logo

Comments (6)

cbeuw avatar cbeuw commented on May 26, 2024 1
  1. Make sure you have set $GOPATH https://golang.org/doc/install#tarball

  2. 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.

cbeuw avatar cbeuw commented on May 26, 2024 1

I have updated README to make clear the need of dependencies

from cloak.

Alireza2n avatar Alireza2n commented on May 26, 2024

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.

cbeuw avatar cbeuw commented on May 26, 2024

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.

Alireza2n avatar Alireza2n commented on May 26, 2024

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.

cbeuw avatar cbeuw commented on May 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.