sardemff7 / j4status

Status line generator
https://sardemff7.github.io/j4status/
GNU General Public License v3.0
47 stars 9 forks source link

Unable to build on Ubuntu 13.10 #2

Closed michaelcoburn closed 10 years ago

michaelcoburn commented 10 years ago

Hi, very interested to demo j4status but I'm unable to build and I receive following error:

michael@samsung:~/code$ git clone git://github.com/sardemff7/j4status
Cloning into 'j4status'...
remote: Counting objects: 784, done.
remote: Compressing objects: 100% (405/405), done.
remote: Total 784 (delta 394), reused 767 (delta 377)
Receiving objects: 100% (784/784), 130.99 KiB | 0 bytes/s, done.
Resolving deltas: 100% (394/394), done.
Checking connectivity... done
michael@samsung:~/code$ cd j4status/
michael@samsung:~/code/j4status$ ./autogen.sh 
configure.ac:20: error: possibly undefined macro: AC_DISABLE_STATIC
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:66: error: possibly undefined macro: PKG_INSTALLDIR
autoreconf: /usr/bin/autoconf failed with exit status: 1
michael@samsung:~/code/j4status$ ls -l
total 372
-rw-rw-r-- 1 michael michael  45295 Nov 15 12:25 aclocal.m4
-rwxrwxr-x 1 michael michael     53 Nov 15 12:25 autogen.sh
drwxr-xr-x 2 michael michael   4096 Nov 15 12:25 autom4te.cache
-rwxrwxr-x 1 michael michael 207947 Nov 15 12:25 configure
-rw-rw-r-- 1 michael michael   5159 Nov 15 12:25 configure.ac
-rw-rw-r-- 1 michael michael  35147 Nov 15 12:25 COPYING
drwxrwxr-x 2 michael michael   4096 Nov 15 12:25 include
drwxrwxr-x 2 michael michael   4096 Nov 15 12:25 m4
-rw-rw-r-- 1 michael michael   1648 Nov 15 12:25 Makefile.am
drwxrwxr-x 2 michael michael   4096 Nov 15 12:25 man
drwxrwxr-x 7 michael michael   4096 Nov 15 12:25 src
michael@samsung:~/code/j4status$ ./configure
configure: error: cannot find install-sh, install.sh, or shtool in .aux "."/.aux

Any hints on where to go from here? Thanks

sardemff7 commented 10 years ago

The autoreconf part is already failing, as Ubuntu building tools are not up-to-date enough. You need pkg-config 0.27 and libtool to be installed. I will add a few checks on the configure.ac part to have more explicit errors.