LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-06-2008, 11:44 PM   #1
pranavojha
Member
 
Registered: Feb 2006
Location: Bangalore, India
Distribution: Fedora Core 3
Posts: 68

Rep: Reputation: 15
How to install expect on linux


Hi,

I am using SuSE 10 enterprise server. I installed the latest version of TCL/tk but now when I install expect, I get an error saying

Code:
checking if stty reads stdout... no
checking if running Solaris... no
checking for sin... no
checking for Tcl private headers... checking for tclInt.h... no
configure: error: Can't find Tcl private headers
So I used --with-tclinclude argument to specify the path where I found tclInt.h header file.

Code:
./configure --with-tclinclude /root/Desktop/tcl/tcl8.4.19/generic
But I still get the following error when installe expect.

Code:
checking if running Solaris... no
checking for sin... no
checking for Tcl private headers... configure: error: yes directory doesn't contain private headers

What am I doing wrong?
 
Old 11-07-2008, 12:53 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
checking for Tcl private headers... configure: error: yes directory doesn't contain private headers

The FAQ
http://expect.nist.gov/FAQ.html#q47
says to do what you did.

./configure --with-tclinclude /root/Desktop/tcl/tcl8.4.19/generic

So you have downloaded this as root and stuck the needed files on your desktop?
Those are bad habits.

Check the documentation for the proper use of this flag - perhaps you have to specify the final /, perhaps you have to complete with the filename? Check

ls /root/Desktop/tcl/tcl8.4.19/generic
 
Old 11-07-2008, 01:54 AM   #3
allez
Member
 
Registered: Jul 2008
Location: Russia/Siberia/Krasnoyarsk
Distribution: SuSE, CentOS, FreeBSD
Posts: 77

Rep: Reputation: 21
Excuse me, pranavojha, but why do you try to build a package from source code, instead of using RPM and SuSE software repositories?
 
Old 11-07-2008, 03:09 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Perhaps pranavojha wants to develop Expect - so needs the latest source tree?

Perhaps pranavojha is running the SLES without purchasing support?

How about OpenSUSE?
http://www.howtoforge.com/perfect-server-opensuse11-p4
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What to expect after DVD install. Shay Debian 2 10-26-2008 01:00 PM
LXer: Linux Where You'd Least Expect It LXer Syndicated Linux News 0 09-26-2008 03:20 PM
Expect install issue rickseiden Linux From Scratch 0 11-01-2004 08:09 PM
SlackWare Install almost done, what to expect? mattp Linux - Newbie 3 03-06-2004 09:29 AM
Using Expect for Linux rkeng Linux - General 2 08-01-2003 09:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration