Norman,
I wish to build the Starlink User Guide under the GNU tools. I duly
created a Makefile.am, configure.ac, and component.xml.in; and ran
starconf and then ./bootstrap. It fails like this.
rlspc3-ix86_Linux> ./bootstrap
Bootstrapping /export/soft/mjc/svn/star/docs/sug ...
...using starconf in /export/soft/mjc/classic/buildsupport
starconf-validate: the following files should be checked in, but aren't
Makefile.am configure.ac bootstrap component.xml.in component.xml
Bootstrap already up to date -- not overwriting
autoreconf --install --symlink
configure.ac:17: error: STAR_LATEX_DOCUMENTATION: bad doccode in sug --
must be eg sun123 or sun123/
/export/soft/mjc/classic/buildsupport/share/aclocal/starconf.m4:971:
STAR_LATEX_DOCUMENTATION is expanded from...
configure.ac:17: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
In configure.ac I have STAR_LATEX_DOCUMENTATION(sug) [but have tried
argument sug/ too]. The following regular expression in starconf.m4
suggests the issue is that SUG lacks a number.
m4_if(m4_bregexp([$1], [^ *\([a-z][a-z]*[0-9][0-9]*/? *\)*$]),
[0],
[],
[AC_FATAL([$0: bad doccode in $1 -- must be eg sun123 or sun123/])])
Would it be safe to relax this constraint or should I be using a
different STAR_ directive in configure.ac?
Malcolm
|