On Wed, Jun 15, 2005 at 11:45:32AM +0200, Alain Degreffe <[EMAIL PROTECTED]> wrote: > I'm the author of ciscocmd, a short and simple expect script for CISCO, > hosted on COSI Website and I can't release my script because I use the > fork command and expect is broken under Sarge. > > Under Woody, I was able to run my scripts with forking mechanism. After > dist-upgrade, the spawn command in forked process doesn't work anymore. > This problem is well known and depends from the compilation option of tcl. > The linked tcl version is compiled with enable-threads. This is > incompatible with expect forking mechanism. Debian maintainer of tcl has > been contacted but he says that a version without thread is provided for > this : tcl 8.3. To test it, I have modified the debian rules file to use > tcl 8.3 instead 8.4 and all is working now. Could you provide a version > of expect that use tcl 8.3 ?
I was under the impression that the current TCL maintainer did not want tcl8.3 in sarge. If I'd been aware that it was going to release with it, I would have simply rebuilt the main expect package against it. Sigh. At any rate, I've Cc:ed one of the hppa guys, who is maintaining a version of the package linked against tcl8.3. If he's willing to maintain a version of it for stable, then that may be a workable solution. Otherwise, I can look at doing so. Note, though, that it's highly unlikely that a new package or that a change as major as rebuilding the main expect package against tcl8.3 would make it into sarge, now. -- Mike Markley <[EMAIL PROTECTED]> In Nature there are neither rewards nor punishments, there are consequences. - R.G. Ingersoll -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]