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

Core libraries and systems
Post Reply
Message
Author
wb0gaz
Posts: 62
Joined: Tue 14 Nov 2006, 23:59

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

#1 Post 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
Last edited by wb0gaz on Mon 25 May 2009, 23:12, edited 1 time in total.
User avatar
didik
Posts: 44
Joined: Mon 05 Jan 2009, 10:34
Location: Bandung, Indonesia
Contact:

#2 Post by didik »

Hopefully this pet can help you.


-eko didik widianto
bandung@Indonesia
Attachments
expect-cvs090522-i686.pet
expect: a tcl-based toolkit for automating interactive applications
(83.42 KiB) Downloaded 1108 times
wb0gaz
Posts: 62
Joined: Tue 14 Nov 2006, 23:59

#3 Post 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
muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#4 Post by muggins »

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, 09:52, edited 2 times in total.
wb0gaz
Posts: 62
Joined: Tue 14 Nov 2006, 23:59

#5 Post 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
asandwich
Posts: 4
Joined: Mon 21 Jun 2010, 15:47

#6 Post by asandwich »

Ty very much for this package. Made my life very easy :D
cartz
Posts: 85
Joined: Wed 09 Apr 2008, 00:39

links broken

#7 Post 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.
muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#8 Post 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.
muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#9 Post 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.
cartz
Posts: 85
Joined: Wed 09 Apr 2008, 00:39

#10 Post by cartz »

Thanks very much muggins.
jeffrey
Posts: 168
Joined: Mon 16 Jan 2006, 04:20
Location: Christchurch, New Zealand

Belated thanks

#11 Post 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.)
Post Reply