[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: |
Ron Wezeman |
Subject: |
Re: gettext-0.16.x + autogen.sh + hunks failed. |
Date: |
Sun, 08 Jul 2007 01:36:39 +0200 |
Hello Bruno,
compiling gettext-0.16.1 without ./autogen.sh works. But got the same
error when adding -D20061128 to autogen.sh in gettext.
I think to need gettext with updated gnulib, because when configure
gsasl it could not find the gl_INIT command. It this right?
Error in gsasl:
checking if backwards compatibility code should be present... yes
checking for libgnutls... yes
checking how to link with libgnutls... /usr/lib/libgnutls.a
-L/lib /usr/lib/libgcrypt.a /usr/lib/libgpg-error.a /usr/lib/libz.a
/usr/lib/libnsl.a
checking if STARTTLS support via GnuTLS should be built... yes
./configure: line 24254: gl_INIT: command not found
checking for valgrind... no
checking whether self tests are run under valgrind... no
configure: creating ./config.status
bash-3.1#
Regards,
Ron
On Sat, 2007-07-07 at 03:03 +0200, Bruno Haible wrote:
> Hello,
>
> Ron Wezeman wrote:
> > With (gettext-0.16 or gettext-0.16.1) and doing ./autogen.sh:
> >
>
>
> address@hidden
> > 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
>