[Top][All Lists]

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

Re: Compiling gawk on Tandem NSK/OSS

From: Matthew Woehlke
Subject: Re: Compiling gawk on Tandem NSK/OSS
Date: Wed, 08 Nov 2006 10:08:16 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20061025 Thunderbird/ Mnenhy/

How does one subscribe to bug-gawk? (And would anyone mind if we subscribed gmane?) It isn't listed on http://lists.gnu.org/ which seemed the likely place for it to show up.

Eric Blake wrote:
According to Matthew Woehlke on 11/7/2006 2:35 PM:
I am trying to build gawk 3.1.5 on Tandem NSK/OSS. To get this to work,
I had to apply the following patch:

==== BEGIN patch
--- gawk-3.1.5/awk.h    2005-07-26 11:07:43.000000000 -0700
+++ gawk-3.1.5-oss/awk.h        2006-11-07 11:47:38.000000000 -0800
@@ -41,6 +41,9 @@
 #define _GNU_SOURCE    1       /* enable GNU extensions */
 #endif /* _GNU_SOURCE */


Isn't this taken care of by using the latest version of the gnulib
extensions module?  At any rate, my understanding is that autoconf 2.61
will also take care of this, by including the changes that gnulib made
post autoconf-2.60.  Is gawk even using gnulib yet?

From working on porting coreutils, I believe gnulib is mostly there (or if it isn't, I hope to find out soon and will get back to you), but I don't remember running into the need to '#define _XOPEN_SOURCE_EXTENDED 1' yet (maybe this was there already?), even if it does look like this is only needed because of a buggy netdb.h.

Anyway, to answer your question, I don't see that gawk is using gnulib (but I could be wrong, I'm not all that familiar with gnulib - and certainly not gawk - myself).

...and I also had to add '-lzrldsrl' to LIBS (this is NSK's '-ldl').

Ralf posted a better solution to this on the autoconf list.

Right, gawk's configure.ac needs to be updated.

If this message is intercepted, the sender will disavow all knowledge of its existence.

reply via email to

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