- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem getting "expect" to work...
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
Forums
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
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
07-05-2007 04:41 AM
07-05-2007 04:41 AM
Problem getting "expect" to work...
I have a couple of new Itanium servers running 11.23 and I'm trying to install expect so that some of our standard scripts can run. I downloaded the latest version for ia64/11.23 from the HP porting site (hpux.cs.utah.edu) and installed the package on the servers (along w/ the run time dependencies - tcltk, make, etc).
Now when I attempt to run expect, I get the following error:
Tcl_InitNotifier: unable to start notifier thread
Abort(coredump)
I know someone has to have seen this error before but after spending about three unsuccessful hours looking around on google and the ITRC, I'm opening this thread in hopes that someone can help me out.
Thanx in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 08:00 PM
07-05-2007 08:00 PM
Re: Problem getting "expect" to work...
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1134253
Except you got there a lot faster. :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2007 01:21 AM
07-06-2007 01:21 AM
Re: Problem getting "expect" to work...
However, it doesn't help me because the first thread only describes the exact same problem with out a resolution and the link at the end only goes to a similar problem. I then took the advice and I tried to compile expect from source, which failed miserably. I then tried to compile tcl/tk from source which also failed miserably. So, at this point I'm no closer to a resolution but I have to get this working soon.
Anyone have any other ideas... Maybe an alternate location where I can download a package that actually works on ia64?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2007 04:32 AM
07-06-2007 04:32 AM
Re: Problem getting "expect" to work...
I don't know what you're trying to do using
"expect", but you might find Kermit's
scripting capability a useful alternative.
It may not do what you want, but at least
it's self-contained, so it should be easier
to get built and made to run.
http://www.columbia.edu/kermit/
http://www.columbia.edu/kermit/ckscripts.html
(The forum seems to be working about as
reliably as usual today. Sorry if this
appears more than once.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2007 07:03 AM
07-06-2007 07:03 AM
Re: Problem getting "expect" to work...
Thanx for the info on Kermit though.
Anybody else have any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2007 06:09 PM
07-06-2007 06:09 PM
Re: Problem getting "expect" to work...
Yes, that's why I said unsolved. :-(
I have a version of expect that doesn't get this error. But since I don't know how to run it, that may mean nothing.
So do you have a trivial script you can post that actually does something but produces your error message?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2007 01:57 AM
07-09-2007 01:57 AM
Re: Problem getting "expect" to work...
/home/account> expect
Tcl_InitNotifier: unable to start notifier thread
Abort(coredump)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2007 03:54 AM
07-09-2007 03:54 AM
Re: Problem getting "expect" to work...
Ok, that part works for me. I'll try downloading it and see if it works again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2007 05:05 PM
07-11-2007 05:05 PM
Re: Problem getting "expect" to work...
Since I can't change /usr/local/, I swinstalled them to an alternate root:
# swinstall -s $PWD/tcltk-8.4.15-ia64-11.23.depot \* @ \
$PWD/Expect_root
# swinstall -s $PWD/expect-5.43-ia64-11.23.depot \* @ \
$PWD/Expect_root
Then I checked for configure control scripts and I didn't find any.
So I then used ldd to see what shlib paths were needed:
$ ldd Expect_root/usr/local/bin/expect
This showed using /usr/local/lib/hpux32 for libexpect.so and libtcl.so.
So I then used:
$ LD_LIBRARY_PATH=Expect_root/usr/local/lib/hpux32 ldd \
Expect_root/usr/local/bin/expect
This showed the shlib paths ok.
Then I executed expect:
$ LD_LIBRARY_PATH=Expect_root/usr/local/lib/hpux32 \
Expect_root/usr/local/bin/expect
This gave me a prompt:
expect1.1>
So if you did something like this, it could be a problem in the other system libs?
/usr/lib/hpux32/libdl.so.1
/usr/lib/hpux32/libpthread.so.1
/usr/lib/hpux32/libxnet.so.1
/usr/lib/hpux32/libm.so.1
/usr/lib/hpux32/libc.so.1
/usr/lib/hpux32/libxti.so.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2007 12:43 AM
07-12-2007 12:43 AM
Re: Problem getting "expect" to work...
Thanx for all of your effort on this. I made sure to add points for all of your responses.
I have the issue fixed now. Because I was in a time crunch, I contacted the porting center directly and asked for assistance. They re-compiled a new version of the tcltk and expect packages using the HP ANSI C compiler. I downloaded and installed the new packages on my Itanium server and they worked perfectly.
Major kudos to Richard Lloyd at the porting center for the quick response.
For anyone else who has this problem, the new packages can be picked up here:
http://hpux.connect.org.uk/hppd/hpux/Tcl/tcltk-8.4.15/
http://hpux.connect.org.uk/hppd/hpux/Tcl/expect-5.43/
Thanx again everyone for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2007 01:22 AM
07-12-2007 01:22 AM