Code Monkey home page Code Monkey logo

Comments (7)

Anirudh-MV avatar Anirudh-MV commented on July 21, 2024 1

Hi,

The export GO111MODULE=on fix worked and I could install acra modules without any errors thrown.

Yes, I think this should be noted in the docs because I had the issue with different versions of go on different machines.

from acra.

ilammy avatar ilammy commented on July 21, 2024

Hi @Anirudh-MV,

Based on /usr/lib/go-1.10/src I suspect that you are using Go 1.10.

Some time ago development version of Acra started requiring at least Go 1.13 for compilation. This pulls in Go 1.11 module support and it should fix the issues with packages changing their source location.

While using older versions might work for some tools, it is recommended to use the latest stable version of Go (currently, that's Go 1.15).

Admittely, Go version requirements are not well-documented :(

from acra.

vixentael avatar vixentael commented on July 21, 2024

Thank you @Anirudh-MV for pushing us to update Readme :)

As @ilammy mentioned, we support Acra for 2-3 latest Go versions only. We can't guarantee that it will work if you're using Go 1.10. Please use Go 1.11-1.13 or consider downloading Acra's as package or Docker container.

from acra.

Anirudh-MV avatar Anirudh-MV commented on July 21, 2024

thank you for letting me know that I had to upgrade my golang

from acra.

vixentael avatar vixentael commented on July 21, 2024

Please let us know if you have any further issues! Thank you for using Acra.

from acra.

Anirudh-MV avatar Anirudh-MV commented on July 21, 2024

Hi, I am running into the same error as the original post with go version 1.15 and 1.13.15 linux/amd64

from acra.

ilammy avatar ilammy commented on July 21, 2024

Hm 🤔 🤔 🤔

It seems that newer Go does not default to using modules for out-of-tree go gets.

Could you please set

export GO111MODULE=on

in the shell before issuing go get commands? That should help.

Alternatively, this variable can be set for individual commands, for example:

GO111MODULE=on go get github.com/cossacklabs/acra/cmd/acra-keymaker

This too needs to be noted in the docs, I guess...

from acra.

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.