Page 1 of 1

Solved: Has expect/tcl been compiled for Puppy 4.20?

Posted: Thu 21 May 2009, 23:07
by wb0gaz
Is there a binary build of the "expect" utility available for Puppy 4.20?

I've tried building my own, using source .tgz files for tcl 8.5.7, tk 8.5.7, and expect 5.43. I can (I think) build tcl and tk (./configure and make install), however, make install for expect fails with a number of errors.

I'd be very grateful for advice, assistance, or alternative way to get a binary (I saw somewhere that slackware binary could be adapted to Puppy, but I've not looked further into this.)

Thanks very much,

Dave

Posted: Fri 22 May 2009, 04:01
by didik
Hopefully this pet can help you.


-eko didik widianto
bandung@Indonesia

Posted: Mon 25 May 2009, 20:06
by wb0gaz
Thank you, Didik. Your PET file operates properly on Puppy 4.20, so it is good solution in that case.

However, after more testing, I am not able to complete my project with Puppy 4.20 because of some problems in Puppy 4.20 that are not present in Puppy 4.00 (alsa sound system does not work in my laptop, and ethernet/IP driver does not reliably stay configured). In my case, these problems I found in Puppy 4.20 are show-stopper.

Therefore, I wish to use expect/tcl in Puppy 4.00.

Now, in this case I tried your PET file, however, I realized TCL is not part of Puppy 4.00 by default, because I received this error message: "expect: error while loading shared libraries: libtcl8.5.so: cannot open shared object file: No such file or directory".

Do you know if PET has been generated for tcl with libtcl8.5.so; if so, can you point me to URL, or otherwise assist?

Thank you,

Dave

Posted: Mon 25 May 2009, 21:21
by muggins
tcl-8.5.6.pet
tk-8.5.6.pet

(N.B. Edited to replace broken links)

Posted: Mon 25 May 2009, 23:12
by wb0gaz
Thank you muggins and didik,

I tried building tcl8.5 from source and discovered that the .so file was not put (by "make install") in a useful place for expect. I copied it to /lib and it worked. I appreciate the referral to the PET file as well!

Dave

Posted: Mon 21 Jun 2010, 16:24
by asandwich
Ty very much for this package. Made my life very easy :D

links broken

Posted: Wed 27 Oct 2010, 07:46
by cartz
Hi muggins,

Those links to the two pets are no longer valid. Can you please post new links to those files.

Thanks heaps,
cartz.

Posted: Wed 27 Oct 2010, 10:01
by muggins
Cartz,

Unfortunately, as you mention, the links that were provided by "pa" mcclamrock, are dead. Instead I've altered the links to point to tcl/tk .pets from the puppy p4 repository. Hopefully they'll suffice for you getting expect working. If not, let us know, and we can try something else.

Posted: Wed 27 Oct 2010, 10:29
by muggins
Actually I tried compiling it myself &, even with the repository tcl/tk DEV .pets installed, I got complaints about missing tcl header files. Rather than going through the rigmarole of either installing activestate tcl/tk, or compiling tcl/tk from source, I just downloaded expect-5.44.1.15-i486-1.txz.

Posted: Wed 27 Oct 2010, 20:58
by cartz
Thanks very much muggins.

Belated thanks

Posted: Thu 11 Aug 2011, 09:59
by jeffrey
Just wanted to feed text into telnet to reset my ASDL router. Now that I have "expect" and the info from this page http://linuxgazette.net/50/tag/34.html I can do it.
This is so simple!
Many thanks.
(I'm using Puppy 5.1.0 and the expect and tcl packages seem to work OK with it.)