bug-gnulib
[Top][All Lists]
Advanced

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

Re: error: GL_GENERATE_ERRNO_H does not appear in AM_CONDITIONAL


From: Bruce Korb
Subject: Re: error: GL_GENERATE_ERRNO_H does not appear in AM_CONDITIONAL
Date: Fri, 6 Sep 2019 16:16:09 -0700

Hi Bruno,

On Fri, Sep 6, 2019 at 3:25 PM Bruno Haible <address@hidden> wrote:
Hi Bruce,
> Bootstrap messages:
>
> autoopts/Makefile.am:97: error: GL_GENERATE_ERRNO_H does not appear in
> AM_CONDITIONAL
> autoopts/Makefile.am:152: error: GL_GENERATE_STDDEF_H does not appear
> in AM_CONDITIONAL

These two message indicate that the 'configure' script was not correctly
generated.

I had guessed that.

There are many possible causes. Before you revisit your build system,
I would
  - try the same thing from a pristine checkout (no leftover files from
    a couple of years ago),

Countless years ago, my build process became blowing away the build tree,
cloning the repo tree, populating it only with managed files, and *then*
go in and bootstrap/autoreconf/configure/make. The configure stuff
has bit-rotted.
 
  - verify that the -I options passed to aclocal contain the directory
    where errno_h.m4 and stddef_h.m4 have been copied to.

It looks right:

libtoolize: linking file 'config/lt~obsolete.m4'
+shlib=run_autotools-177> doit /usr/local/bin/aclocal -I config
((note: I'm using a fancy PS4 here. viz. PS4="+${prog}=\${FUNCNAME:-=}-\$LINENO> "))
+shlib=doit-34> test x/usr/local/bin/aclocal '!=' x:
+shlib=doit-36> echo 'RUN:  /usr/local/bin/aclocal -I config'
RUN:  /usr/local/bin/aclocal -I config
+shlib=doit-37> eval /usr/local/bin/aclocal -I config
++shlib=doit-37> /usr/local/bin/aclocal -I config
configure.ac:121: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
config/ag_macros.m4:215: AG_LINK_SETJMP is expanded from...
config/ag_macros.m4:568: INVOKE_AG_MACROS is expanded from...
configure.ac:121: the top level
configure.ac:121: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
.....
Makefile.am: installing './COPYING' using GNU General Public License v3 file
Makefile.am:     Consider adding the COPYING file to the version control system
Makefile.am:     for your code, to avoid questions about which license your project uses
agen5/Makefile.am: installing 'config/depcomp'
parallel-tests: installing 'config/test-driver'
autoopts/Makefile.am:97: error: GL_GENERATE_ERRNO_H does not appear in AM_CONDITIONAL
autoopts/Makefile.am:152: error: GL_GENERATE_STDDEF_H does not appear in AM_CONDITIONAL
doc/Makefile.am:38: installing 'config/texinfo.tex'
+shlib=doit-37> die 'FAILURE 1:  /usr/local/bin/automake --gnu --add-missing'
+shlib=die-27> echo 'bootstrap failure:  FAILURE 1:  /usr/local/bin/automake --gnu --add-missing'

$ ls config 
00gnulib.m4         extern-inline.m4   lib-ld.m4       pkg.m4
absolute-header.m4  gendocs.sh         lib-link.m4     snippet
ag_macros.m4        gen-files.tar.gz   liboptschk.m4   snprintfv.m4
bootstrap           gen-list.txt       libopts.m4      stat-time.m4
bootstrap.local     gnulib-cache.m4    lib-prefix.m4   stddef_h.m4
bootstrap.shlib     gnulib-common.m4   libtool.m4      stdnoreturn.m4
compile             gnulib-comp.m4     ltmain.sh       test-driver
config.guess        gnulib-tool.m4     lt~obsolete.m4  texinfo.tex
config.rpath        guile.m4           ltoptions.m4    time_h.m4
config.sub          host-cpu-c-abi.m4  ltsugar.m4      unlocked-io.m4
depcomp             include_next.m4    ltversion.m4    warn-on-use.m4
errno_h.m4          install-defs.sh    missing         wchar_t.m4
extensions.m4       install-sh         mk-shdefs.in


reply via email to

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