Discussion:
[rancid] Re: patch expect with expect-hack1
Smokeping slt
2010-05-14 15:41:53 UTC
Permalink
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: ***@shrubbery.net
> To: ***@hotmail.com
> CC: ***@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.
https://signup.live.com/signup.aspx?id=60969
Ryan West
2010-05-14 15:59:08 UTC
Permalink
Smoke,

It's my understanding that expect => 5.4.3 is fine, you shouldn't need to apply the patch.

-ryan

From: rancid-discuss-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Smokeping slt
Sent: Friday, May 14, 2010 11:42 AM
To: ***@shrubbery.net; rancid-***@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: ***@shrubbery.net
> To: ***@hotmail.com
> CC: ***@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>
h***@shrubbery.net
2010-05-14 16:06:02 UTC
Permalink
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-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Smokeping slt
> Sent: Friday, May 14, 2010 11:42 AM
> To: ***@shrubbery.net; rancid-***@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: ***@shrubbery.net
> > To: ***@hotmail.com
> > CC: ***@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>
Ryan West
2010-05-14 16:16:45 UTC
Permalink
> -----Original Message-----
> Sent: Friday, May 14, 2010 12:06 PM
> To: Ryan West
> Cc: Smokeping slt; ***@shrubbery.net; rancid-***@shrubbery.net
> Subject: Re: [rancid] Re: patch expect with expect-hack1
>
> 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.
>

Has anyone successfully compiled the expect hack for 5.43 on Linux?

-ryan
john heasley
2010-05-14 16:20:50 UTC
Permalink
Fri, May 14, 2010 at 04:16:45PM +0000, Ryan West:
>
>
> > -----Original Message-----
> > Sent: Friday, May 14, 2010 12:06 PM
> > To: Ryan West
> > Cc: Smokeping slt; ***@shrubbery.net; rancid-***@shrubbery.net
> > Subject: Re: [rancid] Re: patch expect with expect-hack1
> >
> > 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.
> >
>
> Has anyone successfully compiled the expect hack for 5.43 on Linux?

either of those patches should work. the solaris one, while slower,
should work for either and is technically more programmatically clean.
Continue reading on narkive:
Loading...