Building gawk 3.7.1 on AIX 5.3

View: New views
2 Messages — Rating Filter:   Alert me  

Building gawk 3.7.1 on AIX 5.3

by Perry Smith-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm bumping in to a lot of problems building gawk on AIX 5.3.  I'm  
using gcc 4.3.1

The libtool adds in -D_XOPEN_SOURCE_EXTENDED=1 which changes AIX's  
includes files a lot.  fields like jmp_context become __jmp_context,  
gpr becomes _gpr.  And there are defines like MAP_ANON which are not  
defined at all.

I'm wondering a few things:  Does anyone know when / where the XOPEN  
flag was added?  Am I the first adventurer down the path of trying to  
get this version of gawk running on AIX?  Or, am I just missing  
something?

Perry
Ease Software, Inc. ( http://www.easesoftware.com )

Low cost SATA Disk Systems for IBMs p5, pSeries, and RS/6000 AIX systems




Parent Message unknown Re: Building gawk 3.7.1 on AIX 5.3

by Aharon Robbins :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I would try building by starting over with a clean extract from the
tarball and then using

        ./configure --disable-libsigsegv

Perhaps that will avoid running libtool.

You may indeed be the first one to try building gawk 3.1.7 on AIX.

Thanks,

Arnold

> From: Perry Smith <pedzsan@...>
> To: bug-gawk@...
> Date: Fri, 2 Oct 2009 15:25:44 -0500
>
> I'm bumping in to a lot of problems building gawk on AIX 5.3.  I'm  
> using gcc 4.3.1
>
> The libtool adds in -D_XOPEN_SOURCE_EXTENDED=1 which changes AIX's  
> includes files a lot.  fields like jmp_context become __jmp_context,  
> gpr becomes _gpr.  And there are defines like MAP_ANON which are not  
> defined at all.
>
> I'm wondering a few things:  Does anyone know when / where the XOPEN  
> flag was added?  Am I the first adventurer down the path of trying to  
> get this version of gawk running on AIX?  Or, am I just missing  
> something?
>
> Perry
> Ease Software, Inc. ( http://www.easesoftware.com )
>
> Low cost SATA Disk Systems for IBMs p5, pSeries, and RS/6000 AIX systems