[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] wget-1.16.1 make fail with "--without-libiconv-prefix --w
From: |
Friedrich Haubensak |
Subject: |
Re: [Bug-wget] wget-1.16.1 make fail with "--without-libiconv-prefix --without-libintl-prefix" on Solaris10 x86 |
Date: |
Wed, 10 Dec 2014 09:06:52 +0100 (MET) |
seems to be the same issue as i reported on
https://savannah.gnu.org/bugs/index.php?43785
try copying wget-1.16/src/gettext.h to wget-1.16.1/src/gettext.h and
changing wget-1.16.1/src/wget.h to include that file:
--- wget.h__dist Sun Dec 7 20:52:24 2014
+++ wget.h Tue Dec 9 13:04:41 2014
@@ -58,13 +58,8 @@
/* `gettext (FOO)' is long to write, so we use `_(FOO)'. If NLS is
unavailable, _(STRING) simply returns STRING. */
-#if ENABLE_NLS
-# include <libintl.h>
-# define _(STRING) gettext(STRING)
-#else
-# define _(STRING) STRING
-# define ngettext(STRING1,STRING2,N) STRING2
-#endif
+#include "gettext.h"
+#define _(string) gettext (string)
/* A pseudo function call that serves as a marker for the automated
extraction of messages, but does not call gettext(). The run-time
Kiyoshi KANAZAWA thus spoketh:
> --without-libiconv-prefix --without-libintl-prefix
> are not recognized and cause "make fail" on Solaris10 x86.
>
> % ./configure --prefix=/opt/local --with-ssl=openssl
> --without-libiconv-prefix
> --without-libintl-prefix --with-libssl-prefix=/opt/openssl
> --with-libidn=/opt/local CC=gcc
>
> % make
> fails with message
> In file included from http.c:32:0:
> /usr/include/libintl.h:62:14: error: expected identifier or '(' before 'char'
> extern char *ngettext(const char *, const char *, unsigned long int);
> ^
> Makefile:1542: recipe for target 'http.o' failed
>
>
> ENABLE_NLS seems to be #defined, although -without-libiconv-prefix
> --without-libintl-prefix are specified.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Bug-wget] wget-1.16.1 make fail with "--without-libiconv-prefix --without-libintl-prefix" on Solaris10 x86,
Friedrich Haubensak <=