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

Behdad Esfahbod behdad at behdad.org
Thu Sep 18 00:13:39 PDT 2008

Damian Frank wrote:
> 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.

No it's not a missing dependency really, nor is it in any FAQ or in Google :).

> 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.

I can reproduce this on RHEL5.  Seems like I used more autoconf 2.62 features
that I liked to admit.  Anyway, added all the missing definitions so it's
working with 2.59 now.  If anyone has 2.58, please test, otherwise I'll bump
the required version to 2.59 since that's the earliest version we know works.

Please pull and try.


> [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
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo

More information about the cairo mailing list