Htop: configure.ac:23: error: possibly undefined macro: AC_DISABLE_SHARED

Created on 8 Mar 2016  路  3Comments  路  Source: hishamhm/htop

Running the instruction from the readme to build on *Ubuntu

./autogen.sh && ./configure && make

Error

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

Env

$ lsb_release -a
Distributor ID: Ubuntu
Description:    Ubuntu 15.10
Release:        15.10
Codename:       wily

Most helpful comment

I was missing some tools to build, solved with:

sudo apt-gen install autogen autoconf libtool

All 3 comments

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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  4Comments

FlorentATo picture FlorentATo  路  7Comments

grantwwu picture grantwwu  路  3Comments

sbibauw picture sbibauw  路  7Comments

kaefer picture kaefer  路  4Comments