Discussion Locked

error during 'expect' compilation

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am using RH 7.2 ,tcl8.3 located at /usr/lib/tcl8.3
When execute the configure command it cannot find tcl config definition . It says no such file or directory.

Pls help; I need to run expect.

3 replies

by cpfeiffe

make sure your library path is aware of /usr/lib.

echo $LD_LIBRARY_PATH

if you don't get back /usr/lib as part of the path
you can add it

different syntax for each shell, here is sh syntax
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib;exportLD_LIBRARY_PATH

If that doesn't work look in the configure script that you are running and see if it looks for tcl in a specific place. You could change the configure script to look for it in /usr/lib. Also look at any INSTALL or README files in the source folder. Perhaps you have to build a tcl that came with the expect source before moving on.

Since you did get an error, once you think you have everything working and have no errors (with configure, make and make install) run `make clean` and start over. This will gaurantee that you don't have an inconsistent installation.

This discussion is closed to new replies.