Open wxlg1117 opened 2 years ago
Which distribution is your system running on?
Can you post the configure logfiles for both configurations? Especially the part regarding the checks for NaN support
, and ceil
would be nice.
Works on Debian htop head at f3e70ab3 with autotools 2.69:
$ ./autogen.sh && ./configure --enable-static autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force --warnings=all autoreconf: configure.ac: tracing autoreconf: configure.ac: creating directory build-aux autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --force --warnings=all autoreconf: running: /usr/bin/autoheader --force --warnings=all autoreconf: running: automake --add-missing --copy --force-missing --warnings=all configure.ac:61: installing 'build-aux/compile' configure.ac:15: installing 'build-aux/config.guess' configure.ac:15: installing 'build-aux/config.sub' configure.ac:16: installing 'build-aux/install-sh' configure.ac:16: installing 'build-aux/missing' Makefile.am: installing './INSTALL' Makefile.am: installing 'build-aux/depcomp' autoreconf: Leaving directory `.' checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking for gcc option to accept ISO C99... none needed checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking for unistd.h... (cached) yes checking whether sys/types.h defines makedev... no checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking for sys/sysmacros.h... (cached) yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking for pid_t... yes checking for uid_t in sys/types.h... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for alloc_size... yes checking for NaN support... yes checking for ceil in -lm... yes checking for library containing clock_gettime... none required checking for clock_gettime... yes checking for dladdr... no checking for faccessat... yes checking for fstatat... yes checking for host_get_clock_service... no checking for memfd_create... yes checking for openat... yes checking for readlinkat... yes checking for sd_bus_open_system in -lsystemd... no checking for waddwstr in -lncursesw6... no checking for waddwstr in -lncursesw... yes checking ncursesw/curses.h usability... yes checking ncursesw/curses.h presence... yes checking for ncursesw/curses.h... yes checking for library containing keypad... none required checking for library containing Gpm_GetEvent... no checking for set_escdelay... yes checking for getmouse... yes checking for usable sched_setaffinity... yes checking for lzma_index_buffer_decode in -llzma... no checking for backtrace in -lunwind... no checking libunwind.h usability... no checking libunwind.h presence... no checking for libunwind.h... no checking libunwind/libunwind.h usability... no checking libunwind/libunwind.h presence... no checking for libunwind/libunwind.h... no checking for library containing backtrace... none required checking for cap_init in -lcap... no checking sys/capability.h usability... no checking sys/capability.h presence... no checking for sys/capability.h... no checking for sensors_init in -lsensors... yes checking sensors/sensors.h usability... yes checking sensors/sensors.h presence... yes checking for sensors/sensors.h... yes checking whether C compiler accepts -Wextra-semi-stmt... no checking whether C compiler accepts -Wimplicit-int-conversion... no checking whether C compiler accepts -Wnull-dereference... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating htop.1 config.status: creating config.h config.status: executing depfiles commands htop 3.2.1 platform: linux os-release file: /etc/os-release (Linux) proc directory: /proc (Linux) openvz: no (Linux) vserver: no (Linux) ancient vserver: no (Linux) delay accounting: no (Linux) sensors: yes (Linux) capabilities: no unicode: yes affinity: yes unwind: no hwloc: no debug: no static: yes
but it can be completed without --enable-static .