* Using vdump with a tape library
@ 2000-02-05 10:37 Adel Kamal
0 siblings, 0 replies; only message in thread
From: Adel Kamal @ 2000-02-05 10:37 UTC (permalink / raw)
To: tru64-unix-managers
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01BF6FC4.EFC391B0", Size: 7735 bytes --]
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01BF6FC4.EFC391B0
Content-Type: text/plain;
charset="iso-8859-1"
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
------_=_NextPart_001_01BF6FC4.EFC391B0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>Using vdump with a tape library</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2 FACE=3D"Arial">Hi,</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">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.</FONT></P>
<BR>
<P><FONT SIZE=3D2 FACE=3D"Arial">I am using Digital UNIX 4.0D .</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">I was able to install Tcl and Tk 8.0 =
successfully.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">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</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Tahoma"># make</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">cc -c -I. -I. =
-I/usr/local/src/tcl8.0.5/generic =
-I/usr/local/src/tk8.0.5/generi</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">c =
-DEXP_VERSION=3D\"5.31.2\" =
-DSCRIPTDIR=3D\"/usr/local/lib/expect5.31\" =
-DEXECS</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Tahoma">CRIPTDIR=3D\"/usr/local/lib/expect5.31\" =
-DTCL_DEBUGGER =
-DDFLT_STTY=3D"\"sane\""</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">exp_command.c</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">cc: Error: exp_command.c, line 142: =
Missing ";". (nosemi)</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">static Tcl_ThreadDataKey =
dataKey;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">-------------------------^</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">cc: Error: exp_command.c, line 1448: =
In this declaration, "Tcl_UniChar" must spe</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">cify a type. (badparsedecl)</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma"> Tcl_UniChar =
ch;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">----^</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">cc: Error: exp_command.h, line 79: =
In the declaration of "name", "TCL_INTEGER_SP</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">ACE" is not declared. =
(undeclared)</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma"> char =
name[EXP_CHANNELNAMELEN+1]; /* expect and interact set variables</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">--------------^</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">cc: Warning: exp_command.c, line =
1819: In this statement, "Tcl_GetString(...)" o</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">f type "int", is being =
converted to "pointer to signed char". (cvtdiftypes)</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Tahoma"> name =3D =
Tcl_GetString(objv[j]);</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">--------^</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">cc: Warning: exp_command.c, line =
1830: In this statement, "Tcl_GetString(...)" o</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">f type "int", is being =
converted to "pointer to signed char". (cvtdiftypes)</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Tahoma"> &n=
bsp; chanName =3D =
Tcl_GetString(objv[j]);</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">----------------^</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">cc: Warning: exp_command.c, line =
2267: In this statement, "Tcl_GetString(...)" o</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">f type "int", is being =
converted to "pointer to signed char". (cvtdiftypes)</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Tahoma"> &n=
bsp; chanName =3D Tcl_GetString(*objv);</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">------------^</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">*** Exit 1</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">Stop.</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Tahoma">Not being a c expert, I'm not sure =
hoe to correct this.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">Help will be appreciated.</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Tahoma">Note:</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Tahoma">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</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Tahoma">Thanks</FONT>
</P>
<BR>
<P><B><FONT SIZE=3D2 FACE=3D"Tahoma">Adel K. F. Tadros</FONT></B>
<BR><FONT SIZE=3D1 FACE=3D"Tahoma">Sr. System Engineer - Computer =
Network System</FONT>
<BR><FONT SIZE=3D1 FACE=3D"Tahoma">P.O. Box 52137 Dubai - United Arab =
Emirates</FONT>
<BR><FONT SIZE=3D1 FACE=3D"Tahoma">Tel.: +971 4 3378822 Fax.: =
+971 4 3374753</FONT>
<BR><FONT SIZE=3D1 FACE=3D"Tahoma">Mobile: +971 50 6590325</FONT>
</P>
<BR>
<BR>
</BODY>
</HTML>
------_=_NextPart_001_01BF6FC4.EFC391B0--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-02-05 10:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-05 10:37 Using vdump with a tape library Adel Kamal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox