~nerosnm

Bath, UK

Trackers

~nerosnm/meta

Last active 9 days ago

#264 Can't compile v0.2.1: screen.Beep undefined 8 days ago

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.

#264 Can't compile v0.2.1: screen.Beep undefined 8 days ago

Comment by ~nerosnm on ~sircmpwn/aerc2

$ go list -m all
go list -m: not using modules

#264 Can't compile v0.2.1: screen.Beep undefined 9 days ago

Comment by ~nerosnm on ~sircmpwn/aerc2

I'm using go1.12.7.

#1 Test ticket 9 days ago

on ~nerosnm/meta

REPORTED RESOLVED INVALID

#264 Can't compile v0.2.1: screen.Beep undefined 9 days ago

Comment by ~nerosnm on ~sircmpwn/aerc2

Edited to reflect that the issue is not specific to macOS; can reproduce on Manjaro.

#264 Can't compile v0.2.1: screen.Beep undefined 9 days ago

bug added by ~nerosnm on ~sircmpwn/aerc2

#264 Can't compile v0.2.1: screen.Beep undefined 9 days ago

Ticket created by ~nerosnm on ~sircmpwn/aerc2

Compilation of aerc from ref 0.2.1 (or master or 0.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.

#1 Test ticket 9 days ago

feature-request added by ~nerosnm on ~nerosnm/meta

#2 Test email-submitted ticket 9 days ago

bug added by ~nerosnm on ~nerosnm/meta

#2 Test email-submitted ticket 9 days ago

on ~nerosnm/meta

REPORTED RESOLVED WONT_FIX