Re: error in building gypsy

Craig Keogh <[email protected]>
Newsgroups gmane.comp.gnome.love
Message-ID <1333975611.27803.4.camel@tatooine>
On Sat, 2012-03-31 at 17:57 +0200, Wepmaschda wrote:
> Hello!
> 
> I am trying to build gnome via jhbuild on ubuntu 11.10.
> 
> I have the following error during configuring gypsy:
> -------------------
> *** Configuring gypsy *** [36/215]
> ./autogen.sh --prefix /opt/gnome --libdir '/opt/gnome/lib64'
> --disable-static --disable-gtk-doc
> autoreconf: Entering directory `.'
> autoreconf: configure.ac: not using Gettext
> autoreconf: running: aclocal
> autoreconf: configure.ac: tracing
> autoreconf: running: libtoolize --install --copy
> 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.
> autoreconf: running: /usr/bin/autoconf
> autoreconf: running: /usr/bin/autoheader
> autoreconf: running: automake --add-missing --copy --no-force
> gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL
> docs/reference/Makefile.am:87:   `gtk-doc.make' included from here
> gtk-doc.make:54: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL
> docs/reference/Makefile.am:87:   `gtk-doc.make' included from here
> gtk-doc.make:55: GTK_DOC_BUILD_HTML does not appear in AM_CONDITIONAL
> docs/reference/Makefile.am:87:   `gtk-doc.make' included from here
> gtk-doc.make:60: GTK_DOC_BUILD_PDF does not appear in AM_CONDITIONAL
> docs/reference/Makefile.am:87:   `gtk-doc.make' included from here
> gtk-doc.make:261: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL
> docs/reference/Makefile.am:87:   `gtk-doc.make' included from here
> autoreconf: automake failed with exit status: 1
> *** Error during phase configure of gypsy: ########## Error running
> ./autogen.sh --prefix /opt/gnome --libdir '/opt/gnome/lib64'
> --disable-static --disable-gtk-doc  *** [36/215]
> ----------------------
> 
> Has anybody already had this error? Is there something wrong with gtk-doc?
> 

gypsy isn't honoring ACLOCAL_FLAGS. I believe the best way to solve is
to add the following line to Makefile.am:
ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}

See bug 641445 [1], or more importantly bug 641445's children (depends
on).

-- 
Craig Keogh <[email protected]>

[1] https://bugzilla.gnome.org/show_bug.cgi?id=641445
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.