| Author |
Message |
wb0gaz
Joined: 14 Nov 2006 Posts: 62
|
Posted: Thu 21 May 2009, 19:07 Post subject:
Solved: Has expect/tcl been compiled for Puppy 4.20? |
|
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
Last edited by wb0gaz on Mon 25 May 2009, 19:12; edited 1 time in total
|
|
Back to top
|
|
 |
didik

Joined: 05 Jan 2009 Posts: 44 Location: Bandung, Indonesia
|
Posted: Fri 22 May 2009, 00:01 Post subject:
|
|
Hopefully this pet can help you.
-eko didik widianto
bandung@Indonesia
| Description |
expect: a tcl-based toolkit for automating interactive applications
|

Download |
| Filename |
expect-cvs090522-i686.pet |
| Filesize |
83.42 KB |
| Downloaded |
684 Time(s) |
|
|
Back to top
|
|
 |
wb0gaz
Joined: 14 Nov 2006 Posts: 62
|
Posted: Mon 25 May 2009, 16:06 Post subject:
|
|
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
|
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6663 Location: lisbon
|
Posted: Mon 25 May 2009, 17:21 Post subject:
|
|
tcl-8.5.6.pet
tk-8.5.6.pet
(N.B. Edited to replace broken links)
Last edited by muggins on Wed 27 Oct 2010, 05:52; edited 2 times in total
|
|
Back to top
|
|
 |
wb0gaz
Joined: 14 Nov 2006 Posts: 62
|
Posted: Mon 25 May 2009, 19:12 Post subject:
|
|
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
|
|
Back to top
|
|
 |
asandwich
Joined: 21 Jun 2010 Posts: 4
|
Posted: Mon 21 Jun 2010, 12:24 Post subject:
|
|
Ty very much for this package. Made my life very easy
|
|
Back to top
|
|
 |
cartz
Joined: 08 Apr 2008 Posts: 85
|
Posted: Wed 27 Oct 2010, 03:46 Post subject:
links broken |
|
Hi muggins,
Those links to the two pets are no longer valid. Can you please post new links to those files.
Thanks heaps,
cartz.
|
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6663 Location: lisbon
|
Posted: Wed 27 Oct 2010, 06:01 Post subject:
|
|
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.
|
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6663 Location: lisbon
|
Posted: Wed 27 Oct 2010, 06:29 Post subject:
|
|
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.
|
|
Back to top
|
|
 |
cartz
Joined: 08 Apr 2008 Posts: 85
|
Posted: Wed 27 Oct 2010, 16:58 Post subject:
|
|
Thanks very much muggins.
|
|
Back to top
|
|
 |
jeffrey
Joined: 16 Jan 2006 Posts: 162 Location: Christchurch, New Zealand
|
Posted: Thu 11 Aug 2011, 05:59 Post subject:
Belated thanks |
|
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.)
|
|
Back to top
|
|
 |
|