AIX's curses.h is the problem.  Install the ncurses-devel rpm from IBM
and then tell tmux to build with it by adding
CPPFLAGS=-I/opt/freeware/include/ncurses to configure.

On Mon, Sep 16, 2019 at 2:26 PM Anindya Mukherjee <[email protected]> wrote:
>
> Thanks! Tmux being one of my favourite pieces of software, I'm interested in 
> contributing specifically for AIX support but also more generally if I can do 
> anything useful. I'm using tmux on Arch linux, AIX, and FreeBSD. I'll look 
> into the significance of REG_STARTEND (trying to get a feel of the code right 
> now).
>
> Best,
> Anindya
>
> On Sun, Sep 15, 2019 at 11:29 PM Nicholas Marriott 
> <[email protected]> wrote:
>>
>> Hi
>>
>> I don't mind supporting AIX but I don't have access to it so I'm not able to 
>> test it.
>>
>> REG_STARTEND will be important to fix properly, it is not enough to just 
>> define it to 0.
>>
>>
>>
>> On Sun, 15 Sep 2019, 23:38 Anindya Mukherjee, <[email protected]> wrote:
>>>
>>> I have recently built the latest tmux git on AIX 7.1. The build had several 
>>> issues:
>>>
>>> Missing symbols for FNM_CASEFOLD, REG_STARTEND, and _PATH_DEFPATH
>>>
>>> I had to rename the lines variable in tty.c
>>>
>>> libevent2 also would not compile till I commented out
>>> #define _LARGE_FILES 1
>>> in event-config.h
>>>
>>> It's now running after these changes. There are a couple small issues 
>>> still. Is AIX still being supported? If not, I am interested in helping 
>>> with coding/bug fixing. I have access to a couple of AIX boxes on which I 
>>> can test, running AIX 7.1 with gcc 6.3.0.
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups 
>>> "tmux-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to [email protected].
>>> To view this discussion on the web, visit 
>>> https://groups.google.com/d/msgid/tmux-users/CAN%2Bi5iN4H_b%2BK0FpmgEHR%3Dea3YEPOO8wzUCvJmUxzFo0aOk1%3Dw%40mail.gmail.com.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "tmux-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web, visit 
> https://groups.google.com/d/msgid/tmux-users/CAN%2Bi5iNC_0DEUZ2cUt2GKyD%2BKhf7Ubqg7LEntJiRmggDS9Txhg%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/tmux-users/CAKzmjJmn-mTaokRhzL7S%2B8Jxe0W_1hrpaaEgKuAB9_p-PNKbyQ%40mail.gmail.com.

Reply via email to