Running the instruction from the readme to build on *Ubuntu
./autogen.sh && ./configure && make
I got:
configure.ac:23: error: possibly undefined macro: AC_DISABLE_SHARED
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:24: error: possibly undefined macro: AC_ENABLE_STATIC
configure.ac:25: error: possibly undefined macro: AC_PROG_LIBTOOL
autoreconf: /usr/bin/autoconf failed with exit status: 1
$ lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 15.10
Release: 15.10
Codename: wily
I was missing some tools to build, solved with:
sudo apt-gen install autogen autoconf libtool
Here is a way to build the .deb package
sudo apt-get install checkinstall
make && sudo -k checkinstall \
--pkgsource="https://github.com/hishamhm/htop/" \
--pkglicense="GPL2" \
--deldesc=no \
--nodoc \
--maintainer="$USER\\<[email protected]\\>" \
--pkgarch=$(dpkg \
--print-architecture) \
--pkgversion="2.0.1" \
--pkgrelease="SNAPSHOT" \
--pkgname=htop \
--requires="libc6 \(\>= 2.4\),libncurses5 \(\>= 5.5-5~\),libtinfo5,python" \
make install
i installed in windows, i hope it will work!
Most helpful comment
I was missing some tools to build, solved with: