W3C home > Mailing lists > Public > www-lib@w3.org > April to June 1999

bootstrapping on linux: autoheader errors

From: Bryan B. Thompson <bryan@cog-tech.com>
Date: Wed, 26 May 1999 08:44:57 -0400
Message-Id: <199905261244.IAA07584@server.internal.cog-tech.com>
To: www-lib@w3.org, bryan@server.internal.cog-tech.com
Hello,

I searched through the archives, but I did not see much at all dealing with
the bootstrapping process what to do when it fails.  Therefore, ....

I have the current CVS release of libwww.  I have updated and installed:

	automake	1.4
	autoconf	2.13
and	libtool		1.3

I am using gcc 2.7.2.1 and make 3.74.

When running "aclocal; autoheader; ...", I get the following problems
in autoheader (see below).

$ autoheader
configure.in:44: AC_TRY_COMPILE was called before AC_ISC_POSIX
configure.in:188: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:189: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:192: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:193: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:194: warning: AC_TRY_RUN called without default to allow cross compiling

There is a comment at configure.in(44):

  dnl Remove next line and you get an error -- autoconf
  dnl should deal with this automatically.
  AC_ISC_POSIX

that suggests commenting out the AC_ISC_POSIX may be the right thing to
do, however that generates a different set of errors (see below).

$ autoheader
configure.in:188: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:189: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:192: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:193: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:194: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:197: AC_TRY_COMPILE was called before AC_ISC_POSIX
configure.in:197: AC_TRY_RUN was called before AC_ISC_POSIX

From what I can glean, the warnings are not a problem.  However, the error
in the first run on line 44, and the errors in the second run on line 197,
may be a 'problem'.  Further, if I continue to attempt the bootstrapping
process, I get errors such as below (I have attached the errors with both
the original line 44 of configure.in and the errors when that line is
commented out using the 'dnl ' comment syntax.)

(Running automake and then autoconf with line 44 of configure.in unmodified.)
$ autoconf
configure.in:184: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:185: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:186: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:187: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:188: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:189: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:192: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:193: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:194: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:197: AC_TRY_COMPILE was called before AC_ISC_POSIX
configure.in:197: AC_TRY_RUN was called before AC_ISC_POSIX
autoconf: Undefined macros:
***BUG in Autoconf--please report*** AC_DISABLE_FAST_INSTALL
configure.in:44:xAC_ISC_POSIX

(Running automake and then autoconf with line 44 of configure.in commented
 out.)
$ autoconf
configure.in:184: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:185: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:186: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:187: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:188: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:189: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:192: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:193: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:194: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:197: AC_TRY_COMPILE was called before AC_ISC_POSIX
configure.in:197: AC_TRY_RUN was called before AC_ISC_POSIX
autoconf: Undefined macros:
***BUG in Autoconf--please report*** AC_DISABLE_FAST_INSTALL
[bryan@server libwww]$ 

Finally, if this bootstrapping process breaks in the middle, as it did for
me, can it just be safely restarted.  I realize that we are in the process
of creating the makefiles, so there is not going to be any easy method for
cleaning the distribution.  I have check to insure that the bootstrapping
process does not modify any of the checkout files from the CVS repository.

-bryan
Received on Wednesday, 26 May 1999 08:45:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:29 GMT