[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gettext-0.16.x + autogen.sh + hunks failed.
From: |
Bruno Haible |
Subject: |
Re: gettext-0.16.x + autogen.sh + hunks failed. |
Date: |
Sat, 7 Jul 2007 03:03:19 +0200 |
User-agent: |
KMail/1.5.4 |
Hello,
Ron Wezeman wrote:
> With (gettext-0.16 or gettext-0.16.1) and doing ./autogen.sh:
>
> Copying file gnulib-m4/strnlen.m4
> Copying file gnulib-m4/wchar.m4
> Updating file ../build-aux/config.rpath (backup in ../build-aux/config.rpath~)
> Updating file gnulib-lib/c-ctype.h (backup in gnulib-lib/c-ctype.h~)
> Updating file gnulib-lib/c-strstr.c (backup in gnulib-lib/c-strstr.c~)
> Updating file gnulib-lib/fwriteerror.h (backup in gnulib-lib/fwriteerror.h~)
> 1 out of 4 hunks FAILED -- saving rejects to file /tmp/glq1XHZG/getopt_.h.rej
> gnulib-tool: *** patch file gnulib-local/lib/getopt_.h.diff didn't apply
> cleanly
> gnulib-tool: *** Stop.
> gnulib-tool: module iconvstring doesn't exist
> Reversed (or previously applied) patch detected! Assume -R? [n]
You need to use the autogen.sh script only when you are building from the CVS;
in a release tarball all autoconf infrastructure is already generated.
If you want to regenerate it nevertheless, you need a copy of gnulib from
approximately the date of the gettext release:
gettext-0.16 2006-10-27
gettext-0.16.1 2006-11-28
You can use the cvs option "cvs update -D20061027 -dP" to update your gnulib
checkout accordingly.
Or, more simply, skip the first part of autogen.sh, that accesses gnulib, and
instead rely on the files that were shipped in the release.
Bruno