SUMMARY: Expect configure warning: can't find Tcl configuration definitions

From: Bill Rogers <ROGERS_at_mercy.sxu.edu>
Date: Tue, 20 Mar 2001 15:59:41 -0600

---------- Original Question ----------

I want to install Expect 5.32 on Tru64 V5.1.
When I run the configure script there is a warning:

 checking for Tcl configuration... configure: warning: Can't find Tcl
 configuration definitions

The file /usr/bin/tcl and the directories /usr/lib/tcl and
/usr/lib/tcl/tk exist on the system and there is a tcl-tk man page.
This leads me to think tcl is installed already. How do I tell
Expect's configure script where it is?

---------- Responses ----------

Thanks to Nikola Milutinovic, Cy Dewhurst, and others.

>Expect, like many other TCL dependants is looking for "tclsh" file to learn the
>configuration. I sugest you do what I did, get latest TCL/TK and compile it.


> If you look at the configure script, it takes some switches:
>
> --with-tcl (directory containing tclConfig.sh)
> --with-tk (directory containing tkConfig.sh)
>
> So, in your case:
> ./configure --with-tcl /usr/lib/tcl --with-tk /usr/lib/tcl/tk
Received on Tue Mar 20 2001 - 22:01:10 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT