[MacPorts] #70991: otcl fails to build: error: Installation of tk seems incomplete or can't be found automatically

MacPorts noreply at macports.org
Mon Sep 30 03:15:13 UTC 2024


#70991: otcl fails to build: error: Installation of tk seems incomplete or can't be
found automatically
--------------------------+--------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.1
 Keywords:                |       Port:  otcl
--------------------------+--------------------
 {{{
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/otcl-1.9"
 && ./configure --prefix=/opt/local --with-Tcl=/opt/local --with-Tcl-
 ver=8.4 --with-tk=/opt/local --with-tk-ver=8.4 --prefix=/opt/local
 CPPFLAGS='-I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/'
 CFLAGS='-I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/'
 LDFLAGS='-L/opt/local/lib'
 configure: WARNING: unrecognized options: --with-Tcl-ver
 No .configure file found in current directory
 Continuing with default options...
 checking build system type... powerpc-apple-darwin10.0.0d2
 checking host system type... powerpc-apple-darwin10.0.0d2
 checking target system type... powerpc-apple-darwin10.0.0d2
 checking for gcc... ccache /usr/bin/gcc-4.2
 checking whether the C compiler works... yes
 checking for C compiler default output file name... a.out
 checking for suffix of executables...
 checking whether we are cross compiling... no
 checking for suffix of object files... o
 checking whether the compiler supports GNU C... yes
 checking whether ccache /usr/bin/gcc-4.2 accepts -g... yes
 checking for ccache /usr/bin/gcc-4.2 option to enable C11 features...
 unsupported
 checking for ccache /usr/bin/gcc-4.2 option to enable C99 features...
 -std=gnu99
 checking whether the compiler supports GNU C++... yes
 checking whether ccache /usr/bin/g++-4.2 accepts -g... yes
 checking for ccache /usr/bin/g++-4.2 option to enable C++11 features...
 unsupported
 checking for ccache /usr/bin/g++-4.2 option to enable C++98 features...
 unsupported
 checking for stdio.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for strings.h... yes
 checking for sys/stat.h... yes
 checking for sys/types.h... yes
 checking for unistd.h... yes
 checking for grep that handles long lines and -e... /opt/local/bin/ggrep
 checking for egrep... /opt/local/bin/ggrep -E
 checking for string.h... (cached) yes
 checking for main in -lXbsd... no
 checking for socket in -lsocket... no
 checking for gethostbyname in -lnsl... no
 checking for dcgettext in -lintl... yes
 checking for getnodebyname in -ldnet_stub... no
 checking standard STL is available... no
 checking for Tcl.h... -I/opt/local/include
 checking for libTcl... -L/opt/local/lib -lTcl
 checking for tk.h... -I/opt/local/include
 checking for libtk8.4... -L/opt/local/lib -ltk
 checking for tk.tcl... no
 configure: error: Installation of tk seems incomplete or can't be found
 automatically.
 Please correct the problem by telling configure where tk is
 using the argument --with-tk=/path/to/package
 (perhaps after installing it),
 or the package is not required, disable it with --with-tk=no.
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/otcl-1.9"
 && ./configure --prefix=/opt/local --with-Tcl=/opt/local --with-Tcl-
 ver=8.4 --with-tk=/opt/local --with-tk-ver=8.4 --prefix=/opt/local
 CPPFLAGS='-I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/'
 CFLAGS='-I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/'
 LDFLAGS='-L/opt/local/lib'
 Exit code: 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/70991>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list