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:
|
|
|
|
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)
Summary: |
/opt/local/lib directory doesn't contain tclConfig.sh →
tk: configure error - /opt/local/lib directory doesn't contain tclConfig.sh
|
Owner: |
changed from macports-tickets@… to mww@…
|
Resolution: |
→ invalid
|
Status: |
new →
closed
|
It works fine for me.
Your tcl does not appear to be active. You should activate it and try again:
Assigning ticket to port maintainer.