[HarfBuzz] harfbuzz bootstrapping problems

Werner LEMBERG wl at gnu.org
Thu Jun 14 13:57:08 PDT 2012


>>   /usr/local/bin/autoconf --force
>>   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:56: error: possibly undefined macro: AC_CHECK_HEADERS
>>   configure.ac:125: error: possibly undefined macro: AC_MSG_CHECKING
>>   configure.ac:128: error: possibly undefined macro: AC_TRY_LINK
>>   configure.ac:130: error: possibly undefined macro: AC_MSG_RESULT
>>   autoreconf: /usr/local/bin/autoconf failed with exit status: 1

I've found the problem: I've manually installed the most recent
versions of autoconf, automake, and libtool in /usr/local, while
pgk-config was still in /usr.  Consequently, pkg.m4 wasn't found.  I
find it very unfortunate that the above error messages are so
misleading.

My suggestion is to change the behaviour of autogen.sh: Don't call
`configure' directly, but use $@ to pass arguments to autoreconf.  In
case this gets implemented, the call

  ./autogen.sh -I /usr/share/aclocal

would solve my issue.  Another reason for such a change is the fact
that there isn't an environment variable which corresponds to
autoreconf's `-I' option.


    Werner



More information about the HarfBuzz mailing list