Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 1996 13:38:03 -0800 (PST)
From:      asami@freebsd.org (Satoshi Asami)
To:        peter@spinner.DIALix.COM
Cc:        chuckr@glue.umd.edu, ports@freebsd.org
Subject:   expect build failure
Message-ID:  <199610302138.NAA21271@silvia.HIP.Berkeley.EDU>

next in thread | raw e-mail | index | archive | help
I have itcl installed (there is a "libtk41i" shared library in
/usr/local/lib), could it be causing the confusion?

Satoshi
-------
===>  Extracting for expect-5.21
===>  expect-5.21 depends on shared library: tk41\.1\. - found
(cd /usr/ports/x11/tk41 && make extract)
Checksums OK.
===>  Extracting for tk-4.1
ln -s /usr/ports/x11/tk41/work/tk* /a/ports/lang/expect/work
===>  Patching for expect-5.21
===>  Applying FreeBSD patches for expect-5.21
===>  Configuring for expect-5.21
configuring Expect 5.21.3
checking host system type... i386-unknown-freebsd2.2
checking target system type... i386-unknown-freebsd2.2
checking build system type... i386-unknown-freebsd2.2
checking for Tcl configuration... found /usr/libdata/tcl/tclConfig.sh
checking for Tk configuration... found /a/local/lib/tkConfig.sh
checking for gcc... cc
checking whether we are using GNU C... yes
checking whether the compiler (cc) actually works... yes
checking for a BSD compatible install... /usr/bin/install -c -o bin -g bin
checking how to run the C preprocessor... cc -E
checking if running LynxOS... no
checking whether cross-compiling... 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 if stty reads stdout... no
checking if running Solaris... no
checking for sin... no
checking for Tcl private headers... found in /usr/include/tcl/generic
checking if generating shared or nonshared library... creating cache .././config.cache
checking for Tcl configuration... found /usr/libdata/tcl/tclConfig.sh
checking for gcc... cc
checking whether we are using GNU C... yes
checking whether the compiler (cc) actually works... yes
checking for a BSD compatible install... /usr/bin/install -c -o bin -g bin
checking how to run the C preprocessor... cc -E
checking if running LynxOS... no
checking for Tcl private headers... found in /usr/include/tcl/generic
checking if we are running Linux... no
checking for strchr... yes
checking for stdlib.h... yes
checking if generating shared or nonshared library... both shared and nonshared
updating cache .././config.cache
creating ./config.status
creating Makefile
creating Dbg_cf.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 -lseq... no
checking for getpseudotty... no
checking for -lseq... no
checking for getpseudotty... no
checking for -lseq... no
checking for openpty... no
checking for -lutil... yes
checking for openpty... no
checking for -lutil... yes
checking for openpty... no
checking for -lutil... yes
checking for sys/sysmacros.h... no
checking for stdlib.h... yes
checking for varargs.h... yes
checking for unistd.h... yes
checking for sys/stropts.h... no
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 memcpy... yes
checking if WNOHANG requires _POSIX_SOURCE... no
checking if any value exists for WNOHANG... 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... no
checking for OSF/1 style pty allocation... no
checking for tcgetattr... yes
checking for tcsetattr... yes
checking for struct sgttyb... yes
checking for struct termio... no
checking for struct termios... yes
checking if TCGETS or TCGETA in termios.h... no
checking if TIOCGWINSZ in termios.h... yes
checking for Cray-style ptys... no
checking for select... yes
checking for poll... no
checking event handling... via select
checking for _getpty... no
checking for getpty... no
checking for SV-style timezone... yes
checking for Tk private headers... found in /a/ports/x11/tk41/work/tk4.1/generic
both shared and nonshared
creating ./config.status
creating Makefile
creating pkgIndex
creating expect_cf.h
configuring in testsuite
running /bin/sh ./configure  --enable-shared --with-tclconfig=/usr/libdata/tcl --with-tclinclude=/usr/include/tcl --prefix=/usr/local --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking for Tcl configuration... (cached) found /usr/libdata/tcl/tclConfig.sh
checking for gcc... (cached) cc
checking whether we are using GNU C... (cached) yes
checking whether the compiler (cc) actually works... yes
checking how to run the C preprocessor... (cached) cc -E
checking if running LynxOS... (cached) no
checking for Tcl private headers... (cached) found in /usr/include/tcl/generic
creating ./config.status
creating Makefile
===>  Building for expect-5.21
cc -c  -I. -I. -I/usr/include/tcl/generic -I/a/ports/x11/tk41/work/tk4.1/generic -I/usr/X11R6/include  -DEXP_VERSION=\"5.21.3\"  -DSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DEXECSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DTCL_DEBUGGER -O2 -pipe -g -fPIC -DDFLT_STTY="\"sane\""  ./exp_main_exp.c
cc -c  -I. -I. -I/usr/include/tcl/generic -I/a/ports/x11/tk41/work/tk4.1/generic -I/usr/X11R6/include  -DEXP_VERSION=\"5.21.3\"  -DSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DEXECSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DTCL_DEBUGGER -O2 -pipe -g -fPIC -DDFLT_STTY="\"sane\""  ./exp_command.c
cc -c  -I. -I. -I/usr/include/tcl/generic -I/a/ports/x11/tk41/work/tk4.1/generic -I/usr/X11R6/include  -DEXP_VERSION=\"5.21.3\"  -DSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DEXECSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DTCL_DEBUGGER -O2 -pipe -g -fPIC -DDFLT_STTY="\"sane\""  ./expect.c
cc -c  -I. -I. -I/usr/include/tcl/generic -I/a/ports/x11/tk41/work/tk4.1/generic -I/usr/X11R6/include  -DEXP_VERSION=\"5.21.3\"  -DSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DEXECSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DTCL_DEBUGGER -O2 -pipe -g -fPIC -DDFLT_STTY="\"sane\""  ./pty_termios.c
cc -c  -I. -I. -I/usr/include/tcl/generic -I/a/ports/x11/tk41/work/tk4.1/generic -I/usr/X11R6/include  -DEXP_VERSION=\"5.21.3\"  -DSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DEXECSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DTCL_DEBUGGER -O2 -pipe -g -fPIC -DDFLT_STTY="\"sane\""  ./exp_inter.c
cc -c  -I. -I. -I/usr/include/tcl/generic -I/a/ports/x11/tk41/work/tk4.1/generic -I/usr/X11R6/include  -DEXP_VERSION=\"5.21.3\"  -DSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DEXECSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DTCL_DEBUGGER -O2 -pipe -g -fPIC -DDFLT_STTY="\"sane\""  ./exp_regexp.c
cc -c  -I. -I. -I/usr/include/tcl/generic -I/a/ports/x11/tk41/work/tk4.1/generic -I/usr/X11R6/include  -DEXP_VERSION=\"5.21.3\"  -DSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DEXECSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DTCL_DEBUGGER -O2 -pipe -g -fPIC -DDFLT_STTY="\"sane\""  ./exp_tty.c
cc -c  -I. -I. -I/usr/include/tcl/generic -I/a/ports/x11/tk41/work/tk4.1/generic -I/usr/X11R6/include  -DEXP_VERSION=\"5.21.3\"  -DSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DEXECSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DTCL_DEBUGGER -O2 -pipe -g -fPIC -DDFLT_STTY="\"sane\""  ./exp_log.c
cc -c  -I. -I. -I/usr/include/tcl/generic -I/a/ports/x11/tk41/work/tk4.1/generic -I/usr/X11R6/include  -DEXP_VERSION=\"5.21.3\"  -DSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DEXECSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DTCL_DEBUGGER -O2 -pipe -g -fPIC -DDFLT_STTY="\"sane\""  ./exp_main_sub.c
cc -c  -I. -I. -I/usr/include/tcl/generic -I/a/ports/x11/tk41/work/tk4.1/generic -I/usr/X11R6/include  -DEXP_VERSION=\"5.21.3\"  -DSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DEXECSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DTCL_DEBUGGER -O2 -pipe -g -fPIC -DDFLT_STTY="\"sane\""  ./exp_pty.c
cc -c  -I. -I. -I/usr/include/tcl/generic -I/a/ports/x11/tk41/work/tk4.1/generic -I/usr/X11R6/include  -DEXP_VERSION=\"5.21.3\"  -DSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DEXECSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DTCL_DEBUGGER -O2 -pipe -g -fPIC -DDFLT_STTY="\"sane\""  ./exp_printify.c
cc -c  -I. -I. -I/usr/include/tcl/generic -I/a/ports/x11/tk41/work/tk4.1/generic -I/usr/X11R6/include  -DEXP_VERSION=\"5.21.3\"  -DSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DEXECSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DTCL_DEBUGGER -O2 -pipe -g -fPIC -DDFLT_STTY="\"sane\""  ./exp_trap.c
cc -c  -I. -I. -I/usr/include/tcl/generic -I/a/ports/x11/tk41/work/tk4.1/generic -I/usr/X11R6/include  -DEXP_VERSION=\"5.21.3\"  -DSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DEXECSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DTCL_DEBUGGER -O2 -pipe -g -fPIC -DDFLT_STTY="\"sane\""  exp_console.c
cc -c  -I. -I. -I/usr/include/tcl/generic -I/a/ports/x11/tk41/work/tk4.1/generic -I/usr/X11R6/include  -DEXP_VERSION=\"5.21.3\"  -DSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DEXECSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DTCL_DEBUGGER -O2 -pipe -g -fPIC -DDFLT_STTY="\"sane\""  ./exp_strf.c
cc -c  -I. -I. -I/usr/include/tcl/generic -I/a/ports/x11/tk41/work/tk4.1/generic -I/usr/X11R6/include  -DEXP_VERSION=\"5.21.3\"  -DSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DEXECSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DTCL_DEBUGGER -O2 -pipe -g -fPIC -DDFLT_STTY="\"sane\""  exp_glob.c
cc -c  -I. -I. -I/usr/include/tcl/generic -I/a/ports/x11/tk41/work/tk4.1/generic -I/usr/X11R6/include  -DEXP_VERSION=\"5.21.3\"  -DSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DEXECSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DTCL_DEBUGGER -O2 -pipe -g -fPIC -DDFLT_STTY="\"sane\""  ./exp_win.c
cc -c  -I. -I. -I/usr/include/tcl/generic -I/a/ports/x11/tk41/work/tk4.1/generic -I/usr/X11R6/include  -DEXP_VERSION=\"5.21.3\"  -DSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DEXECSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DTCL_DEBUGGER -O2 -pipe -g -fPIC -DDFLT_STTY="\"sane\""  ./Dbg.c
cc -c  -I. -I. -I/usr/include/tcl/generic -I/a/ports/x11/tk41/work/tk4.1/generic -I/usr/X11R6/include  -DEXP_VERSION=\"5.21.3\"  -DSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DEXECSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DTCL_DEBUGGER -O2 -pipe -g -fPIC -DDFLT_STTY="\"sane\""  exp_clib.c
cc -c  -I. -I. -I/usr/include/tcl/generic -I/a/ports/x11/tk41/work/tk4.1/generic -I/usr/X11R6/include  -DEXP_VERSION=\"5.21.3\"  -DSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DEXECSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DTCL_DEBUGGER -O2 -pipe -g -fPIC -DDFLT_STTY="\"sane\""  exp_closetcl.c
cc -c  -I. -I. -I/usr/include/tcl/generic -I/a/ports/x11/tk41/work/tk4.1/generic -I/usr/X11R6/include  -DEXP_VERSION=\"5.21.3\"  -DSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DEXECSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DTCL_DEBUGGER -O2 -pipe -g -fPIC -DDFLT_STTY="\"sane\""  exp_memmove.c
cc -c  -I. -I. -I/usr/include/tcl/generic -I/a/ports/x11/tk41/work/tk4.1/generic -I/usr/X11R6/include  -DEXP_VERSION=\"5.21.3\"  -DSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DEXECSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DTCL_DEBUGGER -O2 -pipe -g -fPIC -DDFLT_STTY="\"sane\""  exp_tty_comm.c
cc -c  -I. -I. -I/usr/include/tcl/generic -I/a/ports/x11/tk41/work/tk4.1/generic -I/usr/X11R6/include  -DEXP_VERSION=\"5.21.3\"  -DSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DEXECSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DTCL_DEBUGGER -O2 -pipe -g -fPIC -DDFLT_STTY="\"sane\""  ./exp_select.c
cc -c  -I. -I. -I/usr/include/tcl/generic -I/a/ports/x11/tk41/work/tk4.1/generic -I/usr/X11R6/include  -DEXP_VERSION=\"5.21.3\"  -DSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DEXECSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DTCL_DEBUGGER -O2 -pipe -g -fPIC -DDFLT_STTY="\"sane\""  ./exp_event.c
rm -f libexpect521.so.1.0
ld -Bshareable -x -o libexpect521.so.1.0 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_printify.o exp_trap.o  exp_console.o exp_strf.o exp_glob.o exp_win.o Dbg.o exp_clib.o  exp_closetcl.o exp_memmove.o exp_tty_comm.o  exp_select.o exp_event.o
cc -O2 -pipe -g -fPIC  -o expect exp_main_exp.o -L/a/ports/lang/expect/work/expect-5.21 -lexpect521 -ltcl75  -lutil   -lm
: expect
rm -f libexpect521.a
ar cr libexpect521.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_printify.o exp_trap.o  exp_console.o exp_strf.o exp_glob.o exp_win.o Dbg.o exp_clib.o  exp_closetcl.o exp_memmove.o exp_tty_comm.o  exp_select.o exp_event.o
: libexpect521.a
cc -c  -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1   -I. -I. -I/usr/include/tcl/generic -I/a/ports/x11/tk41/work/tk4.1/generic -I/usr/X11R6/include  -DEXP_VERSION=\"5.21.3\"  -DSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DEXECSCRIPTDIR=\"/usr/local/lib/expect5.21\"  -DTCL_DEBUGGER -O2 -pipe -g -fPIC  ./exp_main_tk.c
cc -O2 -pipe -g -fPIC  -o expectk exp_main_tk.o -L/a/ports/lang/expect/work/expect-5.21 -lexpect521 -LNONE/lib/itcl -ltk41i -ltcl75   -lutil -L/usr/X11R6/lib -lX11   -lm
ld: -ltk41i: no match
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610302138.NAA21271>