Hi, On Wed, Apr 11, 2018 at 08:56:02AM +0200, Alexander Dahl wrote: > Am Dienstag, 10. April 2018, 17:34:09 CEST schrieb Bastian Stender: > > There are patches on top of htop 2.1.0. You should port them or drop > > them as needed. > > FWIW … > > 0001-linux-LinuxProcessList-fix-reading-of-number-of-read.patch was applied > upstream. > > 0002-configure-check-for-ncurses-with-ncurses6-config.patch applies cleanly > to > htop 2.2.0, but I'm not sure it's needed, they changed ncurses CFLAGS use in > upstream commit bc5d46982f3504000567e00f59e4f7a5905597a9, maybe more info on > that in #695 [1] and #745 [2]. Also they fixed things with pkg-config, so I'm > not sure if it is really needed anymore. Maybe see the discussions about > ncurses6 earlier this year on this list or the commit introducing that patch > (74ffd1f57d0d68a89183ea2bf47c0cd67a989520).
The problem is, that configure looks for libncurses6 with ncurses6-config. We don't have that combination. The fallback is ncurses5-config. That may be picked up from the system, which is bad. HTOP_NCURSES_CONFIG_SCRIPT=ncurses6-config in the _CONF_ENV should work instead of the patch. Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de