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 services.ccl.ru 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 firstname.lastname@example.org:/usr/obj/usr/src/sys/GENERIC i386
% info patchlevel
% package require Expect
% 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?