Hi,
I am trying to install expect on my CentOS machine and am following directions given in the INSTALL file.
It says that the Tcl source directory and Expect source directory should be in the same directory, if Tcl source is in /usr/share than Expect should be there too.
I didn't do any manual installation of Tcl, it was there already with the OS.
Next step given in the said INSTALL file is to run ./configure command that will create Makefile. But when I run that command I get this error message:
"Can't find Tcl configuration definitions ./configure: line 1106: #: No such file or directory"
My question is: how to find the source directory of Tcl, since I tried couple of possibilities (the same address of the shebang line of my tcl scripts and the /usr/share) but same error was returned. And where would be the config definitions of Tcl?
Any attempt to run "make" command for expect ends up with a slew of error messages...
I am trying to install expect on my CentOS machine and am following directions given in the INSTALL file.
It says that the Tcl source directory and Expect source directory should be in the same directory, if Tcl source is in /usr/share than Expect should be there too.
I didn't do any manual installation of Tcl, it was there already with the OS.
Next step given in the said INSTALL file is to run ./configure command that will create Makefile. But when I run that command I get this error message:
"Can't find Tcl configuration definitions ./configure: line 1106: #: No such file or directory"
My question is: how to find the source directory of Tcl, since I tried couple of possibilities (the same address of the shebang line of my tcl scripts and the /usr/share) but same error was returned. And where would be the config definitions of Tcl?
Any attempt to run "make" command for expect ends up with a slew of error messages...