[HarfBuzz] (noob?) Building HB

suzuki toshiya mpsuzuki at hiroshima-u.ac.jp
Tue Aug 2 03:33:21 PDT 2011

Umm. In my case, when autoconf cannot find pkg.m4 (autoconf
support file in pkg-config), I got the error you found.
But this is only the case that I used confused autotools
installed manually. I guess your autoconf won't fall such.

Could you send me the debug output of autoreconf?
"autoreconf --debug" will generate long output showing
which macro files are loaded and which macros are defined,
like this:

$ autoreconf --debug
aclocal: found macro AM_PROG_VALAC in /kiyomizu/share/aclocal-1.11/vala.m4: 17
aclocal: found macro AM_PROG_UPC in /kiyomizu/share/aclocal-1.11/upc.m4: 9
aclocal: found macro _AM_PROG_TAR in /kiyomizu/share/aclocal-1.11/tar.m4: 24


Shriramana Sharma wrote:
> On 08/02/2011 02:13 PM, suzuki toshiya wrote:
>> It seems that Ubuntu provides autoconf2.64 package.
>> If you can install it without breaking your system consistency,
>> please install it and try "autoreconf2.64 --force --install".
>> # I could reproduce your trouble by manually installed autotools,
>> # but my manually installed directory is very confused and I'm
>> # not sure if it is because of too new autoconf.
> :( Still no go.
> $ autoreconf2.64 --force --install
> libtoolize: putting auxiliary files in `.'.
> libtoolize: copying file `./ltmain.sh'
> libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
> libtoolize: rerunning libtoolize, to keep the correct libtool macros 
> in-tree.
> libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
> configure.ac:32: error: possibly undefined macro: AC_SUBST
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> configure.ac:106: error: possibly undefined macro: AC_CHECK_PROG
> autoreconf2.64: /usr/bin/autoconf2.64 failed with exit status: 1
> $

More information about the HarfBuzz mailing list