I've compiled sbcl 188.8.131.52 on ubuntu 8.10 and debian 5 the
run-program.impure.lisp succeeded on debian 5 without changes, however, it
failed on ubuntu 8.10. with further checking changing the find-a-pty (in
run-program.lisp) to: 1- define-alien-routine getpt
2- use getpt instead of opening the /dev/ptmx, to get at the master file
and then recompiling sbcl and running 'sh run-tests.sh run-program.impure.lisp'
returns success message.
Things to keep in mind:
- the man page says that getpt is specific to gnu libc.
- also the man page says that /getpt/ is equivelant to
However, using that in the original code didn't work (aka
'(logior sb-unix:o_noctty sb-unix:o_rdwr)) and I did'nt look further since gtpty
worked for me.
I have no idea whether this will work on other systems (behind win32 or openbsd)
-- Software rot is REAL --