Sponsored Content
Full Discussion: Installing EXPECT on unix
Top Forums Programming Installing EXPECT on unix Post 302326622 by anaga on Thursday 18th of June 2009 12:09:53 PM
Old 06-18-2009
I downloaded the Expect from "http://expect.nist.gov/#unix.". I have the below said header file on my system.

/qawac/home/tbnaadh/tcl/tcl8.5.7/unix/tclUnixPort.h

Why isn't make could not figure out this header file.

---------- Post updated at 11:09 AM ---------- Previous update was at 09:02 AM ----------

Now getting a different error. i have added the absolute path in tclPort.h file as shown below
#if defined(__WIN32__)
# include "tclWinPort.h"
#else
# include "/export/home/tbnaadh/tcl/tcl8.5.7/unix/tclUnixPort.h"
#endif

Now i am getting the below error while "make"

/export/home/tbnaadh/tcl/expect-5.43 $ make

/opt/SUNWspro/WS6U2/bin/acc -c -I. -I. -I/qawac/home/tbnaadh/tcl/tcl8.5.7/generic -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/expor
t/home/tbnaadh/tcl/usr/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/export/home/tbnaadh/tcl/usr/local/lib/expect5.43\" -DTCL_DEBUGGER
-DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" exp_inter.c
"exp_inter.c", line 294: undefined symbol: TCL_REG_BOSONLY
"exp_inter.c", line 866: undefined symbol: TCL_REG_BOSONLY
*** Error code 2
make: Fatal error: Command failed for target `exp_inter.o'
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

installing Unix

Hi all, I just joined this forum and I have tons and tons of questions! Lets start with first one, how to install unix (on laptop)? I bought this book (Unix System Administrator's Bible) and got a CD (Full distribution copy of FreeBSD 2.2.5); and it is all compressed (I got that... (4 Replies)
Discussion started by: nchauhan
4 Replies

2. Shell Programming and Scripting

Installing expect

Hi, I have solaris 8 installed in my intel machine.(pentium 4).I'am planning to learn expect.Can somebody help me in giving relevant sites for that.I beleive we have to install TCL also for expect.Can somebody throw light on installations of both TCL & expect? thanx in advance, raj. (1 Reply)
Discussion started by: sounder123
1 Replies

3. UNIX for Dummies Questions & Answers

Installing unix.

Hi, I want to go and learn unix, I order to achieve this task I need to install unix on my machine. I am currently using a Dell Inspiron 6000, which is about a year and a half old. Currently I have 20GB of free space. It has been recommended to me that I simply partition my hard drive... (9 Replies)
Discussion started by: Mike55
9 Replies

4. UNIX for Dummies Questions & Answers

installing unix

hey, i downloaded a version of unix just recently in three files about a gig a piece in size. the website told me to merge the three files into one iso file...i did that using the xtra wizard on alchohol 120%. i tried to boot it from the virtual drive, but all it does is open a window that shows... (2 Replies)
Discussion started by: retrop_ffilc
2 Replies

5. UNIX for Dummies Questions & Answers

Installing Unix

Hello, I am a compete beginner to Unix, I have a very old HP 9000 class D server and i am trying to install HP-UX 11i on it, when i insert the cd into the cd drive on the Server and boot it up it does not automatically boot into the install of Unix. I have tried letting the Server boot... (1 Reply)
Discussion started by: eoghanlee
1 Replies

6. UNIX for Dummies Questions & Answers

Need help Installing UNIX

I have a dual boot - XP and Solaris 10 on my Intel Box. Since quite sometime now, I have been trying to get a driver for the Network card on my box so that I can connect to the Web through Solaris; but Solaris does not have a generic driver for my Gigabit Ethernet 10.100.1000 T-base card. As a... (1 Reply)
Discussion started by: tubbyrana
1 Replies

7. Shell Programming and Scripting

problems installing expect utilty

Hi all, I am trying to install expect utility on RHEL 5. It is showing that we also need to install tcl also in order to run it. I have downloaded expect from Tucows Tucows Download - Download Expect 5.32.1 and tcl from SourceForge.net: Downloading ... Can someone please tell me... (5 Replies)
Discussion started by: vikas027
5 Replies

8. Red Hat

How to install expect after installing tcl on Redhat Linux

Hi, I have install tcl and then expect but I am getting below ouput while trying which expect which expect /usr/bin/which: no expect in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin) I have copied both in... (6 Replies)
Discussion started by: manish_1678
6 Replies

9. Shell Programming and Scripting

How to use expect and send command in UNIX/Linux?

Hello Everyone, I am executing a unix script which logs into 50+ servers (netapp servers) and runs some commands and captures output locally. Below is the code snippet. file1.txt has names of all the remote servers where I am logging in. #!/bin/ksh #!/usr/bin/expect touch... (1 Reply)
Discussion started by: rahul2662
1 Replies

10. Red Hat

Issue in installing expect and Tcl

Hi I need to install expect in redhat. through net I came to know that I must install tcl too in order to make expect work. I have downloaded both packages but not able to install # ls -lrt total 3720 18:33 tcl8.4.20-src.tar.gz 18:33 expect5.45.3.tar.gz 18:40 expect5.45.3... (7 Replies)
Discussion started by: scriptor
7 Replies
cc(1B)						     SunOS/BSD Compatibility Package Commands						    cc(1B)

NAME
cc - C compiler SYNOPSIS
/usr/ucb/cc [options] DESCRIPTION
/usr/ucb/cc is the interface to the BSD Compatibility Package C compiler. It is a script that looks for the link /usr/ccs/bin/ucbcc to the C compiler. The /usr/ccs/bin/ucbcc link is available only with the SPROcc package, whose default location is /opt/SUNWspro. The /usr/ucb/cc interface is identical to /usr/ccs/bin/ucbcc, except that BSD headers are used and BSD libraries are linked before base libraries. The /opt/SUNWspro/man/man1/acc.1 man page is available only with the SPROcc package. OPTIONS
The /usr/ucb/cc interface accepts the same options as /usr/ccs/bin/ucbcc, with the following exceptions: -Idir Search dir for included files whose names do not begin with a slash (/) prior to searching the usual directories. The directories for multiple -I options are searched in the order specified. The preprocessor first searches for #include files in the directory containing sourcefile, and then in directories named with -I options (if any), then /usr/ucbinclude, and finally, in /usr/include. -Ldir Add dir to the list of directories searched for libraries by /usr/ccs/bin/ucbcc. This option is passed to /usr/ccs/bin/ld and /usr/lib. Directories specified with this option are searched before /usr/ucblib and /usr/lib. -Y P, dir Change the default directory used for finding libraries. EXIT STATUS
The following exit values are returned: 0 Successful compilation or link edit. >0 An error occurred. FILES
/usr/ccs/bin/ld link editor /usr/lib/libc C library /usr/ucbinclude BSD Compatibility directory for header files /usr/ucblib BSD Compatibility directory for libraries /usr/ucblib/libucb BSD Compatibility C library /usr/lib/libsocket library containing socket routines /usr/lib/libnsl library containing network functions /usr/lib/libelf library containing routines to process ELF object files /usr/lib/libaio library containing asynchronous I/O routines ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscpu | +-----------------------------+-----------------------------+ SEE ALSO
ld(1), a.out(4), attributes(5) NOTES
The -Y P, dir option may have unexpected results and should not be used. SunOS 5.10 24 Feb 1998 cc(1B)
All times are GMT -4. The time now is 05:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy