Opened 15 years ago

Closed 15 years ago

#18205 closed defect (fixed)

expect fails to build on Panther

Reported by: face@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: panther Cc:
Port: expect

Description (last modified by markd@…)

admin@x:admin:124 $ port
MacPorts 1.700
admin@x:admin:122 $ sudo port clean --work expect
--->  Cleaning expect
admin@x:admin:123 $ sudo port upgrade -d -v expect
--->  Fetching expect
--->  Verifying checksum(s) for expect
--->  Extracting expect
--->  Applying patches to expect
--->  Configuring expect
--->  Building expect
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_expect/work/expect-5.43" && make all " returned error 2
Command output: exp_main_tk.c:351: error: parse error before '&' token
exp_main_tk.c:351: error: conflicting types for `Tcl_DStringFree'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_expect/work/tcl8.4.14/generic/tclDecls.h:416: error: previous declaration of `Tcl_DStringFree'
exp_main_tk.c:351: warning: data definition has no type or storage class
exp_main_tk.c:355: warning: parameter names (without types) in function declaration
exp_main_tk.c:355: error: conflicting types for `Tcl_ResetResult'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_expect/work/tcl8.4.14/generic/tclDecls.h:716: error: previous declaration of `Tcl_ResetResult'
exp_main_tk.c:355: warning: data definition has no type or storage class
exp_main_tk.c:356: error: parse error before "if"
exp_main_tk.c:367: error: redefinition of `code'
exp_main_tk.c:350: error: `code' previously defined here
exp_main_tk.c:367: error: `interp' undeclared here (not in a function)
exp_main_tk.c:367: error: initializer element is not constant
exp_main_tk.c:367: warning: data definition has no type or storage class
exp_main_tk.c:368: error: parse error before "if"
exp_main_tk.c:376: error: redefinition of `code'
exp_main_tk.c:367: error: `code' previously defined here
exp_main_tk.c:376: error: `interp' undeclared here (not in a function)
exp_main_tk.c:376: error: `TK_VERSION' undeclared here (not in a function)
exp_main_tk.c:376: error: initializer element is not constant
exp_main_tk.c:376: warning: data definition has no type or storage class
exp_main_tk.c:377: error: parse error before "if"
exp_main_tk.c:385: error: redefinition of `code'
exp_main_tk.c:376: error: `code' previously defined here
exp_main_tk.c:385: error: `interp' undeclared here (not in a function)
exp_main_tk.c:385: error: initializer element is not constant
exp_main_tk.c:385: warning: data definition has no type or storage class
exp_main_tk.c:387: error: parse error before ':' token
{standard input}:110:FATAL:Symbol _code already defined.
make: *** [exp_main_tk.o] Error 1

Error: Unable to upgrade port: 1

Change History (13)

comment:1 Changed 15 years ago by markd@…

Description: modified (diff)

Can you 'clean --all' and reinstall the port? And what version of Tcl do you have installed?

comment:2 Changed 15 years ago by face@…

I see that expect is downloading tcl8.4.14 - I think that I have 8.5.6 actually installed on this system

admin@x:admin:122 $ which tclsh
/opt/local/bin/tclsh
admin@x:admin:123 $ port installed | grep tcl
  tcl @8.5.5_0
  tcl @8.5.6_0 (active)
admin@x:admin:124 $ sudo port clean --all expect
--->  Cleaning expect
admin@x:admin:125 $ sudo port upgrade -d -v  expect
--->  Fetching expect
--->  Attempting to fetch expect-5.43.0.tar.gz from http://expect.nist.gov/src/
--->  Attempting to fetch tcl8.4.14-src.tar.gz from http://downloads.sourceforge.net/tcl
--->  Verifying checksum(s) for expect
--->  Extracting expect
--->  Applying patches to expect
--->  Configuring expect
--->  Building expect
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_expect/work/expect-5.43" && make all " returned error 2
Command output: exp_main_tk.c:351: error: parse error before '&' token
exp_main_tk.c:351: error: conflicting types for `Tcl_DStringFree'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_expect/work/tcl8.4.14/generic/tclDecls.h:416: error: previous declaration of `Tcl_DStringFree'
exp_main_tk.c:351: warning: data definition has no type or storage class
exp_main_tk.c:355: warning: parameter names (without types) in function declaration
exp_main_tk.c:355: error: conflicting types for `Tcl_ResetResult'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_expect/work/tcl8.4.14/generic/tclDecls.h:716: error: previous declaration of `Tcl_ResetResult'
exp_main_tk.c:355: warning: data definition has no type or storage class
exp_main_tk.c:356: error: parse error before "if"
exp_main_tk.c:367: error: redefinition of `code'
exp_main_tk.c:350: error: `code' previously defined here
exp_main_tk.c:367: error: `interp' undeclared here (not in a function)
exp_main_tk.c:367: error: initializer element is not constant
exp_main_tk.c:367: warning: data definition has no type or storage class
exp_main_tk.c:368: error: parse error before "if"
exp_main_tk.c:376: error: redefinition of `code'
exp_main_tk.c:367: error: `code' previously defined here
exp_main_tk.c:376: error: `interp' undeclared here (not in a function)
exp_main_tk.c:376: error: `TK_VERSION' undeclared here (not in a function)
exp_main_tk.c:376: error: initializer element is not constant
exp_main_tk.c:376: warning: data definition has no type or storage class
exp_main_tk.c:377: error: parse error before "if"
exp_main_tk.c:385: error: redefinition of `code'
exp_main_tk.c:376: error: `code' previously defined here
exp_main_tk.c:385: error: `interp' undeclared here (not in a function)
exp_main_tk.c:385: error: initializer element is not constant
exp_main_tk.c:385: warning: data definition has no type or storage class
exp_main_tk.c:387: error: parse error before ':' token
{standard input}:110:FATAL:Symbol _code already defined.
make: *** [exp_main_tk.o] Error 1

