[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bootstrapping a freshly-cloned Git repository of Bison fails

From: Stefano Lattarini
Subject: Bootstrapping a freshly-cloned Git repository of Bison fails
Date: Fri, 21 Dec 2012 18:06:35 +0100

How to reproduce:

  $ git clone git://git.savannah.gnu.org/bison.git
  $ cd bison
  $ ./bootstrap
  You may need to use the following Makefile variables when linking.
  Use them in <program>_LDADD when linking a program, or
  in <library>_a_LDFLAGS or <library>_la_LDFLAGS when linking a library.
    $(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise
    $(LTLIBTHREAD) when linking with libtool, $(LIBTHREAD) otherwise

  Don't forget to
    - "include gnulib.mk" from within "lib/Makefile.am",
    - mention "-I m4" in ACLOCAL_AMFLAGS in Makefile.am,
    - mention "m4/gnulib-cache.m4" in EXTRA_DIST in Makefile.am,
    - invoke gl_EARLY in ./configure.ac, right after AC_PROG_CC_STDC,
    - invoke gl_INIT in ./configure.ac.
  running: AUTOPOINT=true LIBTOOLIZE=true  autoreconf --verbose --install 
--no-recursive -I m4
  autoreconf: Entering directory `.'
  autoreconf: running: true
  autoreconf: running: aclocal -I m4 -I m4
  autoreconf: configure.ac: tracing
  autoreconf: configure.ac: not using Libtool
  autoreconf: running: /usr/bin/autoconf --include=m4
  configure.ac:168: error: possibly undefined macro: AC_PROG_GNU_M4
        If this token and others are legitimate, please use m4_pattern_allow.
        See the Autoconf documentation.
  autoreconf: /usr/bin/autoconf failed with exit status: 1
  ./bootstrap: autoreconf failed

Maybe this could be fixed by suitably invoking "git submodule"
in the 'bootstrap_post_import_hook' function (to be defined in
bootstrap.conf).  I didn't attempt a patch because I have no
copyright paperwork in place for Bison.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]