Comment by ~nerosnm on ~sircmpwn/aerc2
Okay, so after some research, I need to compile with:
$ env GO111MODULE=on make
And then it successfully compiles.
Comment by ~nerosnm on ~sircmpwn/aerc2
$ go list -m all go list -m: not using modules
Comment by ~nerosnm on ~sircmpwn/aerc2
I'm using go1.12.7.
Comment by ~nerosnm on ~sircmpwn/aerc2
Edited to reflect that the issue is not specific to macOS; can reproduce on Manjaro.
bug added by ~nerosnm on ~sircmpwn/aerc2
Ticket created by ~nerosnm on ~sircmpwn/aerc2
Compilation of
aerc
from ref0.2.1
(ormaster
or0.2.0
) fails with the following output:$ make go build \ -ldflags "-X main.Prefix=/usr/local \ -X main.ShareDir=/usr/local/share/aerc \ -X main.Version=0.2.1" \ -o aerc # git.sr.ht/~sircmpwn/aerc/lib/ui lib/ui/ui.go:60:23: screen.Beep undefined (type tcell.Screen has no field or method Beep) make: *** [aerc] Error 2
Commenting out the offending line fixes the error and allows
aerc
to build.