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

Building from source no longer works since golang 1.16 #124

Open
mpnordland opened this issue Mar 30, 2022 · 1 comment
Open

Building from source no longer works since golang 1.16 #124

mpnordland opened this issue Mar 30, 2022 · 1 comment

Comments

@mpnordland
Copy link

The building from source instructions no longer work as of golang 1.16.

While the journey executable can be built using go install, you don't get the necessary front end assets for the admin interface.

Simply cloning the repository and building using go build doesn't work because this project has not been updated to use the new modules system introduced in 1.11, made default in 1.16 and mandated in 1.18.

I was not able to determine if there was a combination of build flags that would allow it to work.

@Drizin
Copy link

Drizin commented Feb 25, 2023

In case it helps someone, I've just built from rkuris fork.
In the readme of my fork I've added some instructions on how to build for Windows:

  • go get github.com/Drizin/journey
  • cd %GOPATH%\src\github.com\Drizin\journey
  • git submodule update --init --recursive
  • go get -u
  • go env -w GO111MODULE=auto
  • go env -w CGO_ENABLED=1
  • go build

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