Anton Osennikov - 2008-12-24


I'm trying to run expect 5.44 with Tcl8.5 on FreeBSD 5.4.

I've got the following error:

root@host1# uname -a
FreeBSD 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 UTC 2005  i386
root@host1# /var/tmp/tcl8.5/bin/tclsh8.5
% info patchlevel
% package require Expect
% spawn telnet
spawn telnet
open(slave pty): open(/dev/#C:5:0x2,rw) = -1 (no such file or directory)
parent: sync byte write: broken pipe

expect 5.43.0 with Tcl 8.4 on FreeBSD 5.4-RELEASE host above works fine.

I have FreeBSD 6.3-RELEASE on other host. There's no such problem there.

Is there another solution for me to run expect with Tcl 8.5 except for OS upgrade?