I downloaded the source for expect5.45, and am attempting to install it. tclsh is on the system at /usr/bin/tclsh, but I'm not sure if that means the machine also has "tcl" installed?
The instructions for Expect state:
By default, the Tcl source directory is assumed to be in the same directory as the Expect source directory. For example, in this listing, Expect and Tcl are both stored in /usr/local/src:
/usr/local/src/tcl8.0 (actual version may be different) /usr/local/src/expect-5.24 (actual version may be different)If Tcl is stored elsewhere, the easiest way to deal with this is to create a symbolic link to its real directory. For example, from the Expect directory, type:
ln -s /some/where/else/src/tcl8.0 ..
I have tried making that symbolic link multiple times in various location, but I am linking to tclsh, not tcl, which I think is the problem. Is there a difference between these two? I can run tcl scripts fine on the machine as it is.
When running "./configure" the following error happens:
checking for Tcl configuration... configure: error: Can't find Tcl configuration definitions
(To be clear, I cannot put expect in the 'normal' directories because I don't have write access to them. It will go into my personal home directory. And I don't have permission to use sudo apt-get. This is an Ubuntu 14.04 machine.)