Error: Unable to upgrade port: 1

I de-installed and tried to install from scratch

admin@x:admin:126 $ sudo port uninstall expect
--->  Deactivating expect @5.43.0_3
--->  Uninstalling expect @5.43.0_3
admin@x:admin:127 $ sudo port clean --all expect
--->  Cleaning expect
admin@x:admin:128 $ port variants expect
expect has the variants:
	universal: Build for multiple architectures
admin@x:admin:129 $ sudo port -d -v install expect
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/expect
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/expect
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/tcl
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/tcl
DEBUG: Searching for dependency: tcl
DEBUG: Found Dependency: receipt exists for tcl
--->  Fetching expect
--->  Attempting to fetch expect-5.43.0.tar.gz from http://expect.nist.gov/src/
  % Total    % Received % Xferd  Average Speed          Time             Curr.
                                 Dload  Upload Total    Current  Left    Speed
100  513k  100  513k    0     0   149k      0  0:00:03  0:00:03  0:00:00  158k
--->  Attempting to fetch tcl8.4.14-src.tar.gz from http://downloads.sourceforge.net/tcl
  % Total    % Received % Xferd  Average Speed          Time             Curr.
                                 Dload  Upload Total    Current  Left    Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:00 --:--:--     0
100 3461k  100 3461k    0     0  2552k      0  0:00:01  0:00:01  0:00:00 2550k
--->  Verifying checksum(s) for expect
--->  Extracting expect
--->  Applying patches to expect
--->  Configuring expect
--->  Building expect
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_expect/work/expect-5.43" && make all " returned error 2
Command output: exp_main_tk.c:351: error: parse error before '&' token
exp_main_tk.c:351: error: conflicting types for `Tcl_DStringFree'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_expect/work/tcl8.4.14/generic/tclDecls.h:416: error: previous declaration of `Tcl_DStringFree'
exp_main_tk.c:351: warning: data definition has no type or storage class
exp_main_tk.c:355: warning: parameter names (without types) in function declaration
exp_main_tk.c:355: error: conflicting types for `Tcl_ResetResult'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_expect/work/tcl8.4.14/generic/tclDecls.h:716: error: previous declaration of `Tcl_ResetResult'
exp_main_tk.c:355: warning: data definition has no type or storage class
exp_main_tk.c:356: error: parse error before "if"
exp_main_tk.c:367: error: redefinition of `code'
exp_main_tk.c:350: error: `code' previously defined here
exp_main_tk.c:367: error: `interp' undeclared here (not in a function)
exp_main_tk.c:367: error: initializer element is not constant
exp_main_tk.c:367: warning: data definition has no type or storage class
exp_main_tk.c:368: error: parse error before "if"
exp_main_tk.c:376: error: redefinition of `code'
exp_main_tk.c:367: error: `code' previously defined here
exp_main_tk.c:376: error: `interp' undeclared here (not in a function)
exp_main_tk.c:376: error: `TK_VERSION' undeclared here (not in a function)
exp_main_tk.c:376: error: initializer element is not constant
exp_main_tk.c:376: warning: data definition has no type or storage class
exp_main_tk.c:377: error: parse error before "if"
exp_main_tk.c:385: error: redefinition of `code'
exp_main_tk.c:376: error: `code' previously defined here
exp_main_tk.c:385: error: `interp' undeclared here (not in a function)
exp_main_tk.c:385: error: initializer element is not constant
exp_main_tk.c:385: warning: data definition has no type or storage class
exp_main_tk.c:387: error: parse error before ':' token
{standard input}:110:FATAL:Symbol _code already defined.
make: *** [exp_main_tk.o] Error 1

Error: Status 1 encountered during processing.

comment:3 Changed 15 years ago by face@…

Just to be more complete - doesn't build on my Intel Leopard system either (running from trunk)

mac 6 # sudo port -d -v install expect
Password:
DEBUG: Found port in file:///opt/mports/trunk/dports/devel/expect
DEBUG: Changing to port directory: /opt/mports/trunk/dports/devel/expect
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Requested variant darwin is not provided by port expect.
DEBUG: Requested variant i386 is not provided by port expect.
DEBUG: Requested variant macosx is not provided by port expect.
Portfile changed since last build; discarding previous state.
DEBUG: Found port in file:///opt/mports/trunk/dports/lang/tcl
DEBUG: Changing to port directory: /opt/mports/trunk/dports/lang/tcl
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Requested variant darwin is not provided by port tcl.
DEBUG: Requested variant i386 is not provided by port tcl.
DEBUG: Requested variant macosx is not provided by port tcl.
DEBUG: Searching for dependency: tcl
DEBUG: Found Dependency: receipt exists for tcl
DEBUG: Executing org.macports.main (expect)
--->  Fetching expect
DEBUG: Executing org.macports.fetch (expect)
--->  expect-5.43.0.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/expect
DEBUG: Pinging expect.nist.gov...
DEBUG: Pinging distfiles.macports.org...
DEBUG: Pinging trd.no.distfiles.macports.org...
DEBUG: Pinging arn.se.distfiles.macports.org...
DEBUG: expect.nist.gov ping time is 10000
DEBUG: distfiles.macports.org ping time is 64.368
DEBUG: trd.no.distfiles.macports.org ping time is 227.384
DEBUG: arn.se.distfiles.macports.org ping time is 198.602
DEBUG: Pinging downloads.sourceforge.net...
DEBUG: Pinging easynews.dl.sourceforge.net...
DEBUG: Pinging internap.dl.sourceforge.net...
DEBUG: Pinging superb-east.dl.sourceforge.net...
DEBUG: Pinging superb-west.dl.sourceforge.net...
DEBUG: Pinging voxel.dl.sourceforge.net...
DEBUG: Pinging ufpr.dl.sourceforge.net...
DEBUG: Pinging dfn.dl.sourceforge.net...
DEBUG: Pinging garr.dl.sourceforge.net...
DEBUG: Pinging heanet.dl.sourceforge.net...
DEBUG: Pinging kent.dl.sourceforge.net...
DEBUG: Pinging mesh.dl.sourceforge.net...
DEBUG: Pinging puzzle.dl.sourceforge.net...
DEBUG: Pinging surfnet.dl.sourceforge.net...
DEBUG: Pinging switch.dl.sourceforge.net...
DEBUG: Pinging nchc.dl.sourceforge.net...
DEBUG: Pinging internode.dl.sourceforge.net...
DEBUG: Pinging transact.dl.sourceforge.net...
DEBUG: Pinging optusnet.dl.sourceforge.net...
DEBUG: downloads.sourceforge.net ping time is 109.596
DEBUG: easynews.dl.sourceforge.net ping time is 84.120
DEBUG: internap.dl.sourceforge.net ping time is 52.834
DEBUG: superb-east.dl.sourceforge.net ping time is 108.993
DEBUG: superb-west.dl.sourceforge.net ping time is 85.013
DEBUG: voxel.dl.sourceforge.net ping time is 60.603
DEBUG: ufpr.dl.sourceforge.net ping time is 348.287
DEBUG: dfn.dl.sourceforge.net ping time is 201.730
DEBUG: garr.dl.sourceforge.net ping time is 210.099
DEBUG: heanet.dl.sourceforge.net ping time is 191.563
DEBUG: kent.dl.sourceforge.net ping time is 188.376
DEBUG: mesh.dl.sourceforge.net ping time is 202.703
DEBUG: puzzle.dl.sourceforge.net ping time is 208.920
DEBUG: surfnet.dl.sourceforge.net ping time is 200.159
DEBUG: switch.dl.sourceforge.net ping time is 201.228
DEBUG: nchc.dl.sourceforge.net ping time is 199.453
DEBUG: internode.dl.sourceforge.net ping time is 288.782
DEBUG: transact.dl.sourceforge.net ping time is 254.178
DEBUG: optusnet.dl.sourceforge.net ping time is 206.538
--->  Attempting to fetch expect-5.43.0.tar.gz from http://distfiles.macports.org/expect
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  513k  100  513k    0     0   379k      0  0:00:01  0:00:01 --:--:--  505k
--->  tcl8.4.14-src.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/expect
--->  Attempting to fetch tcl8.4.14-src.tar.gz from http://internap.dl.sourceforge.net/tcl
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 3461k  100 3461k    0     0   357k      0  0:00:09  0:00:09 --:--:--  325k
--->  Verifying checksum(s) for expect
DEBUG: Executing org.macports.checksum (expect)
--->  Checksumming expect-5.43.0.tar.gz
DEBUG: Correct (md5) checksum for expect-5.43.0.tar.gz
--->  Checksumming tcl8.4.14-src.tar.gz
DEBUG: Correct (md5) checksum for tcl8.4.14-src.tar.gz
--->  Extracting expect
DEBUG: Executing org.macports.extract (expect)
--->  Extracting expect-5.43.0.tar.gz
DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/expect/expect-5.43.0.tar.gz
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work" && gzip -dc /opt/local/var/macports/distfiles/expect/expect-5.43.0.tar.gz | /usr/bin/gnutar --no-same-owner -xf -'
/usr/bin/gnutar: Read 3584 bytes from -
--->  Extracting tcl8.4.14-src.tar.gz
DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/expect/tcl8.4.14-src.tar.gz
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work" && gzip -dc /opt/local/var/macports/distfiles/expect/tcl8.4.14-src.tar.gz | /usr/bin/gnutar --no-same-owner -xf -'
DEBUG: Executing org.macports.patch (expect)
--->  Applying patches to expect
--->  Applying /opt/mports/trunk/dports/devel/expect/files/expect-5.43.0-tcl_8.5.5_fix-1.diff
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/expect-5.43" && patch -p0'
patching file Dbg.c
patching file exp_inter.c
patching file exp_command.c
patching file exp_command.h
Hunk #1 succeeded at 295 (offset -2 lines).
--->  Configuring expect
DEBUG: Using compiler 'Mac OS X gcc 4.0'
DEBUG: Executing org.macports.configure (expect)
DEBUG: Environment: CFLAGS='-O2' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2' MACOSX_DEPLOYMENT_TARGET='10.5' CPP='/usr/bin/cpp-4.0' CXX='/usr/bin/g++-4.0' F90FLAGS='-O2' LDFLAGS='-L/opt/local/lib' FCFLAGS='-O2' OBJC='/usr/bin/gcc-4.0' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2' FFLAGS='-O2' CC='/usr/bin/gcc-4.0'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/expect-5.43" && ./configure --prefix=/opt/local --disable-shared --mandir=/opt/local/share/man --with-tcl="/opt/local/lib" --with-tclinclude="/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic/"'
configuring Expect 5.43.0
checking for autoconf... yes
checking configure up to date... yes
checking host system type... Invalid configuration `i386-apple-darwin9.6.0': system `darwin9.6.0' not recognized

checking target system type... Invalid configuration `i386-apple-darwin9.6.0': system `darwin9.6.0' not recognized

checking build system type... Invalid configuration `i386-apple-darwin9.6.0': system `darwin9.6.0' not recognized

checking shell to use within Make... 
checking for gcc... /usr/bin/gcc-4.0
checking whether the C compiler (/usr/bin/gcc-4.0 -O2 -L/opt/local/lib) works... yes
checking whether the C compiler (/usr/bin/gcc-4.0 -O2 -L/opt/local/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether /usr/bin/gcc-4.0 accepts -g... yes
checking for building with threads... no (default)
checking for Tcl configuration... found /opt/local/lib/tclConfig.sh
checking Tcl build library... -L/opt/local/var/macports/build/_opt_mports_trunk_dports_lang_tcl/work/tcl8.5.6/unix -ltcl8.5   -framework CoreFoundation 
checking for Tcl_CreateCommand... yes
checking if Tcl library build specification is valid... yes
checking for Tk configuration... found /opt/local/lib/tkConfig.sh
checking for Tk_Init... yes
checking if Tk library build specification is valid... yes
checking whether the compiler (/usr/bin/gcc-4.0) actually works... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking how to run the C preprocessor... /usr/bin/cpp-4.0
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... yes
checking if running Solaris... no
checking for sin... yes
checking for Tcl private headers... found in /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic
checking type of library to build... unshared
creating cache .././config.cache
checking for gcc... /usr/bin/gcc-4.0
checking whether we are using GNU C... yes
checking for Tcl configuration... found /opt/local/lib/tclConfig.sh
checking Tcl build library... -L/opt/local/var/macports/build/_opt_mports_trunk_dports_lang_tcl/work/tcl8.5.6/unix -ltcl8.5   -framework CoreFoundation 
checking for Tcl_CreateCommand... yes
checking if Tcl library build specification is valid... yes
checking whether the compiler (/usr/bin/gcc-4.0) actually works... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking how to run the C preprocessor... /usr/bin/cpp-4.0
checking if running LynxOS... no
checking for Tcl private headers... found in /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic
checking if we are running Linux... no
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... yes
checking for openpty... yes
checking for openpty... yes
checking if running Sequent running SVR4... no
checking for sys/sysmacros.h... no
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... 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 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... 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... 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... yes
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=/opt/local --disable-shared --mandir=/opt/local/share/man --with-tcl=/opt/local/lib --with-tclinclude=/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic/ --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking for Tcl configuration... (cached) found /opt/local/lib/tclConfig.sh
checking Tcl build library... -L/opt/local/var/macports/build/_opt_mports_trunk_dports_lang_tcl/work/tcl8.5.6/unix -ltcl8.5   -framework CoreFoundation 
checking for Tcl_CreateCommand... (cached) yes
checking if Tcl library build specification is valid... yes
checking for gcc... (cached) /usr/bin/gcc-4.0
checking whether the C compiler (/usr/bin/gcc-4.0 -O2 -L/opt/local/lib) works... yes
checking whether the C compiler (/usr/bin/gcc-4.0 -O2 -L/opt/local/lib) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether /usr/bin/gcc-4.0 accepts -g... yes
checking whether the compiler (/usr/bin/gcc-4.0) actually works... yes
checking how to run the C preprocessor... /usr/bin/cpp-4.0
checking if running LynxOS... (cached) no
checking for Tcl private headers... (cached) found in /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic
updating cache .././config.cache
creating ./config.status
creating Makefile
--->  Building expect
DEBUG: Executing org.macports.build (expect)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/expect-5.43" && make all'
/usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -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 ; \
	   /usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe     -DDFLT_STTY="\"sane\""  exp_main_exp.c -o shared/exp_main_exp.o ; \
	fi
/usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe    -DDFLT_STTY="\"sane\""  exp_command.c
if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \
	   if [ ! -d shared ] ; then \
		mkdir shared ; \
	   else true; fi ; \
	   /usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe     -DDFLT_STTY="\"sane\""  exp_command.c -o shared/exp_command.o ; \
	fi
/usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe    -DDFLT_STTY="\"sane\""  expect.c
expect.c: In function 'exp_eval_with_one_arg':
expect.c:346: 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 ; \
	   /usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe     -DDFLT_STTY="\"sane\""  expect.c -o shared/expect.o ; \
	fi
/usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe    -DDFLT_STTY="\"sane\""  pty_termios.c
pty_termios.c: In function 'exp_init_pty':
pty_termios.c:350: warning: incompatible implicit declaration of built-in function 'strlen'
pty_termios.c: In function 'exp_getptymaster':
pty_termios.c:494: 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 ; \
	   /usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe     -DDFLT_STTY="\"sane\""  pty_termios.c -o shared/pty_termios.o ; \
	fi
/usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe    -DDFLT_STTY="\"sane\""  exp_inter.c
if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \
	   if [ ! -d shared ] ; then \
		mkdir shared ; \
	   else true; fi ; \
	   /usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe     -DDFLT_STTY="\"sane\""  exp_inter.c -o shared/exp_inter.o ; \
	fi
/usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe    -DDFLT_STTY="\"sane\""  exp_regexp.c
if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \
	   if [ ! -d shared ] ; then \
		mkdir shared ; \
	   else true; fi ; \
	   /usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe     -DDFLT_STTY="\"sane\""  exp_regexp.c -o shared/exp_regexp.o ; \
	fi
/usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe    -DDFLT_STTY="\"sane\""  exp_tty.c
if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \
	   if [ ! -d shared ] ; then \
		mkdir shared ; \
	   else true; fi ; \
	   /usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe     -DDFLT_STTY="\"sane\""  exp_tty.c -o shared/exp_tty.o ; \
	fi
/usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe    -DDFLT_STTY="\"sane\""  exp_log.c
if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \
	   if [ ! -d shared ] ; then \
		mkdir shared ; \
	   else true; fi ; \
	   /usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe     -DDFLT_STTY="\"sane\""  exp_log.c -o shared/exp_log.o ; \
	fi
/usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -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 ; \
	   /usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe     -DDFLT_STTY="\"sane\""  exp_main_sub.c -o shared/exp_main_sub.o ; \
	fi
/usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe    -DDFLT_STTY="\"sane\""  exp_pty.c
if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \
	   if [ ! -d shared ] ; then \
		mkdir shared ; \
	   else true; fi ; \
	   /usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe     -DDFLT_STTY="\"sane\""  exp_pty.c -o shared/exp_pty.o ; \
	fi
/usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe    -DDFLT_STTY="\"sane\""  exp_trap.c
if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \
	   if [ ! -d shared ] ; then \
		mkdir shared ; \
	   else true; fi ; \
	   /usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe     -DDFLT_STTY="\"sane\""  exp_trap.c -o shared/exp_trap.o ; \
	fi
/usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe    -DDFLT_STTY="\"sane\""  exp_console.c
if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \
	   if [ ! -d shared ] ; then \
		mkdir shared ; \
	   else true; fi ; \
	   /usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe     -DDFLT_STTY="\"sane\""  exp_console.c -o shared/exp_console.o ; \
	fi
/usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe    -DDFLT_STTY="\"sane\""  exp_strf.c
if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \
	   if [ ! -d shared ] ; then \
		mkdir shared ; \
	   else true; fi ; \
	   /usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe     -DDFLT_STTY="\"sane\""  exp_strf.c -o shared/exp_strf.o ; \
	fi
/usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -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 ; \
	   /usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe     -DDFLT_STTY="\"sane\""  exp_glob.c -o shared/exp_glob.o ; \
	fi
/usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe    -DDFLT_STTY="\"sane\""  exp_win.c
if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \
	   if [ ! -d shared ] ; then \
		mkdir shared ; \
	   else true; fi ; \
	   /usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe     -DDFLT_STTY="\"sane\""  exp_win.c -o shared/exp_win.o ; \
	fi
/usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe    -DDFLT_STTY="\"sane\""  exp_clib.c
if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \
	   if [ ! -d shared ] ; then \
		mkdir shared ; \
	   else true; fi ; \
	   /usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe     -DDFLT_STTY="\"sane\""  exp_clib.c -o shared/exp_clib.o ; \
	fi
/usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe    -DDFLT_STTY="\"sane\""  exp_closetcl.c
if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \
	   if [ ! -d shared ] ; then \
		mkdir shared ; \
	   else true; fi ; \
	   /usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe     -DDFLT_STTY="\"sane\""  exp_closetcl.c -o shared/exp_closetcl.o ; \
	fi
/usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe    -DDFLT_STTY="\"sane\""  exp_memmove.c
if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \
	   if [ ! -d shared ] ; then \
		mkdir shared ; \
	   else true; fi ; \
	   /usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe     -DDFLT_STTY="\"sane\""  exp_memmove.c -o shared/exp_memmove.o ; \
	fi
/usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -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 ; \
	   /usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe     -DDFLT_STTY="\"sane\""  exp_tty_comm.c -o shared/exp_tty_comm.o ; \
	fi
/usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe    -DDFLT_STTY="\"sane\""  exp_select.c
if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \
	   if [ ! -d shared ] ; then \
		mkdir shared ; \
	   else true; fi ; \
	   /usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe     -DDFLT_STTY="\"sane\""  exp_select.c -o shared/exp_select.o ; \
	fi
/usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe    -DDFLT_STTY="\"sane\""  exp_event.c
if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \
	   if [ ! -d shared ] ; then \
		mkdir shared ; \
	   else true; fi ; \
	   /usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe     -DDFLT_STTY="\"sane\""  exp_event.c -o shared/exp_event.o ; \
	fi
/usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe    -DDFLT_STTY="\"sane\""  exp_chan.c
exp_chan.c: In function 'expWaitOnAny':
exp_chan.c:526: warning: passing argument 2 of 'waitpid' from incompatible pointer type
exp_chan.c: In function 'expWaitOnOne':
exp_chan.c:545: warning: passing argument 1 of 'wait' from incompatible pointer type
if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \
	   if [ ! -d shared ] ; then \
		mkdir shared ; \
	   else true; fi ; \
	   /usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe     -DDFLT_STTY="\"sane\""  exp_chan.c -o shared/exp_chan.o ; \
	fi
/usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe    -DDFLT_STTY="\"sane\""  Dbg.c
Dbg.c: In function 'PrintStackBelow':
Dbg.c:469: warning: passing argument 3 of 'print_objv' discards qualifiers from pointer target type
if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \
	   if [ ! -d shared ] ; then \
		mkdir shared ; \
	   else true; fi ; \
	   /usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -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: file: libexpect5.43.a(exp_regexp.o) has no symbols
ranlib: file: libexpect5.43.a(exp_closetcl.o) has no symbols
ranlib: file: libexpect5.43.a(exp_memmove.o) has no symbols
ranlib libexpect5.43.a
ranlib: file: libexpect5.43.a(exp_regexp.o) has no symbols
ranlib: file: libexpect5.43.a(exp_closetcl.o) has no symbols
ranlib: file: libexpect5.43.a(exp_memmove.o) has no symbols
/usr/bin/gcc-4.0 -O2 -O2 -pipe     -headerpad_max_install_names -Wl,-search_paths_first  -o expect exp_main_exp.o libexpect5.43.a -L/opt/local/var/macports/build/_opt_mports_trunk_dports_lang_tcl/work/tcl8.5.6/unix -ltcl8.5 -L/opt/local/lib   -framework CoreFoundation  
: expect
/usr/bin/gcc-4.0 -c -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tk\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DTCL_SHLIB_EXT=\".dylib\" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DHAVE_XSS=1 -DHAVE_LIBXFT=1 -DHAVE_XFT=1   -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe     exp_main_tk.c	
In file included from exp_main_tk.c:37:
/usr/local/include/tk.h:23:3: error: #error Tk 8.5 must be compiled with tcl.h from Tcl 8.5
exp_main_tk.c: In function 'Tk_Init2':
exp_main_tk.c:301: warning: incompatible implicit declaration of built-in function 'strrchr'
exp_main_tk.c: In function 'optcmd_debug':
exp_main_tk.c:444: warning: incompatible implicit declaration of built-in function 'strcpy'
make: *** [exp_main_tk.o] Error 1
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/expect-5.43" && make all " returned error 2
Command output: 	   /usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe     -DDFLT_STTY="\"sane\""  exp_chan.c -o shared/exp_chan.o ; \
	fi
/usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe    -DDFLT_STTY="\"sane\""  Dbg.c
Dbg.c: In function 'PrintStackBelow':
Dbg.c:469: warning: passing argument 3 of 'print_objv' discards qualifiers from pointer target type
if [ "xlibexpect5.43.a" != "xlibexpect5.43.a" ] ; then \
	   if [ ! -d shared ] ; then \
		mkdir shared ; \
	   else true; fi ; \
	   /usr/bin/gcc-4.0 -c  -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -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: file: libexpect5.43.a(exp_regexp.o) has no symbols
ranlib: file: libexpect5.43.a(exp_closetcl.o) has no symbols
ranlib: file: libexpect5.43.a(exp_memmove.o) has no symbols
ranlib libexpect5.43.a
ranlib: file: libexpect5.43.a(exp_regexp.o) has no symbols
ranlib: file: libexpect5.43.a(exp_closetcl.o) has no symbols
ranlib: file: libexpect5.43.a(exp_memmove.o) has no symbols
/usr/bin/gcc-4.0 -O2 -O2 -pipe     -headerpad_max_install_names -Wl,-search_paths_first  -o expect exp_main_exp.o libexpect5.43.a -L/opt/local/var/macports/build/_opt_mports_trunk_dports_lang_tcl/work/tcl8.5.6/unix -ltcl8.5 -L/opt/local/lib   -framework CoreFoundation  
: expect
/usr/bin/gcc-4.0 -c -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tk\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DTCL_SHLIB_EXT=\".dylib\" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DHAVE_XSS=1 -DHAVE_LIBXFT=1 -DHAVE_XFT=1   -I. -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_expect/work/tcl8.4.14/generic  -I/usr/X11/include -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/opt/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST -DSTTY_BIN=\"/bin/stty\" -O2 -O2 -pipe     exp_main_tk.c	
In file included from exp_main_tk.c:37:
/usr/local/include/tk.h:23:3: error: #error Tk 8.5 must be compiled with tcl.h from Tcl 8.5
exp_main_tk.c: In function 'Tk_Init2':
exp_main_tk.c:301: warning: incompatible implicit declaration of built-in function 'strrchr'
exp_main_tk.c: In function 'optcmd_debug':
exp_main_tk.c:444: warning: incompatible implicit declaration of built-in function 'strcpy'
make: *** [exp_main_tk.o] Error 1

Warning: the following items did not execute (for expect): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

comment:4 Changed 15 years ago by markd@…

Hmn. It works for me. What version of Tcl do you have installed?

comment:5 Changed 15 years ago by jmroot (Joshua Root)

Your Leopard build log shows an error in /usr/local/include/tk.h.

comment:6 in reply to:  5 Changed 15 years ago by face@…

Replying to jmr@…:

Your Leopard build log shows an error in /usr/local/include/tk.h.

So sorry. I have had ongoing battles with /usr/local - I eradicated the offending things.

mac 31 # sudo port install expect
--->  Fetching expect
--->  Attempting to fetch expect-5.43.0.tar.gz from http://distfiles.macports.org/expect
--->  Attempting to fetch tcl8.4.14-src.tar.gz from http://internap.dl.sourceforge.net/tcl
--->  Verifying checksum(s) for expect
--->  Extracting expect
--->  Applying patches to expect
--->  Configuring expect
--->  Building expect
--->  Staging expect into destroot
--->  Installing expect @5.43.0_4
--->  Activating expect @5.43.0_4
--->  Cleaning expect

comment:7 Changed 15 years ago by markd@…

Resolution: worksforme
Status: newclosed

Thanks jmr@, I missed that. Closing.

comment:8 Changed 15 years ago by face@…

I'll learn - the original problem - Panther - still exists. I had the bad taste to add the bogus Leopard problem to the same ticket.

On my Panther system

 $ ls -R /usr/local
bin/

/usr/local/bin:
dnstran.app* pcpmac*      pmvmac*      psetfinfo*   psync*       rsync*

expect fails to build on Panther. It doesn't have anything in /usr/local/include

comment:9 Changed 15 years ago by blb@…

Resolution: worksforme
Status: closedreopened

Is /usr/local/lib also empty?

comment:10 Changed 15 years ago by face@…

Yes, /usr/local/lib is empty. The only thing in /usr/local is "bin" with the 6 applications listed in the previous comment. Just to be sure I moved /usr/local to /usr/local-old expect still fails to build - looks like during the tcl8.4.14 portion

admin@x:usr:129 $ sudo port install -v -d expect
--->  Fetching expect
--->  Attempting to fetch expect-5.43.0.tar.gz from http://expect.nist.gov/src/
--->  Attempting to fetch tcl8.4.14-src.tar.gz from http://downloads.sourceforge.net/tcl
--->  Verifying checksum(s) for expect
--->  Extracting expect
--->  Applying patches to expect
--->  Configuring expect
--->  Building expect
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_expect/work/expect-5.43" && make all " returned error 2
Command output: exp_main_tk.c:351: error: parse error before '&' token
exp_main_tk.c:351: error: conflicting types for `Tcl_DStringFree'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_expect/work/tcl8.4.14/generic/tclDecls.h:416: error: previous declaration of `Tcl_DStringFree'
exp_main_tk.c:351: warning: data definition has no type or storage class
exp_main_tk.c:355: warning: parameter names (without types) in function declaration
exp_main_tk.c:355: error: conflicting types for `Tcl_ResetResult'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_expect/work/tcl8.4.14/generic/tclDecls.h:716: error: previous declaration of `Tcl_ResetResult'
exp_main_tk.c:355: warning: data definition has no type or storage class
exp_main_tk.c:356: error: parse error before "if"
exp_main_tk.c:367: error: redefinition of `code'
exp_main_tk.c:350: error: `code' previously defined here
exp_main_tk.c:367: error: `interp' undeclared here (not in a function)
exp_main_tk.c:367: error: initializer element is not constant
exp_main_tk.c:367: warning: data definition has no type or storage class
exp_main_tk.c:368: error: parse error before "if"
exp_main_tk.c:376: error: redefinition of `code'
exp_main_tk.c:367: error: `code' previously defined here
exp_main_tk.c:376: error: `interp' undeclared here (not in a function)
exp_main_tk.c:376: error: `TK_VERSION' undeclared here (not in a function)
exp_main_tk.c:376: error: initializer element is not constant
exp_main_tk.c:376: warning: data definition has no type or storage class
exp_main_tk.c:377: error: parse error before "if"
exp_main_tk.c:385: error: redefinition of `code'
exp_main_tk.c:376: error: `code' previously defined here
exp_main_tk.c:385: error: `interp' undeclared here (not in a function)
exp_main_tk.c:385: error: initializer element is not constant
exp_main_tk.c:385: warning: data definition has no type or storage class
exp_main_tk.c:387: error: parse error before ':' token
{standard input}:110:FATAL:Symbol _code already defined.
make: *** [exp_main_tk.o] Error 1

Error: Status 1 encountered during processing.

comment:11 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:12 Changed 15 years ago by tobypeterson

Keywords: panther added

comment:13 Changed 15 years ago by tobypeterson

Resolution: fixed
Status: reopenedclosed

Panther is not supported, and it sounds like the problem is resolved on supported systems.

Note: See TracTickets for help on using tickets.