#20641 closed defect (duplicate)
tclx 8.4 Install error - make all fails with error 2
Reported by: | jnudell@… | Owned by: | markd@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | mf2k (Frank Schima), cooljeanius (Eric Gallager) | |
Port: | tclx |
Description (last modified by mf2k (Frank Schima))
I am trying to install the tclx port, and it fails with the following information:
---> Building tclx Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tclx/work/tclx8.4" && make all " returned error 2 Command output: /usr/bin/gcc-4.0 -pipe -DPACKAGE_NAME=\"tclx\" -DPACKAGE_TARNAME=\"tclx\" -DPACKAGE_VERSION=\"8.4\" -DPACKAGE_STRING=\"tclx\ 8.4\" -DPACKAGE_BUGREPORT=\"\" -DFULL_VERSION=\"8.4.0\" -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 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -I"./generic" -I"./unix" -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.6/generic" -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.6/unix" -I/opt/local/include -O2 -I/opt/local/include -Os -Wall -Wno-implicit-int -fno-common -c `echo ./generic/tclXbsearch.c` -o tclXbsearch.o In file included from ./generic/tclInt.h:2356, from ./generic/tclExtdInt.h:26, from ./generic/tclXbsearch.c:19: ./generic/tclIntDecls.h:322: error: syntax error before '->' token ./generic/tclIntDecls.h:326: error: syntax error before '->' token ./generic/tclIntDecls.h:330: error: syntax error before '->' token ./generic/tclIntDecls.h:333: error: syntax error before '->' token ./generic/tclIntDecls.h:337: error: syntax error before '->' token ./generic/tclIntDecls.h:341: error: syntax error before '->' token ./generic/tclIntDecls.h:357: error: syntax error before '->' token ./generic/tclIntDecls.h:360: error: syntax error before '->' token ./generic/tclIntDecls.h:363: error: syntax error before '->' token ./generic/tclIntDecls.h:367: error: syntax error before '->' token ./generic/tclIntDecls.h:370: error: syntax error before '->' token ./generic/tclIntDecls.h:377: error: syntax error before '->' token make: *** [tclXbsearch.o] Error 1 Error: Status 1 encountered during processing.
Change History (13)
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Keywords: | tclx error install removed |
Owner: | changed from macports-tickets@… to markd@… |
comment:2 follow-up: 5 Changed 15 years ago by tobypeterson
comment:3 Changed 15 years ago by markd@…
We desperately need a tcl84 port. So much is broken on tcl 8.5 and tclx is one of them.
comment:4 Changed 15 years ago by mf2k (Frank Schima)
I already locally modified my tcl/tk portfiles to use 8.4.19. I'd be willing to add them as new ports but many ports rely on tcl/tk. There's going to be a number of collisions between the 8.4 and 8.5 versions, so I don't think both can be installed at the same time. I think we need a tcltk_select port for it and I'm not sure how to make that.
comment:5 Changed 15 years ago by jnudell@…
Replying to toby@…:
Please mention relevant versions (Mac OS X, Xcode). Also, include debug output:
sudo port clean tclx sudo port -d install tclx
This is a clean machine, as in brand new install of Mac OS X Leopard, with software updates run to bring it current. I was trying to install the necessary components to get sguil working (tcl, tcllib, tclx, iwidgets, itk).
Version information: Mac OS X Leopard - 10.5.8 Xcode - 3.1.2 (required by graphviz from the port install of tcllib) DEBUG OUTPUT:
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/tclx DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/tclx 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 tclx. DEBUG: Requested variant i386 is not provided by port tclx. DEBUG: Requested variant macosx is not provided by port tclx. 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: 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 i386 is not provided by port tcl. DEBUG: Requested variant macosx is not provided by port tcl. DEBUG: Executing variant darwin provides darwin DEBUG: Searching for dependency: tcl DEBUG: Found Dependency: receipt exists for tcl DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/tk DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/tk 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 i386 is not provided by port tk. DEBUG: Requested variant macosx is not provided by port tk. DEBUG: Executing variant darwin provides darwin DEBUG: Searching for dependency: tk DEBUG: Found Dependency: receipt exists for tk DEBUG: Executing org.macports.main (tclx) ---> Fetching tclx DEBUG: Executing org.macports.fetch (tclx) ---> Verifying checksum(s) for tclx DEBUG: Executing org.macports.checksum (tclx) ---> Checksumming tclx8.4.tar.bz2 DEBUG: Correct (md5) checksum for tclx8.4.tar.bz2 ---> Checksumming tcl8.4.14-privateheaders.tar.bz2 DEBUG: Correct (md5) checksum for tcl8.4.14-privateheaders.tar.bz2 DEBUG: setting option extract.cmd to /opt/local/bin/bzip2 ---> Extracting tclx DEBUG: Executing org.macports.extract (tclx) ---> Extracting tclx8.4.tar.bz2 DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/tclx/tclx8.4.tar.bz2 DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tclx/work" && /opt/local/bin/bzip2 -dc /opt/local/var/macports/distfiles/tclx/tclx8.4.tar.bz2 | /usr/bin/gnutar --no-same-owner -xf -' ---> Extracting tcl8.4.14-privateheaders.tar.bz2 DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/tclx/tcl8.4.14-privateheaders.tar.bz2 DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tclx/work" && /opt/local/bin/bzip2 -dc /opt/local/var/macports/distfiles/tclx/tcl8.4.14-privateheaders.tar.bz2 | /usr/bin/gnutar --no-same-owner -xf -' DEBUG: Executing proc-post-org.macports.extract-extract-0 DEBUG: Executing org.macports.patch (tclx) ---> Configuring tclx DEBUG: Using compiler 'Mac OS X gcc 4.0' DEBUG: Executing org.macports.configure (tclx) DEBUG: Environment: CFLAGS='-O2 -I/opt/local/include' 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_local_var_macports_sources_rsync.macports.org_release_ports_lang_tclx/work/tclx8.4" && ./configure --prefix=/opt/local --enable-shared --with-help=Help --with-tcl=/opt/local/lib --with-tk=/opt/local/lib' checking for correct TEA configuration... ok (TEA 3.3) checking for Tcl configuration... found /opt/local/lib/tclConfig.sh checking for existence of /opt/local/lib/tclConfig.sh... loading configure: --exec-prefix defaulting to TCL_EXEC_PREFIX /opt/local checking for gcc... /usr/bin/gcc-4.0 checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc-4.0 accepts -g... yes checking for /usr/bin/gcc-4.0 option to accept ANSI C... none needed checking how to run the C preprocessor... /usr/bin/cpp-4.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking for ranlib... ranlib checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking if the compiler understands -pipe... yes checking whether byte ordering is bigendian... no checking for sin... yes checking for main in -lieee... no checking for main in -linet... no checking net/errno.h usability... no checking net/errno.h presence... no checking for net/errno.h... no checking for connect... yes checking for gethostbyname... yes checking dirent.h... checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking values.h usability... no checking values.h presence... no checking for values.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for Tcl private include files... Using srcdir found in tclConfig.sh: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.6 checking for pthread_mutex_init in -lpthread... yes checking for building with threads... yes (default) configure: WARNING: --enable-threads requested, but building against a Tcl that is NOT thread-enabled. This is an OK configuration that will also run in a thread-enabled core. checking how to build libraries... shared checking for tclsh... /opt/local/bin/tclsh8.5 checking if 64bit support is enabled... no checking if 64bit Sparc VIS support is requested... no checking system version (for dynamic loading)... Darwin-9.8.0 checking for dlopen in -ldl... yes checking for ar... ar checking if ld accepts -single_module flag... yes checking if ld accepts -search_paths_first flag... yes checking for required early compiler flags... none checking for 64-bit integer type... long long checking for struct dirent64... no checking for struct stat64... yes checking for off64_t... no checking for build with symbols... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking return type of signal handlers... void checking whether struct tm is in sys/time.h or time.h... time.h checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking whether time.h and sys/time.h may both be included... yes checking for struct tm.tm_zone... yes checking for gmtime_r... yes checking for localtime_r... yes checking tm_tzadj in struct tm... no checking tm_gmtoff in struct tm... yes checking long timezone variable... yes checking union wait... yes checking checking to see what 'times' returns... elapsed real time checking for time_t... yes checking for off_t... yes checking for ftruncate... yes checking for select... yes checking for setitimer... yes checking for sigaction... yes checking for setpgid... yes checking for getgroups... yes checking for bzero... yes checking for bcopy... yes checking for fsync... yes checking for getpriority... yes checking for strcoll... yes checking for fchown... yes checking for fchmod... yes checking for truncate... yes checking for waitpid... yes checking for sysconf... yes checking for inet_aton... yes checking for gethostname... yes checking for main in -ldnet_stub... no checking for catgets... yes checking catclose return value... ok checking for random... yes checking for rename... yes checking where to place TclX help files... Help checking for nroff... yes checking for col... yes checking for tclsh... /opt/local/bin/tclsh8.5 configure: creating ./config.status config.status: creating Makefile ---> Building tclx DEBUG: Executing org.macports.build (tclx) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tclx/work/tclx8.4" && make all' /usr/bin/gcc-4.0 -pipe -DPACKAGE_NAME=\"tclx\" -DPACKAGE_TARNAME=\"tclx\" -DPACKAGE_VERSION=\"8.4\" -DPACKAGE_STRING=\"tclx\ 8.4\" -DPACKAGE_BUGREPORT=\"\" -DFULL_VERSION=\"8.4.0\" -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 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -I"./generic" -I"./unix" -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.6/generic" -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.6/unix" -I/opt/local/include -O2 -I/opt/local/include -Os -Wall -Wno-implicit-int -fno-common -c `echo ./generic/tclXbsearch.c` -o tclXbsearch.o In file included from ./generic/tclInt.h:2356, from ./generic/tclExtdInt.h:26, from ./generic/tclXbsearch.c:19: ./generic/tclIntDecls.h:322: error: syntax error before '->' token ./generic/tclIntDecls.h:326: error: syntax error before '->' token ./generic/tclIntDecls.h:330: error: syntax error before '->' token ./generic/tclIntDecls.h:333: error: syntax error before '->' token ./generic/tclIntDecls.h:337: error: syntax error before '->' token ./generic/tclIntDecls.h:341: error: syntax error before '->' token ./generic/tclIntDecls.h:357: error: syntax error before '->' token ./generic/tclIntDecls.h:360: error: syntax error before '->' token ./generic/tclIntDecls.h:363: error: syntax error before '->' token ./generic/tclIntDecls.h:367: error: syntax error before '->' token ./generic/tclIntDecls.h:370: error: syntax error before '->' token ./generic/tclIntDecls.h:377: error: syntax error before '->' token make: *** [tclXbsearch.o] Error 1 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tclx/work/tclx8.4" && make all " returned error 2 Command output: /usr/bin/gcc-4.0 -pipe -DPACKAGE_NAME=\"tclx\" -DPACKAGE_TARNAME=\"tclx\" -DPACKAGE_VERSION=\"8.4\" -DPACKAGE_STRING=\"tclx\ 8.4\" -DPACKAGE_BUGREPORT=\"\" -DFULL_VERSION=\"8.4.0\" -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 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -I"./generic" -I"./unix" -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.6/generic" -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.6/unix" -I/opt/local/include -O2 -I/opt/local/include -Os -Wall -Wno-implicit-int -fno-common -c `echo ./generic/tclXbsearch.c` -o tclXbsearch.o In file included from ./generic/tclInt.h:2356, from ./generic/tclExtdInt.h:26, from ./generic/tclXbsearch.c:19: ./generic/tclIntDecls.h:322: error: syntax error before '->' token ./generic/tclIntDecls.h:326: error: syntax error before '->' token ./generic/tclIntDecls.h:330: error: syntax error before '->' token ./generic/tclIntDecls.h:333: error: syntax error before '->' token ./generic/tclIntDecls.h:337: error: syntax error before '->' token ./generic/tclIntDecls.h:341: error: syntax error before '->' token ./generic/tclIntDecls.h:357: error: syntax error before '->' token ./generic/tclIntDecls.h:360: error: syntax error before '->' token ./generic/tclIntDecls.h:363: error: syntax error before '->' token ./generic/tclIntDecls.h:367: error: syntax error before '->' token ./generic/tclIntDecls.h:370: error: syntax error before '->' token ./generic/tclIntDecls.h:377: error: syntax error before '->' token make: *** [tclXbsearch.o] Error 1 Warning: the following items did not execute (for tclx): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
comment:7 Changed 15 years ago by markd@…
Water under the bridge I guess but it seems like 8.5 should have been tcl-devel.
comment:8 Changed 15 years ago by tobypeterson
No, tcl-devel would be 8.6.
Tcl 8.5 was released almost two years ago, software that hasn't yet adjusted is just really old.
comment:9 Changed 15 years ago by tobypeterson
Huh, I see that tclx uses internal headers - and it grabs them from tcl 8.4.x. Is it possible that this would be fixed simply by using the internal headers from tcl 8.5 instead?
comment:10 Changed 15 years ago by markd@…
It could be, but if memory serves the expect port has the same problem and I tried to fix it by using newer headers and it didn't work. But this could be different so it should be tried, but I don't have time to try it right now.
comment:12 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Please mention relevant versions (Mac OS X, Xcode). Also, include debug output: