Hello,

Here are my comments on building tmux-1.0 on AIX.
I have found that many of the problems found with 0.9 are now resolved
(I no longer have to modify the source to make it compile), but the
build is broken, as detailed below.

Environment:
- AIX 5.3 (5300-11-01-0944)
- IBM xlC compiler 10.1
- GNU make 3.81
- AIX curses

Obvious overall problems:

- sourceforge project page (http://tmux.sourceforge.net/) is outdated
(to date, it is Google's first hit for tmux)
- no README (no info on how to compile) - please provide at least a
few lines with the source
- configure does not handle parameters ($*) - at least --help, -h or something?
- only GNU make seems to work
- AIX 'install' has no -d flag

Warnings during make:

$ PATH=/usr/local/bin:${PATH} make
...
"cmd-command-prompt.c", line 251.34: 1506-068 (W) Operation between
types "int(*)(void*,const char*)" and "void*" is not allowed.
...
"input.c", line 220.21: 1506-068 (W) Operation between types
"void*(*)(unsigned char,struct input_ctx*)" and "void*" is not
allowed.
"input.c", line 239.27: 1506-280 (W) Function argument assignment
between types "void*" and "void(*)(unsigned char,struct input_ctx*)"
is not allowed.
...
"tty-term.c", line 420.22: 1506-098 (E) Missing argument(s).
"tty-term.c", line 426.22: 1506-098 (E) Missing argument(s).

Error when trying to install (overridden with cp):

$ PATH=/usr/local/bin:${PATH} sudo make install
install -d /usr/local/bin
/usr/bin/getopt: Not a recognized flag: d

Man page has the same parsing problems as with 0.9:

$ man tmux
/usr/bin/nroff: Argument not valid for .Dt ; line 18, file
is a terminal multiplexer: it enables a number of terminals to
be created, accessed, and controlled from a single screen. may
be detached from a screen and continue running in the background,
then later reattached. When is started it creates a new with a
single and displays it on screen. A status line at the bottom of
the screen shows information on the current session and is used
to enter interactive commands. A session is a single collection

---

And finally, the build is broken:
When drawing the screen, the status bar appears, then the client shell
dies and tmux goes back to init.

$ tmux list-sessions
0: 1 windows (created Fri Oct 30 14:59:47 2009) [180x68]
fatal: dispatch_imsg: imsg_get failed

Attached please find the output of 'tmux -vvvv', run with a newly
created user (to make sure profile doesn't interfere with tmux etc.).

regards
LGee
(you can almost always find me as LGee on freenode)

Attachment: tmux.out
Description: Binary data

Attachment: tmux-server-13190.log
Description: Binary data

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to