Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 21 Oct 2014, 00:30
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Solved: Has expect/tcl been compiled for Puppy 4.20?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [11 Posts]  
Author Message
wb0gaz

Joined: 14 Nov 2006
Posts: 62

PostPosted: 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
View user's profile Send private message 
didik


Joined: 05 Jan 2009
Posts: 44
Location: Bandung, Indonesia

PostPosted: Fri 22 May 2009, 00:01    Post subject:  

Hopefully this pet can help you.


-eko didik widianto
bandung@Indonesia
expect-cvs090522-i686.pet
Description  expect: a tcl-based toolkit for automating interactive applications
pet

 Download 
Filename  expect-cvs090522-i686.pet 
Filesize  83.42 KB 
Downloaded  807 Time(s) 
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger 
wb0gaz

Joined: 14 Nov 2006
Posts: 62

PostPosted: 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
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6688
Location: lisbon

PostPosted: 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
View user's profile Send private message 
wb0gaz

Joined: 14 Nov 2006
Posts: 62

PostPosted: 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
View user's profile Send private message 
asandwich

Joined: 21 Jun 2010
Posts: 4

PostPosted: Mon 21 Jun 2010, 12:24    Post subject:  

Ty very much for this package. Made my life very easy Very Happy
Back to top
View user's profile Send private message 
cartz

Joined: 08 Apr 2008
Posts: 85

PostPosted: 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
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6688
Location: lisbon

PostPosted: 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
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6688
Location: lisbon

PostPosted: 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
View user's profile Send private message 
cartz

Joined: 08 Apr 2008
Posts: 85

PostPosted: Wed 27 Oct 2010, 16:58    Post subject:  

Thanks very much muggins.
Back to top
View user's profile Send private message 
jeffrey

Joined: 16 Jan 2006
Posts: 162
Location: Christchurch, New Zealand

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [11 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0661s ][ Queries: 13 (0.0057s) ][ GZIP on ]