Skip to content

Commit

Permalink
Update README.md to mention requirement of Go version 1.14.0 or later.
Browse files Browse the repository at this point in the history
I attempted to perform an installation from source from the `master`
branch of the repository, but encountered several problems that were
only resolvable after upgrading my Go installation. The root cause was
lack of support for `go build`'s `-mod` option, as can be seen in the
following example output:

```sh
$ make
flag provided but not defined: -mod
usage: build [-o output] [-i] [build flags] [packages]
Run 'go help build' for details.
Makefile:8: recipe for target 'build' failed
make: *** [build] Error 2
```

I'm not a Go expert so I'm unsure of Golang version 1.14.0 is the
minimum required version, but I do know that this version builds
correctly. I was previously using Golang version 1.10.0, following the
README's instructions. These instructions have since become outdated,
requiring at least a documentation fix. That fix is in this patch.
  • Loading branch information
fabacab authored and kgretzky committed Feb 2, 2021
1 parent faa688c commit dae45c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Evilginx runs very well on the most basic Debian 8 VPS.

#### Installing from source

In order to compile from source, make sure you have installed **GO** of version at least **1.10.0** (get it from [here](https://golang.org/doc/install)) and that `$GOPATH` environment variable is set up properly (def. `$HOME/go`).
In order to compile from source, make sure you have installed **GO** of version at least **1.14.0** (get it from [here](https://golang.org/doc/install)) and that `$GOPATH` environment variable is set up properly (def. `$HOME/go`).

After installation, add this to your `~/.profile`, assuming that you installed **GO** in `/usr/local/go`:

Expand Down

0 comments on commit dae45c0

Please sign in to comment.