- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: tcl_expect not in $PATH
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
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
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
01-28-2012 07:35 PM
01-28-2012 07:35 PM
tcl_expect
I have installed tcl and expect on a HP RX6600 Unix version 11.23. Both software list as install with swlist command. However, when I enter the command "./autoexpect" from the path # /opt/expect/bin I get the error "./autoexpect[3]: tclsh: not found" . What am I doing wrong.
Thanks,
jgd1947
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2012 07:48 PM - edited 01-28-2012 07:48 PM
01-28-2012 07:48 PM - edited 01-28-2012 07:48 PM
Re: tcl_expect not in $PATH
>I enter the command "./autoexpect" from /opt/expect/bin I get the error "./autoexpect[3]: tclsh: not found".
Where is tclsh? Somewhere in /usr/local/bin/? Is that in your PATH?
Sometimes after installing a product, the path to the binaries is added to /etc/PATH. And to take affect, you must relogin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2012 08:31 PM
01-28-2012 08:31 PM
Re: tcl_expect not in $PATH
tclsh is located in the following paths: I have logged out and back in several time. the software was installed yesterday and I have logged in and out as root several times.
/opt/ActiveTcl-8.4/lib/tclx8.4/help/tcl/intro/tclsh
/opt/ActiveTcl-8.4/bin/tclsh
/usr/local/bin/tclsh
/data/TCL/ActiveTcl8.4.19.1.286921-hpux-parisc/payload/bin/tclsh
/data/TCL/ActiveTcl8.4.19.1.286921-hpux-parisc/payload/lib/tclx8.4/help/tcl/inth
Thanks for the quick reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2012 08:58 PM
01-28-2012 08:58 PM
Re: tcl_expect not in $PATH
>the software was installed yesterday and I have logged in and out as root several times.
Then you'll have to manually update your $PATH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2012 09:05 PM
01-28-2012 09:05 PM
Re: tcl_expect not in $PATH
I am new at this, can you help me with this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2012 09:11 PM
01-28-2012 09:11 PM
Re: tcl_expect not in $PATH
I looked in /etc/PATH and these are the last 2 entries in the file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2012 09:12 PM
01-28-2012 09:12 PM
Re: tcl_expect not in $PATH
Sorry, forgot the entries
/opt/ActiveTcl-8.4/bin:/opt/expect/bin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2012 09:26 PM - edited 01-28-2012 09:28 PM
01-28-2012 09:26 PM - edited 01-28-2012 09:28 PM
Re: tcl_expect not in $PATH
>/opt/ActiveTcl-8.4/bin:/opt/expect/bin
This should do it, provided ~/.profile adds /etc/PATH to its $PATH.
Otherwise add that path to the part of .profile that fiddle with $PATH:
PATH=$PATH:/opt/ActiveTcl-8.4/bin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2012 01:47 PM
01-29-2012 01:47 PM
Re: tcl_expect not in $PATH
I put $PATH in the .profile. Now when I try and run the autoexpect command I get the following error:
can't find package Expect
while executing
"package require Expect"
(file "./autoexpect" line 4)
I do not know what you mean by the PATH=$PATH:/opt/ActiveTcl-8.4/bin?
Do I need to put this entire statement in the .profile?
Thanks,
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2012 12:18 AM
01-30-2012 12:18 AM
Re: tcl_expect not in $PATH
>I do not know what you mean by the PATH=$PATH:/opt/ActiveTcl-8.4/bin?
>Do I need to put this entire statement in the .profile?
It appears you already added that line since you're getting farther.
>can't find package Expect
There may be some other paths you need to set? Or else you didn't install Expect where it wants it?