Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#14129 closed defect (invalid)

tk: configure error - /opt/local/lib directory doesn't contain tclConfig.sh

Reported by: saul.hazledine@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: tk tcl Cc:
Port:

Description

tk fails to install on OS X 10.4.11 Intel imac

The error appears to be a missing tclConfig.sh file in /opt/local/lib

> sudo port selfupdate

MacPorts base version 1.600 installed

Downloaded MacPorts base version 1.600

The MacPorts installation is not outdated and so was not updated
selfupdate done!

> port installed tcl
The following ports are currently installed:
  tcl @8.5.0_0

> sudo port -d install py25-matplotlib
*snip*
--->  Configuring tk
DEBUG: Executing org.macports.configure (tk)
DEBUG: Using compiler 'Mac OS X gcc 4.0'
DEBUG: Environment: CFLAGS='-O2' CPPFLAGS='-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tcl8.5.0/generic -I/opt/local/include' CXXFLAGS='-O2' 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' 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_x11_tk/work/tk8.5.0/unix" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-tcl=/opt/local/lib'
checking for Tcl configuration... configure: error: /opt/local/lib directory doesn't contain tclConfig.sh
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.0/unix" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-tcl=/opt/local/lib " returned error 1
Command output: checking for Tcl configuration... configure: error: /opt/local/lib directory doesn't contain tclConfig.sh

Warning: the following items did not execute (for tk): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.archive org.macports.install
Error: The following dependencies failed to build: py25-tkinter tk
Error: Status 1 encountered during processing.

Change History (5)

comment:1 Changed 17 years ago by afb@…

Summary: /opt/local/lib directory doesn't contain tclConfig.shtk: configure error - /opt/local/lib directory doesn't contain tclConfig.sh

comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to mww@…

It works fine for me.

Your tcl does not appear to be active. You should activate it and try again:

sudo port activate tcl
sudo port clean --work tk
sudo port install tk

Assigning ticket to port maintainer.

comment:3 Changed 17 years ago by saul.hazledine@…

Activating tcl worked. Apologies for the error.

comment:4 Changed 17 years ago by mww@…

Resolution: invalid
Status: newclosed

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.