Problem compiling Expect 5-19 on Sunos nad HPUX 
Author Message
 Problem compiling Expect 5-19 on Sunos nad HPUX

I am trying to compile expect 5-19 on SunOS 4.1.3 and HPUX 10.01
but got similar problems. I have TCL 7.5 installed. Can someone
help me please? Thanks

Error messages: (on SUN OS)
gcc -c  -I. -I. -I/usr/local/include    -DEXP_VERSION=\"5.19.0\"  
-DSCRIPTDIR=\"/usr/local/lib/expect\"  
-DEXECSCRIPTDIR=\"/usr/local/lib/expect\"  -DTCL_DE{*filter*} -g
-DDFLT_STTY=\""sane"\"  exp_command.c
In file included from exp_command.c:76:
expect_tcl.h:50: parse error before `VARARGS'
expect_tcl.h:50: parse error before `interp'
expect_tcl.h:50: warning: data definition has no type or storage class
exp_command.c: In function `Exp_SpawnCmd':
exp_command.c:798: warning: passing arg 5 of `Tcl_GetOpenFile' from
incompatible pointer type
exp_command.c:799: warning: passing arg 5 of `Tcl_GetOpenFile' from
incompatible pointer type
exp_command.c: In function `Exp_LogFileCmd':
exp_command.c:2176: warning: passing arg 5 of `Tcl_GetOpenFile' from
incompatible pointer type
exp_command.c: In function `Exp_WaitCmd':
exp_command.c:2760: `tcl_AsyncReady' undeclared (first use this function)
exp_command.c:2760: (Each undeclared identifier is reported only once
exp_command.c:2760: for each function it appears in.)
exp_command.c: In function `Exp_OpenCmd':
exp_command.c:3264: `TCL_FILE_READABLE' undeclared (first use this function)
exp_command.c:3264: `TCL_FILE_WRITABLE' undeclared (first use this function)
*** Error code 1
make: Fatal error: Command failed for target `exp_command.o'

On HPUX 10.01

# make
        cc -c  -I. -I. -I/usr/local/include    -DEXP_VERSION=\"5.19.0\"  
-DSCRIPTDIR=\"/usr/local/lib/expect\"  
-DEXECSCRIPTDIR=\"/usr/local/lib/expect\"  -DTCL_DE{*filter*} -g
-DDFLT_STTY=\"sane erase  kill \"  exp_command.c
cc: "exp_command.c", line 2760: error 1588: "tcl_AsyncReady" undefined.
cc: "exp_command.c", line 2760: error 1563: Expression in if must be scalar.
cc: "exp_command.c", line 3264: error 1588: "TCL_FILE_READABLE" undefined.
cc: "exp_command.c", line 3264: error 1588: "TCL_FILE_WRITABLE" undefined.
*** Error exit code 1

I couldn't find where TCL_FILE_WRITEABLE/READABLE are defined.

...
ling



Sat, 23 Jan 1999 03:00:00 GMT  
 Problem compiling Expect 5-19 on Sunos nad HPUX


Quote:

>I am trying to compile expect 5-19 on SunOS 4.1.3 and HPUX 10.01
>but got similar problems. I have TCL 7.5 installed. Can someone
>help me please? Thanks

Sorry. I didn't read the README file careful enough. Will
get 5.20Beta and try. Thanks
...
ling


Sun, 24 Jan 1999 03:00:00 GMT  
 Problem compiling Expect 5-19 on Sunos nad HPUX


   I am trying to compile expect 5-19 on SunOS 4.1.3 and HPUX 10.01
   but got similar problems. I have TCL 7.5 installed. Can someone
   help me please? Thanks

Read: http://www.cme.nist.gov/pub/expect/FAQ.html#q25

Don



Tue, 26 Jan 1999 03:00:00 GMT  
 Problem compiling Expect 5-19 on Sunos nad HPUX

Quote:


>    I am trying to compile expect 5-19 on SunOS 4.1.3 and HPUX 10.01
>    but got similar problems. I have TCL 7.5 installed. Can someone
>    help me please? Thanks

> Read: http://www.cme.nist.gov/pub/expect/FAQ.html#q25

> Don

I've compiled expect5.19 on HP-UX10.01 w/out any problems when using
tcl7.4.  I think it may have compatability problems with tcl7.5

jase



Tue, 02 Feb 1999 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Problems compiling expect-5.19 ,tcl7.5b3 and tk4.1b3

2. Compile-mode for VHDL Compiler for emacs-19.19

3. Problems compiling Expect on SunOS 4.144

4. Problems compiling expect under SunOS 4.1.3.

5. Problem building expect-5.19

6. Help! Error compiling expect-5.19 on SunOS 4.1.3_U1

7. Compiling Expect 5.22 on SUNOS 414

8. configuring expect-5.19/Solaris

9. HPUX compile problems

10. HPUX 10.2 compiling problems

11. expect / in-band ftp / hpux problem?

12. Celefunt results, g77 0.5.19 vs 0.5.19.1

 

 
Powered by phpBB® Forum Software