- Checkout expect from Sourceforge.net
- Open configure.in, comment out following lines:
- TEA_PATH_TKCONFIG
TEA_LOAD_TKCONFIG
TEA_PUBLIC_TK_HEADERS
- Open Makefile.in:
- Remove expectk from var in_BINARIES
- Remove @TK_INCLUDES@ from var INCLUDES
- Remove @TK_LIB_SPEC@ and @TK_LIBS@
- $ autoreconf -fiv
- $ ./configure --prefix=/usr/local/expect-5.44 --exec-prefix=/usr/local/expect-5.44 --with-tcl=/usr/lib --with-tclinclude=/usr/include/tcl-private
- $ make && make install
- Open /etc/ld.so.conf, add one line: /usr/local/expect-5.44/lib/expect5.44.1.11
- $ ldconfig
- $ /usr/local/expect-5.44/bin/expect -v
No comments:
Post a Comment