AIX build issues

21 views
Skip to first unread message

Anindya Mukherjee

unread,
Sep 15, 2019, 6:38:46 PM9/15/19
to tmux-...@googlegroups.com
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.

Nicholas Marriott

unread,
Sep 16, 2019, 2:29:03 AM9/16/19
to Anindya Mukherjee, tmux-users
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.



--
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 tmux-users+...@googlegroups.com.
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.

Anindya Mukherjee

unread,
Sep 16, 2019, 3:26:55 PM9/16/19
to tmux-...@googlegroups.com
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

J Raynor

unread,
Sep 17, 2019, 10:41:52 PM9/17/19
to Anindya Mukherjee, tmux-...@googlegroups.com
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.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/CAN%2Bi5iNC_0DEUZ2cUt2GKyD%2BKhf7Ubqg7LEntJiRmggDS9Txhg%40mail.gmail.com.

Anindya Mukherjee

unread,
Sep 17, 2019, 11:33:00 PM9/17/19
to J Raynor, tmux-...@googlegroups.com
That's a great tip. I'll try it, thank you.
Reply all
Reply to author
Forward
0 new messages