Htop: Unable to configure in Ubuntu 16.04

Created on 19 Aug 2016  Â·  2Comments  Â·  Source: hishamhm/htop

htop 2.0.2 release fails to configure:

➜  htop-2.0.2 ./configure 
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target 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... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /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
./configure: line 4501: syntax error near unexpected token `disable-shared'
./configure: line 4501: `LT_INIT(disable-shared static)'

Recording

Here's the recording of asciinema:

asciicast

I've tried to compile using the latest commit (d3f575264b) from master and it returns the same error.

System Environment

➜  htop git:(master) uname -a
Linux kar0vd 4.4.0-34-generic #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

➜  /sandbox autoreconf --version
autoreconf (GNU Autoconf) 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.

➜  /sandbox gcc --version
gcc (GCC) 5.4.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

➜  /sandbox htop --version
htop 2.0.1 - (C) 2004-2016 Hisham Muhammad
Released under the GNU GPL.

Most helpful comment

Did you install libtool package? What does the libtoolize --version output?

All 2 comments

Did you install libtool package? What does the libtoolize --version output?

Thank you! I believe libtool was what I had been missing all along :disappointed:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mmarzantowicz picture mmarzantowicz  Â·  3Comments

nuno-agostinho picture nuno-agostinho  Â·  6Comments

edouard-lopez picture edouard-lopez  Â·  3Comments

rafis picture rafis  Â·  7Comments

mbostwick picture mbostwick  Â·  7Comments