I found a solution from this webpage: https://live.gnome.org/GObjectIntrospection/AutotoolsIntegration
I needed to copy missing m4 scripts for autogen/configure/make to run correctly. First it was introspection.m4 from git/gobject-introspection/m4 that was missing (for autogen). Then it was gsettings.m4 from git/glib/m4macros that was missing (for make). Eventually (frustrated), I copied everything from my sandbox share/aclocal/ to git/gtk+/m4. After, the whole build worked OK. As I said in prior mail, I guess this was a bad build env. However, I find it strange that these m4 build issues only appear in GKT+ from Git. I worked hard to recompile my whole GTK+ sandbox from various Git projects. All of them worked fine except for GTK+. Here is the list of other projects I compiled from various Git repos as part of my GTK+ sandbox: * GLib * GObject Introspection * ATK * Gdk-Pixbuf * FreeType * HarfBuzz * Pixman * Cairo * Pango * AT-SPI2 Core * AT-SPI2-ATK Thanks, Arpe On Sat, Dec 22, 2012 at 11:23 PM, Kevin Connor Arpe <[email protected]>wrote: > Hello, > > I built my own GTK+ hacking sandbox using tarballs of recent releases. > Now I am trying to build GTK+ from Git. I did a clone, then tried to run > autogen.sh, but I see these errors: > > gdk/Makefile.am:187: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL > gtk/Makefile.am:1262: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL > autoreconf: automake failed with exit status: 1 > > I already built gobject-introspection from source tarball 1.34.2 for my > GTK+ hacking sandbox. > > I went back to my GTK+ source tree from 3.6.2 tarball and tried to run > autogen.sh. Oddly, I get the same exact errors. When I built GTK+ > originally from source tarball 3.6.2, the script configure already existed, > so I didn't need to run autogen.sh. Also, I configure'd my GTK+ > with --enable-introspection=yes. No complaints during config and build > from source tarball was good. > > How can I fix this problem? My guess is I have a bad build env, but I > don't know what to fix. > > Here is my command and full output: > > kca@cwb:~/saveme/gtk3/git/gtk+ [GTK+]$ ./autogen.sh > autoreconf: Entering directory `.' > autoreconf: configure.ac: not using Gettext > autoreconf: running: aclocal --force -I m4 ${ACLOCAL_FLAGS} > configure.ac:23: warning: AC_INIT: not a literal: > http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B > autoreconf: configure.ac: tracing > configure.ac:23: warning: AC_INIT: not a literal: > http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B > autoreconf: configure.ac: creating directory build-aux > autoreconf: running: libtoolize --copy --force > libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'. > libtoolize: copying file `build-aux/ltmain.sh' > libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. > libtoolize: copying file `m4/libtool.m4' > libtoolize: copying file `m4/ltoptions.m4' > libtoolize: copying file `m4/ltsugar.m4' > libtoolize: copying file `m4/ltversion.m4' > libtoolize: copying file `m4/lt~obsolete.m4' > configure.ac:23: warning: AC_INIT: not a literal: > http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B > autoreconf: running: /usr/bin/autoconf --force > configure.ac:23: warning: AC_INIT: not a literal: > http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B > autoreconf: running: /usr/bin/autoheader --force > configure.ac:23: warning: AC_INIT: not a literal: > http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B > autoreconf: running: automake --add-missing --copy --force-missing > configure.ac:23: warning: AC_INIT: not a literal: > http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B > configure.ac:138: installing `build-aux/config.guess' > configure.ac:138: installing `build-aux/config.sub' > configure.ac:65: installing `build-aux/install-sh' > configure.ac:65: installing `build-aux/missing' > demos/gtk-demo/Makefile.am: installing `build-aux/depcomp' > gdk/Makefile.am:187: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL > gtk/Makefile.am:1262: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL > autoreconf: automake failed with exit status: 1 > > Thanks, > Arpe >
_______________________________________________ gtk-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gtk-list
