minos-org/minos-static

htop not working on ubuntu 18.04

divinity76 opened this issue · 3 comments

htop.tar.xz
root@xDevAd:/temp2# tar xf htop.tar.xz 
root@xDevAd:/temp2# ./bin/htop --version
htop 1.0.3 - (C) 2004-2012 Hisham Muhammad
Released under the GNU GPL.

root@xDevAd:/temp2# ./bin/htop
Error opening terminal: xterm-256color.

(could also mention that 1.0.3 is a very old version)

Could you try:

$ export TERM=xterm; ./bin/htop

Or

$ TERMINFO=/usr/share/terminfo/   ./bin/htop

About the htop version, yep, most of the software provided here is quite old, I expect those requiring newer versions to create and send a PR for it to be merged: https://github.com/minos-org/minos-static/wiki/new-recipes#new-package

didn't help

root@dev2020:/temp2# ./static-get htop
htop.tar.xz
root@dev2020:/temp2# tar xf htop.tar.xz 
root@dev2020:/temp2# ./bin/htop --version
htop 1.0.3 - (C) 2004-2012 Hisham Muhammad
Released under the GNU GPL.

root@dev2020:/temp2# ./bin/htop
Error opening terminal: xterm-256color.
root@dev2020:/temp2# export TERM=xterm; ./bin/htop
Error opening terminal: xterm.
root@dev2020:/temp2# TERMINFO=/usr/share/terminfo/   ./bin/htop
Error opening terminal: xterm.
root@dev2020:/temp2# cat /etc/*release*
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"
NAME="Ubuntu"
VERSION="18.04.4 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.4 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

(btw i spent some time trying to get a static build of htop, but failed.. i think i managed to create a static build of libncurses with unicode-support, but htop ./configure refused to link to it, not sure why)

FWIW it also doesn't work on RHEL7; but this one does: https://github.com/divinity76/static_bin/blob/static_htop/htop-0.6.6-static