root:/sources# tar zxf expect-5.43.0.tar.gz root:/sources# cd expect-5.43 root:/sources/expect-5.43# root:/sources/expect-5.43# sed -i '/EXP_LIB_SPEC=/s@${exec_prefix}/lib@${libdir}@' configure root:/sources/expect-5.43# root:/sources/expect-5.43# patch -Np1 -i ../expect-5.43.0-spawn-2.patch patching file exp_chan.c patching file exp_command.h patching file expect.c root:/sources/expect-5.43# root:/sources/expect-5.43# ./configure --prefix=/tools --with-tcl=/tools/lib \ > --with-tclinclude=/tools/include configuring Expect 5.43.0 checking for autoconf... no checking configure up to date... yes checking host system type... sparc64-unknown-linux-gnu checking target system type... sparc64-unknown-linux-gnu checking build system type... sparc64-unknown-linux-gnu checking shell to use within Make... checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for building with threads... no (default) checking for Tcl configuration... found /tools/lib/tclConfig.sh checking Tcl build library... -L/sources/tcl8.4.16/unix -ltcl8.4 -ldl -lieee -lm checking for Tcl_CreateCommand... yes checking if Tcl library build specification is valid... yes checking for Tk configuration... configure: warning: Can't find Tk configuration definitions checking for Tk_Init... no checking if Tk library build specification is valid... no checking whether the compiler (gcc) actually works... yes checking for a BSD compatible install... /tools/bin/install -c checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking if running LynxOS... no checking for ANSI C header files... yes checking for pid_t... yes checking return type of signal handlers... void checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking if running Mach... no checking if running MachTen... no checking if on Pyramid... no checking if on Apollo... no checking if on Interactive... no checking stty to use... /bin/stty checking if stty reads stdout... no checking if running Solaris... no checking for sin... no checking for Tcl private headers... found in /tools/include checking type of library to build... unshared creating cache .././config.cache checking for gcc... gcc checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for Tcl configuration... found /tools/lib/tclConfig.sh checking Tcl build library... -L/sources/tcl8.4.16/unix -ltcl8.4 -ldl -lieee -lm checking for Tcl_CreateCommand... yes checking if Tcl library build specification is valid... yes checking whether the compiler (gcc) actually works... yes checking for a BSD compatible install... /tools/bin/install -c checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking if running LynxOS... no checking for Tcl private headers... found in /tools/include checking if we are running Linux... yes checking for strchr... yes checking for stdlib.h... yes checking type of library to build... both shared and unshared updating cache .././config.cache creating ./config.status creating Makefile creating pkgIndex creating tcldbgcf.h Begin tests for function/library dependencies. Tests may be repeated up to three times. First test is for building Expect's shared library. Second set is for building with Tcl. Third is for building with Tk. checking for gethostname... yes checking for gethostname... yes checking for gethostname... yes checking for socket... yes checking for socket... yes checking for socket... yes checking for select... yes checking for select... yes checking for select... yes checking for getpseudotty... no checking for getpseudotty in -lseq... no checking for getpseudotty... no checking for getpseudotty in -lseq... no checking for getpseudotty... no checking for getpseudotty in -lseq... no checking for openpty... no checking for openpty in -lutil... yes checking for openpty... no checking for openpty in -lutil... yes checking for openpty... no checking for openpty in -lutil... yes checking if running Sequent running SVR4... no checking for sys/sysmacros.h... yes checking for stdlib.h... yes checking for inttypes.h... yes checking for varargs.h... no checking for unistd.h... yes checking for sys/stropts.h... yes checking for sys/sysconfig.h... no checking for sys/fcntl.h... yes checking for sys/select.h... yes checking for sys/time.h... yes checking for sys/ptem.h... no checking for sys/strredir.h... no checking for sys/strpty.h... no checking for sys/bsdtypes.h... no checking for memmove... yes checking for sysconf... yes checking for strftime... yes checking for strchr... yes checking for timezone... yes checking for siglongjmp... yes checking for memcpy... yes checking if WNOHANG requires _POSIX_SOURCE... no checking if any value exists for WNOHANG... yes checking union wait... yes checking mask type of select... none checking if signals need to be re-armed... no checking if on Convex... no checking if on NeXT... no checking if on HP... no checking sane default stty arguments... checking for HP style pty allocation... no checking for HP style pty trapping... no checking for AIX new-style pty allocation... no checking for SGI old-style pty allocation... no checking for SCO style pty allocation... no checking for SVR4 style pty allocation... yes checking for libpts=-lpt in -lpt... no checking for ptsname... yes checking for ptsname... (cached) yes checking for ptsname... (cached) yes checking for OSF/1 style pty allocation... no checking for tcgetattr... yes checking for tcsetattr... yes checking for struct sgttyb... no checking for struct termio... yes checking for struct termios... yes checking if TCGETS or TCGETA in termios.h... no checking if TIOCGWINSZ in termios.h... no checking for Cray-style ptys... no checking for select... yes checking for poll... yes checking event handling... via select checking for _getpty... no checking for getpty... no checking whether setpgrp takes no argument... yes checking for SV-style timezone... yes checking for Tk private headers... checking for tk.h... no configure: warning: Can't find Tk private headers configure: warning: No X based programs will be built WARNING: Can't find Tk headers or library. You can still build expect, but not expectk. See Expect's README for information on how to obtain Tk. If Tk is installed, see Expect's INSTALL on how to tell configure where Tk is installed. checking for long file names... yes checking for type of library to build... unshared creating ./config.status creating Makefile creating pkgIndex creating expect_cf.h configuring in testsuite running /bin/sh ./configure --prefix=/tools --with-tcl=/tools/lib --with-tclinclude=/tools/include --cache-file=.././config.cache --srcdir=. loading cache .././config.cache checking for Tcl configuration... (cached) found /tools/lib/tclConfig.sh checking Tcl build library... -L/sources/tcl8.4.16/unix -ltcl8.4 -ldl -lieee -lm checking for Tcl_CreateCommand... (cached) yes checking if Tcl library build specification is valid... yes checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... yes checking whether the compiler (gcc) actually works... yes checking how to run the C preprocessor... (cached) gcc -E checking if running LynxOS... (cached) no checking for Tcl private headers... (cached) found in /tools/include updating cache .././config.cache creating ./config.status creating Makefile root:/sources/expect-5.43# root:/sources/expect-5.43# make gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_main_exp.c exp_main_exp.c: In function 'main': exp_main_exp.c:28: warning: incompatible implicit declaration of built-in function 'exit' exp_main_exp.c:33: warning: incompatible implicit declaration of built-in function 'exit' if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \ if [ ! -d shared ] ; then \ mkdir shared ; \ else true; fi ; \ gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_main_exp.c -o shared/exp_main_exp.o ; \ fi gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_command.c exp_command.c: In function 'Exp_SpawnCmd': exp_command.c:811: warning: cast from pointer to integer of different size exp_command.c:817: warning: cast from pointer to integer of different size exp_command.c: In function 'Exp_OpenCmd': exp_command.c:3032: warning: cast to pointer from integer of different size if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \ if [ ! -d shared ] ; then \ mkdir shared ; \ else true; fi ; \ gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_command.c -o shared/exp_command.o ; \ fi gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" expect.c expect.c: In function 'exp_eval_with_one_arg': expect.c:355: warning: assignment discards qualifiers from pointer target type if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \ if [ ! -d shared ] ; then \ mkdir shared ; \ else true; fi ; \ gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" expect.c -o shared/expect.o ; \ fi gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" pty_termios.c pty_termios.c: In function 'exp_getptymaster': pty_termios.c:475: warning: incompatible implicit declaration of built-in function 'strcpy' if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \ if [ ! -d shared ] ; then \ mkdir shared ; \ else true; fi ; \ gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" pty_termios.c -o shared/pty_termios.o ; \ fi gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_inter.c if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \ if [ ! -d shared ] ; then \ mkdir shared ; \ else true; fi ; \ gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_inter.c -o shared/exp_inter.o ; \ fi gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_regexp.c if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \ if [ ! -d shared ] ; then \ mkdir shared ; \ else true; fi ; \ gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_regexp.c -o shared/exp_regexp.o ; \ fi gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_tty.c if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \ if [ ! -d shared ] ; then \ mkdir shared ; \ else true; fi ; \ gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_tty.c -o shared/exp_tty.o ; \ fi gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_log.c if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \ if [ ! -d shared ] ; then \ mkdir shared ; \ else true; fi ; \ gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_log.c -o shared/exp_log.o ; \ fi gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_main_sub.c if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \ if [ ! -d shared ] ; then \ mkdir shared ; \ else true; fi ; \ gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_main_sub.c -o shared/exp_main_sub.o ; \ fi gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_pty.c if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \ if [ ! -d shared ] ; then \ mkdir shared ; \ else true; fi ; \ gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_pty.c -o shared/exp_pty.o ; \ fi gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_trap.c if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \ if [ ! -d shared ] ; then \ mkdir shared ; \ else true; fi ; \ gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_trap.c -o shared/exp_trap.o ; \ fi gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_console.c if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \ if [ ! -d shared ] ; then \ mkdir shared ; \ else true; fi ; \ gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_console.c -o shared/exp_console.o ; \ fi gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_strf.c if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \ if [ ! -d shared ] ; then \ mkdir shared ; \ else true; fi ; \ gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_strf.c -o shared/exp_strf.o ; \ fi gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_glob.c exp_glob.c: In function 'Exp_StringCaseMatch2': exp_glob.c:113: warning: incompatible implicit declaration of built-in function 'strlen' exp_glob.c:117: warning: incompatible implicit declaration of built-in function 'strlen' if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \ if [ ! -d shared ] ; then \ mkdir shared ; \ else true; fi ; \ gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_glob.c -o shared/exp_glob.o ; \ fi gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_win.c if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \ if [ ! -d shared ] ; then \ mkdir shared ; \ else true; fi ; \ gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_win.c -o shared/exp_win.o ; \ fi gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_clib.c if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \ if [ ! -d shared ] ; then \ mkdir shared ; \ else true; fi ; \ gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_clib.c -o shared/exp_clib.o ; \ fi gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_closetcl.c if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \ if [ ! -d shared ] ; then \ mkdir shared ; \ else true; fi ; \ gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_closetcl.c -o shared/exp_closetcl.o ; \ fi gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_memmove.c if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \ if [ ! -d shared ] ; then \ mkdir shared ; \ else true; fi ; \ gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_memmove.c -o shared/exp_memmove.o ; \ fi gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_tty_comm.c if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \ if [ ! -d shared ] ; then \ mkdir shared ; \ else true; fi ; \ gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_tty_comm.c -o shared/exp_tty_comm.o ; \ fi gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_select.c if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \ if [ ! -d shared ] ; then \ mkdir shared ; \ else true; fi ; \ gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_select.c -o shared/exp_select.o ; \ fi gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_event.c if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \ if [ ! -d shared ] ; then \ mkdir shared ; \ else true; fi ; \ gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_event.c -o shared/exp_event.o ; \ fi gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_chan.c exp_chan.c: In function 'ExpGetHandleProc': exp_chan.c:415: warning: cast to pointer from integer of different size exp_chan.c:418: warning: cast to pointer from integer of different size exp_chan.c: In function 'expWaitOnAny': exp_chan.c:526: warning: passing argument 2 of 'waitpid' from incompatible pointer type if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \ if [ ! -d shared ] ; then \ mkdir shared ; \ else true; fi ; \ gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" exp_chan.c -o shared/exp_chan.o ; \ fi gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" Dbg.c if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \ if [ ! -d shared ] ; then \ mkdir shared ; \ else true; fi ; \ gcc -c -I. -I. -I/tools/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/tools/lib/expect5.43\" -DEXECSCRIPTDIR=\"/tools/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe -DDFLT_STTY="\"sane\"" Dbg.c -o shared/Dbg.o ; \ fi rm -f libexpect5.43.a ar cr libexpect5.43.a exp_command.o expect.o pty_termios.o exp_inter.o exp_regexp.o exp_tty.o exp_log.o exp_main_sub.o exp_pty.o exp_trap.o exp_console.o exp_strf.o exp_glob.o exp_win.o exp_clib.o exp_closetcl.o exp_memmove.o exp_tty_comm.o exp_select.o exp_event.o exp_chan.o Dbg.o ranlib libexpect5.43.a gcc -pipe -Wl,--export-dynamic -o expect exp_main_exp.o libexpect5.43.a -L/sources/tcl8.4.16/unix -ltcl8.4 -ldl -lieee -lm -lutil -Wl,-rpath,/tools/lib:/tools/lib : expect make[1]: Entering directory `/sources/expect-5.43' Making binaries in testsuite... make[2]: Entering directory `/sources/expect-5.43/testsuite' make[2]: Nothing to be done for `binaries'. make[2]: Leaving directory `/sources/expect-5.43/testsuite' make[1]: Leaving directory `/sources/expect-5.43' root:/sources/expect-5.43# root:/sources/expect-5.43# make SCRIPTS="" install make[1]: Entering directory `/sources/expect-5.43' Making binaries in testsuite... make[2]: Entering directory `/sources/expect-5.43/testsuite' make[2]: Nothing to be done for `binaries'. make[2]: Leaving directory `/sources/expect-5.43/testsuite' make[1]: Leaving directory `/sources/expect-5.43' ./mkinstalldirs /tools/lib/expect5.43 mkdir /tools/lib/expect5.43 if [ -s libexpect5.43.a ] ; then \ /tools/bin/install -c -m 644 libexpect5.43.a /tools/lib/expect5.43/libexpect5.43.a ; \ ranlib /tools/lib/expect5.43/libexpect5.43.a ; \ /tools/bin/install -c -m 644 libexpect5.43.a /tools/lib/libexpect5.43.a ; \ ranlib /tools/lib/libexpect5.43.a ; \ else true; fi if [ -s reconfigure_Tcl_for_shared_library ] ; then \ /tools/bin/install -c reconfigure_Tcl_for_shared_library /tools/lib/reconfigure_Tcl_for_shared_library ; \ /tools/bin/install -c pkgIndex /tools/lib/expect5.43/pkgIndex.tcl ; \ else true; fi gcc -pipe -Wl,--export-dynamic -o expect_installed exp_main_exp.o -L/tools/lib/expect5.43 -lexpect5.43 -L/tools/lib -ltcl8.4 -ldl -lieee -lm -lutil -Wl,-rpath,/tools/lib:/tools/lib : expect_installed ./mkinstalldirs /tools/man/man1 /tools/man/man3 /tools/bin /tools/lib /tools/include /tools/bin/install -c expect_installed /tools/bin/expect if [ -s expectk_installed ] ; then \ /tools/bin/install -c expectk_installed /tools/bin/expectk ; \ else true; fi /tools/bin/install -c -m 644 ./expect.h /tools/include /tools/bin/install -c -m 644 ./expect_tcl.h /tools/include /tools/bin/install -c -m 644 ./expect_comm.h /tools/include /tools/bin/install -c -m 644 ./tcldbg.h /tools/include TCL_LIBRARY=/tools/includelibrary ; \ export TCL_LIBRARY ; \ if LD_LIBRARY_PATH=.:/tools/lib:/tools/lib:$LD_LIBRARY_PATH ./expect ./fixcat ; then \ /tools/bin/install -c -m 644 ./fixcat /tools/lib/expect5.43/cat-buffers ; \ else true; fi ./mkinstalldirs /tools/bin /tools/man/man1 /tools/lib/expect5.43 /tools/lib/expect5.43 for i in end_of_list ; do \ if [ -f $i ] ; then \ /tools/bin/install -c $i /tools/bin/$i ; \ rm -f $i ; \ else true; fi ; \ done ./mkinstalldirs /tools/man/man1 /tools/man/man3 if [ -s expectk_installed ] ; then \ /tools/bin/install -c -m 644 ./expectk.man /tools/man/man1/expectk.1 ; \ else true; fi /tools/bin/install -c -m 644 ./expect.man /tools/man/man1/expect.1 /tools/bin/install -c -m 644 ./libexpect.man /tools/man/man3/libexpect.3 for i in kibitz dislocate xkibitz tknewsbiff unbuffer mkpasswd passmass cryptdir decryptdir autoexpect multixterm end_of_list ; do \ if [ -f ./example/$i.man ] ; then \ /tools/bin/install -c -m 644 ./example/$i.man /tools/man/man1/$i.1 ; \ else true; fi ; \ done root:/sources/expect-5.43#