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: Brian Cameron
Subject: Re: [Lynx-dev] Problem compiling lynx on Solaris
Date: Fri, 31 Dec 2010 01:27:40 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.12) Gecko/20101205 Thunderbird/3.1.6


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.

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






reply via email to

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