[rancid] Re: patch expect with expect-hack1

heas at shrubbery.net heas at shrubbery.net
Fri May 14 16:06:02 UTC 2010


Fri, May 14, 2010 at 03:59:08PM +0000, Ryan West:
> Smoke,
> 
> It's my understanding that expect => 5.4.3 is fine, you shouldn't need to apply the patch.

that is not my understanding, but i am not a linux user and have just
blindly kept the patch for solaris.  however, i didnt notice anything
in the changelogs for expect or tcl that seemed like they'd have been
a fix for the hanging problem.

but, i dont have time to teach source patching, so
ftp://ftp.shrubbery.net/pub/rancid:

419691 May 14 15:57 expect-5.43.0.tar.bz2
421271 May 14 15:59 expect-5.43.0_hack.tar.bz2
3653369 May 14 15:57 tcl8.4.18-src.tar.gz

expect w/ the hack applied and its associated tcl, which I know works on
solaris, freebsd and netbsd.

> -ryan
> 
> From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Smokeping slt
> Sent: Friday, May 14, 2010 11:42 AM
> To: heas at shrubbery.net; rancid-discuss at shrubbery.net
> Subject: [rancid] Re: patch expect with expect-hack1
> 
> hi
> 
> thank you very much for your response and spent your valuble time to reply me. i can download the expect and patch from the ftp site.but how can apply the patch to this expect
> 
> 
> i extract the expect and follow the steps below
> 
> tar -xzf expect.tar.gz
> 
> ./configure
> 
> make
> 
> make install
> 
> 
> im new to linux world . so plz be kind enough to tell me the steps to patch the expect ?
> 
> or
> 
> it's just enough to follow the above commnds  ?
> 
> your responses are really helpful to me
> 
> tnx
> 
> > Date: Fri, 14 May 2010 08:22:26 -0700
> > From: heas at shrubbery.net
> > To: smokeping123 at hotmail.com
> > CC: rancid at shrubbery.net
> > Subject: Re: patch expect with expect-hack1
> >
> > Fri, May 14, 2010 at 01:00:42PM +0600, Smokeping slt:
> > >
> > > hi
> > >
> > >
> > >
> > > i need to install rancid and experience with it. i feel its really a good software whicn can use in any Network Troubleshooting
> > >
> > >
> > >
> > > i install rancid on top of RHEL5 32 bit
> > >
> > > re
> > >
> > > i pre-installed the following version of expect and tcl using the RPM.
> > >
> > >
> > >
> > > expect-5.43.0-5.1.i386.rpm
> > >
> > > tcl-8.4.13-3.fc6.i386.rpm
> > >
> > >
> > >
> > > but in http://www.shrubbery.net/rancid/ they mention that expect need to patch with expect-hack1 .
> > >
> > >
> > >
> > > 1) is it must thing to do ?
> > >
> > >
> > >
> > > 2) if so using what command i patch the expect using expect-hack1 since i didnt install using the source
> > >
> > >
> > >
> > > your responses are highly appriciated
> >
> > if you are running on solaris or linux, you need the patch. you have to
> > build expect from source after adding the patch. patch(1) can help with
> > applying the patch.
> ________________________________
> Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up now.<https://signup.live.com/signup.aspx?id=60969>


More information about the Rancid-discuss mailing list