compiling partimage

Tim Abell · March 26, 2007

Had a problems getting partimage to compile on one of my pcs from a fresh checkout.
svn co partimage

The ./ script was failing as follows
tim@lap:~/projects/partimage$ ./
Running "autoreconf -vif" ...

autoreconf: Entering directory `.'
autoreconf: running: autopoint --force
autoreconf: running: aclocal -I m4 --output=aclocal.m4t
autoreconf: `aclocal.m4' is unchanged
autoreconf: tracing
autoreconf: running: libtoolize --copy --force
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy 16: required file `./[config.h].in' not found AM_GNU_GETTEXT in `' but `intl' not in SUBDIRS
automake: AM_GNU_GETTEXT in `' but `ALL_LINGUAS' not defined
autoreconf: automake failed with exit status: 1

Barked up lots of wrong trees, including looking for missing libraries, gettext config etc.

Turned out to be an old version of automake.

Not sure how my other pc ended up with the right version, but this pc’s version was:
$ automake --version
automake (GNU automake) 1.4-p6

Installing new version (with some help from command line auto-completion):
$ apt-get install automake[tab]
automake automake1.5 automake1.8
automake1.4 automake1.6 automake1.9
automake1.4-doc automake1.7 automaken

$ sudo apt-get install automake1.9
$ automake --version
automake (GNU automake) 1.9.6

After updating automake, the ./ script ran, and I could then run ./configure and make successfully, and was left with a binary for partimage in src/client/


The solution came from a post by Tibor Simko on

<blockquote>Re: problem with autoreconf when installing from cvs

* From: Tibor Simko tibor.simko@xxxxxxx
* Subject: Re: problem with autoreconf when installing from cvs
* Date: Thu, 18 Jan 2007 18:12:20 +0100


On Thu, 18 Jan 2007, robert forkel wrote:

> $ autoreconf
> AM_GNU_GETTEXT in' but intl’ not in SUBDIRS
> automake: AM_GNU_GETTEXT in `’ but
> ALL_LINGUAS’ not defined

Which version numbers of automake, autoconf, and gettext do you have?
E.g. automake versions prior to 1.9 and gettext versions prior to 0.14
will not work.

Best regards

Tibor Simko</blockquote>

Share: Tweet | LinkedIn
Suggest improvments: page source on github