On Wed, 2001-11-07 at 10:55, John Poltorak wrote: > > I get the following error msgs when using autoheader while trying to > build mktemp:- > > autoheader.: checking completeness of the template > autoheader.: No template for symbol `HAVE_PROGNAME' > autoheader.: No template for symbol `MKDTEMP' > autoheader.: No template for symbol `MKSTEMP' > autoheader.: No template for symbol `_PATH_RANDOM' > status is 1 > > Mktemp is available here:- > > ftp://ftp.cs.colorado.edu/pub/mktemp/mktemp-1.3.1.tar.gz
No it's not: --11:32:26-- ftp://ftp.cs.colorado.edu:21/pub/mktemp/mktemp-1.3.1.tar.gz => `mktemp-1.3.1.tar.gz' Connecting to ftp.cs.colorado.edu:21... Connection to ftp.cs.colorado.edu:21 refused. > Does anyone recognise these msgs and can suggest why I get them? Yup. It means that AC_DEFINE(HAVE_PROGNAME) is used, but that none of the uses specify the comment to use. Autoheader wants to create config.h.in header that look like /* blah */ #define FOO <optional value> For the 'blah' part, it has to rely on the user to tell it what to use. In the olden days, acconfig.h was used for that purpose, but now autoheader expects AC_DEFINE to do it: AC_DEFINE(HAVE_PROGNAME, 1, [Define if your system has the progname() function.]) Or something like that. So often these messages can be resolved quite easily by simply looking for AC_DEFINE's that lack a third argument, and add it (often a legacy acconfig.h will be present, in which case you can just lift the comment from there), optionally adding a value as well ('1' is usully OK). Hope that helps.