0

I'm trying to build "expect" from source v5.43, using Tcl built from source v8.5.8 on Redhat Linux. Tcl built fine, but my attempt to build expect fails. I run configure, then make, which gives me the error: `TCL_REG_BOSONLY' undeclared when compiling exp_inter.c. I did some digging around, and found the TCL_REG_BOSONLY value defined in Tcl file tclInt.h, but there is no #include for that in the exp_inter.c file.

My question is, can "expect" be built from source with Tcl version 8.5.8, or does it require an earlier version? Version 5.43 is the latest for "expect" that I can find, and the current Tcl version is 8.5.8, but something doesn't seem compatible between the two.

Any help appreciated.

E Brown
  • 131

2 Answers2

2

Did you run ldconfig to relink the libraries after installing tcl? It looks like expect isn't finding required libraries. Do you see any errors when running configure? Have all dependencies met?

Warner
  • 24,174
  • 2
  • 63
  • 69
0

Ok, I downloaded a newer version (v5.44.1.15) of expect from sourceforge.net/projects/expect/. My original download was from the official expect website at expect.nist.gov, which is apparantly very outdated. Anyway, the newer version built fine.

E Brown
  • 131