waldeck@mw2.uwaterloo.ca writes:
I compiled lsh 1.5.4 on AIX 5.2 with gcc 3.3.2:
Prereqs:
- pkgconfig 0.15.0.0
- liboop 1.0.0.0
- gmp 4.1.2.0
- openssl 0.9.7.4
Note that configure checks for openssl libraries only to be able to do some comparative benchmarsks in src/nettle/examples/nettle-benchmark, it's not used for anything else. pkgconfig is also not used as far as I'm aware.
lshd -v:
[...]
lshd: lshd: server_pty.c: No tty group found.
Does AIX have any tty group? lshd tries to make sure that the gid of the tty nodes is set to the group "tty", and then make the nodes writable by the group and readable and writable by the user.
Would some other behaviour be more appropriate on AIX?
lshd: ... granted. lshd: lshd: Can't open controlling tty for child! lshd: Child 15358 died with exit code 1.
The error reporting could be a little more verbose... It seems the function pty_open_slave in src/server_pty.c fails.
To figure out why, you could try setting a break point on that function to see what happens, or add some more logging of progress and failures.
Is HAVE_STROPTS_H defined in your config.h?
Regards, /Niels
PS. Please put the correct list address in the To or Cc header when posting to the lsh-bugs mailinglists. Your message was delayed for a few days because mailman put it in the manual moderation queue.