Hi,
I've read in one of the messages that I can do vdump automatically (with no
human intervention), and that is by using Tcl, Tk and expect.
I am using Digital UNIX 4.0D .
I was able to install Tcl and Tk 8.0 successfully.
I've already downloaded expect 5.31 (could not find 5.29 or 5.30) I was able
to create the file "Makefile" after excecuting "./configure" but when I am
trying to build expect usig "make" or "make expect" commant I get the
following errors
# make
cc -c -I. -I. -I/usr/local/src/tcl8.0.5/generic
-I/usr/local/src/tk8.0.5/generi
c -DEXP_VERSION=\"5.31.2\" -DSCRIPTDIR=\"/usr/local/lib/expect5.31\"
-DEXECS
CRIPTDIR=\"/usr/local/lib/expect5.31\" -DTCL_DEBUGGER
-DDFLT_STTY="\"sane\""
exp_command.c
cc: Error: exp_command.c, line 142: Missing ";". (nosemi)
static Tcl_ThreadDataKey dataKey;
-------------------------^
cc: Error: exp_command.c, line 1448: In this declaration, "Tcl_UniChar" must
spe
cify a type. (badparsedecl)
Tcl_UniChar ch;
----^
cc: Error: exp_command.h, line 79: In the declaration of "name",
"TCL_INTEGER_SP
ACE" is not declared. (undeclared)
char name[EXP_CHANNELNAMELEN+1]; /* expect and interact set variables
--------------^
cc: Warning: exp_command.c, line 1819: In this statement,
"Tcl_GetString(...)" o
f type "int", is being converted to "pointer to signed char". (cvtdiftypes)
name = Tcl_GetString(objv[j]);
--------^
cc: Warning: exp_command.c, line 1830: In this statement,
"Tcl_GetString(...)" o
f type "int", is being converted to "pointer to signed char". (cvtdiftypes)
chanName = Tcl_GetString(objv[j]);
----------------^
cc: Warning: exp_command.c, line 2267: In this statement,
"Tcl_GetString(...)" o
f type "int", is being converted to "pointer to signed char". (cvtdiftypes)
chanName = Tcl_GetString(*objv);
------------^
*** Exit 1
Stop.
Not being a c expert, I'm not sure hoe to correct this.
Help will be appreciated.
Note:
in the www.scriptics.com site there is an article about expect 5.29 only
working with Tcl/Tk 8.0 and expect 5.31 working with Tcl/Tk 8.2
Thanks
Adel K. F. Tadros
Sr. System Engineer - Computer Network System
P.O. Box 52137 Dubai - United Arab Emirates
Tel.: +971 4 3378822 Fax.: +971 4 3374753
Mobile: +971 50 6590325
Received on Sat Feb 05 2000 - 10:42:15 NZDT