[cairo] Can't run autogen.sh: FEATURES not defined?

Damian Frank damian.frank at gmail.com
Wed Sep 17 22:33:05 PDT 2008

This is probably a stupid mistake or missed dependency on my part, but
I can't figure it out, so ... please help!  Sorry if this is some form
of FAQ, but Google is certainly stumped.

I'm trying to build from the git sources for the first time.  (I've
successfully been building 1.7.4 on this machine, but I need a bug fix
from the bleeding edge.)  When I run autogen.sh, I get a complaint
from, I guess, m4.  Can anyone tell me what this really means?  This
machine is running an up-to-date install of CentOS 5.  I'd really
appreciate any help.

[damianf at centos cairo]$ ./autogen.sh
using autoconf for autoconf
checking for automake >= 1.8...
 testing automake... found 1.9.6
checking for libtool >= 1.4...
 testing glibtoolize... not found.
 testing libtoolize... found 1.5.22
./autogen.sh:   Note: `./configure' will be run with no arguments.
              If you wish to pass any to it, please specify them on the
              `./autogen.sh' command line.

./autogen.sh: running `libtoolize --copy --force --automake'
./autogen.sh: running `aclocal -I build'
configure.ac:48: error: Accumulator `FEATURES' not defined.
build/aclocal.enable.m4:271: CAIRO_ACCUMULATE is expanded from...
build/aclocal.enable.m4:173: _CAIRO_ENABLE is expanded from...
build/configure.ac.features:27: CAIRO_ENABLE_SURFACE_BACKEND is expanded from...
configure.ac:48: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1

More information about the cairo mailing list