[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cannot build gawk 3.1.1 on Solaris 7
From: |
Aharon Robbins |
Subject: |
Re: Cannot build gawk 3.1.1 on Solaris 7 |
Date: |
Thu, 10 Oct 2002 09:03:14 +0200 |
Greetings.
This patch made no change in the generated intl/Makefile.in file.
In fact, I don't see how it could, as there's no Makefile.am in
the intl directory.
And it's not clear what you mean by `not ship the intl directory
at all.' How is anyone supposed to use --with-included-gettext
if I don't ship that directory?
Or is the assumption that on non-glibc systems one shouldn't
enable gettext at all? That seems rather draconian.
Note: I'm using automake 1.7, gettext 0.11.5 and autoconf 2.54, so
I'm current on all my tools. And I WILL NOT use development
versions of those tools, only released ones.
Arnold
> Date: Wed, 9 Oct 2002 17:32:11 -0700 (PDT)
> From: Paul Eggert <address@hidden>
> To: address@hidden
> CC: address@hidden, address@hidden, address@hidden,
> address@hidden
> Subject: Re: Cannot build gawk 3.1.1 on Solaris 7
>
> > From: Stepan Kasal <address@hidden>
> > Date: Wed, 9 Oct 2002 16:49:40 +0200
> >
> > the problem seems to be your locale configuration.
>
> No, the problem is that gawk-3.1.1/intl/Makefile.in says this:
>
> INCLUDES = -I.. -I. -I$(top_srcdir)/intl
>
> and this include path does not see custom.h when the build directory
> differs from the source directory.
>
> To work around the problem, configure and build in the source directory.
> I have tested this on Solaris 7 (sparc) with gcc.
>
>
> My suggestion for fixing the bug is for Gawk to not ship the intl
> directory at all, e.g. with the following patch. This is what most
> other gettext-using packages are doing these days.
>
> 2002-10-09 Paul Eggert <address@hidden>
>
> * configure.in (AM_GNU_GETTEXT): Switch from no-libtool to external.
>
> --- old/configure.in 2002-04-29 05:23:32.000000000 -0700
> +++ new/configure.in 2002-10-09 17:30:02.716361633 -0700
> @@ -96,7 +96,7 @@
> AM_C_PROTOTYPES
>
> dnl initialize GNU gettext
> -AM_GNU_GETTEXT([no-libtool], [need-ngettext])
> +AM_GNU_GETTEXT([external], [need-ngettext])
>
> dnl checks for header files
> AC_HEADER_STDC