Re: compiling gnu-screen 3.9.9 on aix

From: Thomas Schweikle (thomasXschweikle_at_fiducia.de)
Date: 01/28/04


Date: Wed, 28 Jan 2004 12:20:59 +0100

Jurjen Oskam wrote:

> In article <1075282246.404183@xcnlm00s.***.fiducia.de>, Thomas Schweikle
> wrote:
>
>> Is there one out there having successfully compiled gnu screen 3.9.9 on
>> AIX 5L?
>
> If you just want "screen", and not explicitly "screen 3.9.9", you can
> download a binary from IBM; search on the AIX Toolbox page for it.

This could be an option if this one wouldn't have been a bit "ancient".

But I have found this thing beeing the fault:
# if defined(linux) || defined(__convex__) || (BSD >= 199103)
  setenv(var, value, 0);
# else
  setenv(var, value);
# endif /* linux || convex || BSD >= 199103 */

Looks like aix gcc uses the "else" clause and not as expected the "if"
clause. I've just commented the if-then-else out, making shure
"setenv(a,b,c)" is selected. Compilation went fine (except some warnings)
then. Screen is running.

Thanks for the help!

-- 
Thomas (remove 'X' to make mail-address work)