- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP-UX: How to Install TCL, TK, and Expect
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2009 12:24 PM
тАО10-14-2009 12:24 PM
Now, that I did the formality of finding that I need the PA-RISC version of the HP-UX software, I now have to know where to download this software, and how to get it installed.
I am NOT familiar with how I'm going to gunzip or tar these files, in order to get it installed.
I need to know the following, specifically:
(1) Where I can download the proper files.
(2) Commands I would enter to install them.
(3) Simple command I can enter to verify installation.
This will be immensely helpful to me. I did get the "Exploring Expect" book, but I'm having difficulty in getting this great tool installed.
Thanks for your help!
I will award points!
Solved! Go to Solution.
- Tags:
- expect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2009 12:46 PM
тАО10-14-2009 12:46 PM
Re: HP-UX: How to Install TCL, TK, and Expect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2009 12:55 PM
тАО10-14-2009 12:55 PM
Re: HP-UX: How to Install TCL, TK, and Expect
If your OS is still supported.
http://hpux.connect.org.uk/
Search for the applications you want.
Download the depots and all dependencies refereneced. There could be a dozen or so run and build time dependencies. You need to download them all. If you skip one, the swinstall command will still work but the application will not.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2009 01:06 PM
тАО10-14-2009 01:06 PM
Solution(1) You can downlod tcl/tk and expect from :
htt://hpux.connect.org.uk
http://hpux.connect.org.uk/hppd/hpux/Tcl/tcltk-8.5.7/
http://hpux.connect.org.uk/hppd/hpux/Tcl/expect-5.43/
(2) You can download the (gzip) or (depot) file from the site to your pc then ftp it to te server. In the server , gunzip it and you will get a file .depot .
- Install it using
# swinstall -s `pwd`/filename.depot
(3) To verify :
Once installed check using:
# swlist -l product | grep -i -e tcl -e expect
or
# swlist -l fileset -a state | grep -i -e tcl -e expect
( The filesets shuld be in configured mode)
also you can verify with,
- write a sample program in tcl or expect and verify,
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2009 01:14 PM
тАО10-14-2009 01:14 PM
Re: HP-UX: How to Install TCL, TK, and Expect
Also remember that the dependeny should be met,
For both tcl/tk and expect: 11.11 ver for PA-ISC avaialbe , I hope this is your os ver,
Expect has dependecy of tcl/tk ,(i.e tcl/tk should be installed first) .
and tcl/tk got some more dependency.
Location:
TCL/TK for:: PA RISC: 11.11:
http://hpux.connect.org.uk/ftp/hpux/Tcl/tcltk-8.5.7/tcltk-8.5.7-hppa-11.11.depot.gz
Expect: for:: PA RISC: 11.11:
http://hpux.connect.org.uk/ftp/hpux/Tcl/expect-5.43/expect-5.43-hppa-11.11.depot.gz
cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2009 10:56 PM
тАО10-14-2009 10:56 PM
Re: HP-UX: How to Install TCL, TK, and Expect
baandev:/ > uname -a
HP-UX baandev B.11.11 U 9000/800 2389949185 unlimited-user license
baandev:/ > uname -m
9000/800
baandev:/ > model
9000/800/rp7410
baandev:/ > swlist -l bundle | grep -i HPUX | grep -i OE
HPUX11i-OE-Ent B.11.11.0209 HP-UX Enterprise Operating Environment Co
mponent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2009 05:06 AM
тАО10-15-2009 05:06 AM
Re: HP-UX: How to Install TCL, TK, and Expect
I had to do some trial and error.
(1) had to figure out that I had to follow instructions, and gunzip the software first.
(2) don't know, but maybe it had to be in the depot directory first? not sure, but i moved it there, after seeing the list of registered depots in the swinstall interface.
(3) i'm missing a dependency, I hope someone can decipher the output.
I have an error, while installing TCL/TK (this was expected, as all the documentation I read warns about this sort of thing.)
Thsi is the error:
* The corequisite "libXft.libXft-RUN" for fileset "tcltk.tcltk-RUN,r=8.5.7" cannot be successfully resolved.
* The dependencies for fileset "tcltk.tcltk-RUN,r=8.5.7" cannot be resolved (see previous lines.
* You must resolve the above dependencies before operating on this fileset or change the enforce_dependencies option to false.
- output omitted-
error : exclude tcltk.tcltk-RUN, r-8.5.7
1 of 3 filesets ahd errors
2 of 3 filesets had no errors or warnings
the analysis phase had errors. see the above output for details.
****
If you need more of the output, please let me know. This appears to be the pertinent error, about the dependency missing.
Thanks for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2009 05:22 AM
тАО10-15-2009 05:22 AM
Re: HP-UX: How to Install TCL, TK, and Expect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2009 05:24 AM
тАО10-15-2009 05:24 AM
Re: HP-UX: How to Install TCL, TK, and Expect
> The corequisite "libXft.libXft-RUN" for fileset "tcltk.tcltk-RUN,r=8.5.7" cannot be successfully resolved.
I believe that you need to fetch and install:
http://hpux.connect.org.uk/hppd/hpux/X11/Core/libXft-2.1.13/
And, of course, don't forget this one's _dependencies_!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2009 05:29 AM
тАО10-15-2009 05:29 AM
Re: HP-UX: How to Install TCL, TK, and Expect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2009 06:16 AM
тАО10-15-2009 06:16 AM
Re: HP-UX: How to Install TCL, TK, and Expect
My steps:
1. Download tcl/tk:('http://hpux.connect.org.uk/hppd/hpux/Tcl/tcltk-8.5.7/')
2. Download expect: ('http://hpux.connect.org.uk/hppd/hpux/Tcl/expect-5.43/')
3. gunzip tcltk-8.5.7-hppa-11.11.depot.gz
4. gunzip expect-5.43-hppa-11.11.depot.gz
5. swinstall -s tcltk-8.5.7-hppa-11.11.depot
6. error: dependency
7. download libXft: ('http://hpux.connect.org.uk/hppd/hpux/X11/Core/libXft-2.1.13/')
8. gunzip libXft-2.1.13-hppa-11.11.depot.gz
9. swinstall libxft-2.1.13-hppa-11.11.depot
10. swinstall -s tcltk-8.5.7-hppa-11.11.depot
11. swinstall -s expect5.43-hppa-11.11.depot
12. swlist -l product | grep -i -e tcl -e expect
13. swlist -l fileset -a state | grep -i -e tcl -e expect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2009 06:22 AM
тАО10-15-2009 06:22 AM
Re: HP-UX: How to Install TCL, TK, and Expect
9. swinstall libxft-2.1.13-hppa-11.11.depot
Should be:
9. swinstall -s libXft-2.1.13-hppa-11.11.depot
Of course, if you do this often enough, you begin to figure this sort of thing out.
Thanks for everyone's help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2009 12:41 PM
тАО10-15-2009 12:41 PM
Re: HP-UX: How to Install TCL, TK, and Expect
IS there anything out there that contain all these dependencies in a bundle? It sure would be nice if someone could create that for EXPECT app.
It is almost nightmerish to install one dependencies after another and hoping that there will be nothing missing while trying to install this..
Thanks,
Sue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 08:11 AM
тАО11-04-2009 08:11 AM
Re: HP-UX: How to Install TCL, TK, and Expect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 08:18 AM
тАО11-04-2009 08:18 AM
Re: HP-UX: How to Install TCL, TK, and Expect
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 08:28 AM
тАО11-04-2009 08:28 AM
Re: HP-UX: How to Install TCL, TK, and Expect
Thanks for your input.
I didn't mean that the tool itself was a waste of time. I meant that the amount of time that I was investing in something I did not completely understand, was a waste of my own time.
For the specific thing that I was trying to do, I found a tool to handle it that I could understand and use more quickly than expect.
Now, I actually would prefer to use expect, but I'm not even sure if it is installed correctly, even with all of the checks that I did earlier in this thread.
I did learn something in this thread, as I have never installed anything in HP-UX before coming into this thread.
Also, I want to use the TCL, as it can be leveraged in both windowed and command line environments, but like I say, I'm struggling at the installation stage. I can actually understand the simple command syntaxes of using expect, but without it installed, I can't do anything with it.
I lack sufficient skill with HP-UX to get the tool installed. That is the root of my problem, so I went with something that I could more easily do in Windows.
Now, if I'd had 9 years of HP-UX experience, instead of Windows, it would undoubtedly be much easier to install the tool, and I probably would not have had to resort to posting here, just to try to get it installed (and still not know how to set everything up).