journey
journey copied to clipboard
Building from source no longer works since golang 1.16
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.
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