Gilles Espinasse wrote: > I made a patch last year that allow to compile 5.44.1.13 without tk. > https://sourceforge.net/tracker/?group_id=13179&atid=313179 > I changed to use --with-tk=no as --with-x options no more exist if I could > remember what I have made one year ago.
Thanks. I got the patch. I see you change INSTALL, Makefile.in, tcl.m4 The tcl.m4 file does not seem to be there any more -- it probably got replaced with expect.m4 which is there. The changelog to expect has dates: 2009-11-03 2009-07-14 and earlier. The maintainer does not appear to be active. If we want this fixed, we'll have to do it ourself. I was able to get 5.44.1.15 to build by changing configure and Makefile.in. If possible, I'd like to avoid haveing to run autoconf. I'd also prefer a sed, but the changes look a little too much for a sed. Further discussion would be good. -- Bruce --- expect-5.44.1.15/configure 2010-03-11 13:06:30.000000000 -0600 +++ expect-5.44.1.15.new/configure 2010-06-12 15:02:07.000000000 -0500 @@ -1866,7 +1866,7 @@ TK_BIN_DIR="# no Tk configs found" { echo "$as_me:$LINENO: WARNING: Can't find Tk configuration definitions" >&5 echo "$as_me: WARNING: Can't find Tk configuration definitions" >&2;} - exit 0 + #exit 0 else no_tk= TK_BIN_DIR=${ac_cv_c_tkconfig} @@ -6529,7 +6529,8 @@ if test x"${ac_cv_c_tkh}" = x ; then { { echo "$as_me:$LINENO: error: tk.h not found. Please specify its location with --with-tkinclude" >&5 echo "$as_me: error: tk.h not found. Please specify its location with --with-tkinclude" >&2;} - { (exit 1); exit 1; }; } + #{ (exit 1); exit 1; }; } + } else --- expect-5.44.1.15/Makefile.in +++ expect-5.44.1.15.new/Makefile.in @@ -103,7 +103,7 @@ PKG_STUB_LIB_FILE = @PKG_STUB_LIB_FILE@ lib_BINARIES = $(PKG_LIB_FILE) -bin_BINARIES = expect expectk +bin_BINARIES = expect BINARIES = $(lib_BINARIES) $(bin_BINARIES) -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page