Make error on Armbian Arm64

I have seen this thread but it does not really catch my problem I guess.

I am compiling CockroachDB on a NanoPi_Neo2 with 1 GB Ram and 1,5GB Swap space.
Following this howto I downloaded the archive and tried to run make but it seems to fail very late in the process: .
Go was installed with the following commands:
tar -xvf go1.13.5.linux-arm64.tar.gz
sudo mv go /usr/local

and go version shows:
go version go1.13.5 linux/arm64

What may have gone wrong? Any ideas what I can change?

kind regards

You can clarify make errors with make -j1. In this case, the salient problem is here:

configure: error: ncurses.h, curses.h, or termcap.h is required!

You need to install libncurses-dev or equivalent.

Thank you for your advice! :slight_smile: It was absolutely correct and I could now start compiling cockroachdb. I am running make build over ssh. The process takes very long and my connection is a bit flakey so I am not sure if this message is due to connectivity or something missing for the build process itself:

[ 54%] Building CXX object CMakeFiles/roach.dir/protos/roachpb/
/usr/local/go/pkg/tool/linux_arm64/link: signal: killed
Makefile:1668: recipe for target ‘bin/docgen’ failed
make[1]: *** [bin/docgen] Error 1
make[1]: *** Waiting for unfinished jobs…
[ 56%] Building CXX object CMakeFiles/roach.dir/protos/roachpb/

Do you have an idea what may have gone wrong and whether this is serious?