Hacker News new | ask | show | jobs
by Sir_Cmpwn 2574 days ago
scdoc is probably available in your Linux distro's package manager, and aerc is designed to be packager-friendly - so eventually the idea is that most users will apt install aerc, rather than build it themselves.
2 comments

Yeah, the problem is I am on OSX, and I actually had to compile scdoc myself without the -static flag (missing libraries).

Also, I had to run it as:

  TERM=xterm-256color aerc

On OSX, otherwise got:

  panic: terminal entry not found
To get this to install on osx

1. git clone https://git.sr.ht/~sircmpwn/scdoc

2. Edit Makefile and remove -static flag from ldflags

3. make install

4. git clone https://git.sr.ht/~sircmpwn/aerc

5. make install

You will need Go 1.12

This issue comes from tcell, which has a baked-in terminfo database. I'm also not sure about the state of the terminfo database in general on OSX... in any case, I plan on improving terminfo support in tcell at some point.
It's probably because i use xterm-kitty.

Awesome work on aerc, looking forward for continued development.

Can confirm, am running Kitty too and ran into exact same error messages, exporting different TERM environment variable did fix this though!
I'm on Ubuntu 18.04 at work and I don't have scdoc available.

    (base) eximius@eximius-nuc:~/go/src/aerc-0.1.0$ apt-cache search scdoc
    (base) eximius@eximius-nuc:~/go/src/aerc-0.1.0$
I'm also getting Go compilation errors. I tried `go get` but then I get this:

    package git.sr.ht/~sircmpwn/aerc/commands: unrecognized import path "git.sr.ht/~sircmpwn/aerc/commands" (parse https://git.sr.ht/~sircmpwn/aerc/commands?go-get=1: no go-import meta tags ())
Guess my go is rustier than I thought.