lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] Problem compiling lynx on Solaris


From: Thomas Dickey
Subject: Re: [Lynx-dev] Problem compiling lynx on Solaris
Date: Fri, 31 Dec 2010 09:48:54 -0500 (EST)

On Fri, 31 Dec 2010, Brian Cameron wrote:


Thomas:

Thanks for the update.  I verified that your patch also fixes the
issue, and I updated our builds to use the same patch.  No reason to
be different.

thanks for the feedback.


Brian


On 12/30/10 04:08 PM, Thomas Dickey wrote:
On Thu, 30 Dec 2010, Brian Cameron wrote:


Lynx Developers:

The lynx 2.8.7 program fails to compile on Solaris due an issue with
how LOCALE support is compiled. The compile of LYMain.c fails
with this error:

pkgbuild: "LYMain.c", line 941: undefined symbol: LC_ALL

Fixing an #ifdef corrects this issue. See attached patch.

This was fixed a different way in 2.8.8dev.1, e.g.,

--- LYMain.c 2009/06/30 08:35:34 1.204
+++ LYMain.c 2009/08/25 21:26:10 1.205
@@ -1,5 +1,5 @@
/*
- * $LynxId: LYMain.c,v 1.203 2009/06/07 16:01:30 tom Exp $
+ * $LynxId: LYMain.c,v 1.204 2009/06/30 08:35:34 tom Exp $
*/
#include <HTUtils.h>
#include <HTTP.h>
@@ -57,7 +57,7 @@
#include <io.h>
#endif

-#if defined(LOCALE) && !defined(HAVE_LIBINTL_H)
+#if defined(LOCALE) && (!defined(HAVE_LIBINTL_H) || !defined(LC_ALL))
#undef gettext /* Solaris locale.h prototypes gettext() */
#include <locale.h>
#ifndef HAVE_GETTEXT





--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]