I have noticed that the CVS tree relies on a script called autogen.sh to
install the gettext stuff, and build the configure and Makefile.in.
However, according to the autoconf docs (and this is how I do it also),
the proper way to do it is with autoreconf:
http://www.gnu.org/software/autoconf/manual/autoconf-2.57/html_mono/autoconf.html#SEC14
Even after running autogen.sh, autoreconf fails on the configure.in.
After adding the required macro to configure.in as suggested by
autoconf, this is the result of running autoreconf --force --install
--verbose:
[dan@dan xchat2]$ reconf
autoreconf: Entering directory `.'
autoreconf: running: autopoint --force
Copying file ABOUT-NLS
Copying file config.rpath
Creating directory m4
Copying file m4/codeset.m4
Copying file m4/gettext.m4
Copying file m4/glibc21.m4
Copying file m4/iconv.m4
Copying file m4/intdiv0.m4
Copying file m4/inttypes-pri.m4
Copying file m4/inttypes.m4
Copying file m4/inttypes_h.m4
Copying file m4/isc-posix.m4
Copying file m4/lcmessage.m4
Copying file m4/lib-ld.m4
Copying file m4/lib-link.m4
Copying file m4/lib-prefix.m4
Copying file m4/progtest.m4
Copying file m4/stdint_h.m4
Copying file m4/uintmax_t.m4
Copying file mkinstalldirs
Copying file po/Rules-quot
Copying file po/boldquot.sed
Copying file po/e...@boldquot.header
Copying file po/e...@quot.header
Copying file po/insert-header.sin
Copying file po/quot.sed
autoreconf: running: aclocal --output=aclocal.m4t
autoreconf: `aclocal.m4' is unchanged
autoreconf: configure.in: tracing
autoreconf: running: libtoolize --copy --force
autoreconf: running: aclocal --output=aclocal.m4t
autoreconf: `aclocal.m4' is unchanged
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
Makefile.am: required file `./NEWS' not found
autoreconf: automake failed with exit status: 1
Several files required for a clean reconfiguration are missing:
NEWS
README
AUTHORS
ChangeLog
Would it be possible to have these files added to the repository? Also,
why not also distribute the latest version of gettext along with the
distribution, rather than relying on the host machine to have it installed?
Thanks,
Dan
--
XChat-discuss: mailing list for XChat users
Archive: http://mail.nl.linux.org/xchat-discuss/
> I have noticed that the CVS tree relies on a script called autogen.sh to
> install the gettext stuff, and build the configure and Makefile.in.
> However, according to the autoconf docs (and this is how I do it also),
> the proper way to do it is with autoreconf:
>
> http://www.gnu.org/software/autoconf/manual/autoconf-2.57/html_mono/autoconf.html#SEC14
>
> Even after running autogen.sh, autoreconf fails on the configure.in.
> After adding the required macro to configure.in as suggested by
> autoconf, this is the result of running autoreconf --force --install
> --verbose:
>
> [dan@dan xchat2]$ reconf
> autoreconf: Entering directory `.'
> autoreconf: running: autopoint --force
> Copying file ABOUT-NLS
> Copying file config.rpath
[snip]
> autoreconf: running: /usr/bin/autoconf --force
> autoreconf: running: /usr/bin/autoheader --force
> autoreconf: running: automake --add-missing --copy --force-missing
> Makefile.am: required file `./NEWS' not found
> autoreconf: automake failed with exit status: 1
>
> Several files required for a clean reconfiguration are missing:
>
> NEWS
> README
> AUTHORS
> ChangeLog
AUTHORS, README and ChangeLog are in the CVS. NEWS isn't used because of the
--foreign flag (I don't use a NEWS file). Maybe autoreconf takes this as a
command arg?
> Would it be possible to have these files added to the repository?
The ones that exist are in there.
> Also,
> why not also distribute the latest version of gettext along with the
> distribution, rather than relying on the host machine to have it installed?
Maintenance headache. CVS is for developers anyway. The official release
tarballs have all the gettext files.
--
Peter.