----- Original Message ----- 
From: "Bruce Dubbs" <bruce.du...@gmail.com>
To: "LFS Developers Mailinglist" <lfs-dev@linuxfromscratch.org>
Sent: Saturday, June 12, 2010 7:54 PM
Subject: Re: Warning re Expect


> Robert Xu wrote:
> > On Sat, Jun 12, 2010 at 12:51, Burton Strauss III
> > <bur...@smallnetsolutions.com> wrote:
> >> Whenever the next time somebody updates this package, word of warning:
>
> >> SourceForge only has expect-5.44.1.15.tar.gz and
expect-5.44.1.15.tar.bz2.
>
> >> So I grabbed them.  Bad idea.  Expect now requires Tk and Tcl and
> >> Tk requires the X11 headers. The –without-x parameter on the Tk
> >> build doesn’t seem to work. I tried a couple of things, but it just
> >>  wasn’t worth it – this is C5, after all… so I gave up trying to be
> >>  clever and pulled down the book version, 5.43.0, which (of course
> >> ;-)) worked.
>
> > If you had to downgrade expect, what are we going to do once all the
> > major distributions upgrade and LFS's expect becomes (pretty much)
> > obsolete?
> >
> > Is there any alternative to expect?
>
> The only reason we install expect on LFS is for test suites.  That's why
> we don't install it in chapter 6.  I haven't looked at expect-5.44, but
> I suppose we would need to create a patch to remove the Tk dependencies.
>
>    -- Bruce
> -- 
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.

Gilles

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to