Open cmcqueen opened 6 years ago
htop 2.2.0, the same problem, not fixed yet?
We hit the same issue on Exherbo. For now I was able to workaround that by passing
HTOP_NCURSESW_CONFIG_SCRIPT="/usr/$(exhost --target)/bin/ncursesw6-config"
during configure. $(exhost --target)
is the triple of the targeted host, e.g. armv7-unknown-linux-gnueabihf
But this only works because ncursesw6-config
is a bash script. Usually you can't expect to run stuff from /usr/$(exhost --target)/bin
on your build host.
So +1 for using pkg-config
here to find ncurses in a cross-compatible way
I'm trying to use Yocto to cross-compile htop 2.0.2 for an ARM-based system (BeagleBone Black). I'm using configure option
--disable-unicode
since I have disabled wchar support.It fails with the message:
The
config.log
contains:See [oe] --should-not-have-used- on the OpenEmbedded mailing list which describes the
should-not-have-used-
part in the error message.I think the essence is, use
pkg-config
to find the ncurses dependency.htop 1.0.3 builds okay in Yocto, I guess because it's not using the same method to check for ncurses.