[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How do I fix 'missing template' problem ??
From: |
Dr. David Kirkby |
Subject: |
Re: How do I fix 'missing template' problem ?? |
Date: |
Sun, 13 Apr 2003 17:21:52 +0100 |
Alexandre Duret-Lutz wrote:
>
> >>> "David" == David Kirkby <address@hidden> writes:
>
> [...]
>
> David> sparrow /export/home/davek/atlc % autoreconf
> David> autoheader: missing template: ENABLE_POSIX_THREADS
> David> Use AC_DEFINE([ENABLE_POSIX_THREADS], [], [Description])
>
> The error message tells you what to do. If you don't understand
> this, please grep the autoconf manual for `missing template'.
I think there are some difference between the manual here, since I
can't find it in my manual anywhere. My manual consists of 208 html
files, with one file per none. Clearly the manual is for version 2.57,
as a grep on that finds several references.
sparrow % grep -i "2.57" *
autoconf_17.html:<TABLE><tr><td> </td><td
class=example><pre>AC_PREREQ(2.57)
autoconf_74.html:<TABLE><tr><td> </td><td
class=example><pre>AC_INIT(Autoconf Documentation, 2.57,
address@hidden)
autoconf_74.html:#define PACKAGE_VERSION "2.57"
autoconf_74.html:#define PACKAGE_STRING "Autoconf Documentation 2.57"
autoconf_74.html:<TABLE><tr><td> </td><td
class=example><pre>AC_INIT(Autoconf Documentation, 2.57,
address@hidden)
autoconf_74.html:#define PACKAGE_VERSION "2.57"
autoconf_74.html:#define PACKAGE_STRING "Autoconf Documentation 2.57"
autoconf_75.html:<TABLE><tr><td> </td><td
class=example><pre>AC_INIT(Autoconf Documentation, 2.57,
address@hidden)
s
Yet I can't find a reference to 'missing template'
% grep -i "missing template" *
%
However, after reading your mail and the error messages again, I did
sort the problems out. At first I did not find the error message that
informative, since I was interpreting it that I should add a macro
definition somewhere (perhaps even in another files), not just alter
one line in my configure.ac.
With regard to the manual, I also can't find 'AC_CONFIG_HEADER'
% grep 'AC_CONFIG_HEADER' * | grep -v 'AC_CONFIG_HEADERS'
%
yet that function AC_CONFIG_HEADER is clearly documented on the web.
This seems rather strange, suggesting the manual I have downloaded for
version 2.57 id not 100% OK.
--
Dr. David Kirkby,
Senior Research Fellow,
Department of Medical Physics,
University College London,
11-20 Capper St, London, WC1E 6JA.
Tel: 020 7679 6408 Fax: 020 7679 6269
Internal telephone: ext 46408
e-mail address@hidden