2009-04-13

Compile Expect 5.44.1.11 on Fedora 3

  • 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:
  1. Remove expectk from var in_BINARIES
  2. Remove @TK_INCLUDES@ from var INCLUDES
  3. 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: