source install MacPorts--checking for Tcl configuration... configure: error: Can't find Tcl configuration definitions
2013-11-29 11:27
513 查看
If you installed MacPorts using the package installer, skip this section. To install MacPorts from the source code, follow the steps below.
1. Download and extract the MacPorts 2.2.1 tarball. Either do so using your browser and the Finder, or use the given commands in a terminal window.
2. Afterwards, perform the commands shown in the terminal window. If you wish to use a path other than /opt/local, follow the instructions for installing multiple copies of MacPorts instead.
err description:
I’ve just upgraded my Mac OS X to Mavericks 10.9. When I tried to update Macports I got an error and when I used the verbose mode of selfupdate (sudo port -v selfupdate) it came out this:
macports checking for Tcl configuration... configure: error: Can't find Tcl configuration definitions
I fixed the problem after reinstalling the Command Line Tools of Xcode and accepting the license from the command line:
Then the selfupdate worked just fine:
sudo port selfupdate
参考资料:
http://guide.macports.org/#installing.xcode
http://tech.enekochan.com/2013/11/03/fix-macports-checking-for-tcl-configuration-configure-error-cant-find-tcl-configuration-definitions-when-selfupdating-macports-in-mac-os-x-10-9-mavericks/
1. Download and extract the MacPorts 2.2.1 tarball. Either do so using your browser and the Finder, or use the given commands in a terminal window.
curl -O https://distfiles.macports.org/MacPorts/MacPorts-2.2.1.tar.bz2 tar xf MacPorts-2.2.1.tar.bz2
2. Afterwards, perform the commands shown in the terminal window. If you wish to use a path other than /opt/local, follow the instructions for installing multiple copies of MacPorts instead.
MacPorts-2.2.1/ ./configure make sudo make install
err description:
I’ve just upgraded my Mac OS X to Mavericks 10.9. When I tried to update Macports I got an error and when I used the verbose mode of selfupdate (sudo port -v selfupdate) it came out this:
macports checking for Tcl configuration... configure: error: Can't find Tcl configuration definitions
I fixed the problem after reinstalling the Command Line Tools of Xcode and accepting the license from the command line:
sudo xcode-select --install sudo xcodebuild -license
Then the selfupdate worked just fine:
sudo port selfupdate
参考资料:
http://guide.macports.org/#installing.xcode
http://tech.enekochan.com/2013/11/03/fix-macports-checking-for-tcl-configuration-configure-error-cant-find-tcl-configuration-definitions-when-selfupdating-macports-in-mac-os-x-10-9-mavericks/
相关文章推荐
- ./install-sh: no input file specified. checking for XML::Parser... configure: error: XML::Parser perl module is required for int
- MySQL之—checking for termcap functions library... configure: error: No curses/termcap library found解决
- 安装MYSQL出现checking for termcap functions library… configure: error: No curses/termcap library found
- checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
- checking for termcap functions library... configure: error: No curses/termcap library found
- checking for termcap functions library... configure: error: No curses/termcap library found
- checking for termcap functions library... configure: error: No curses/termcap library found
- checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
- checking for C compiler default output file name... configure: error: C compiler cannot create executables
- mysql 错误 checking for termcap functions library... configure: error: No curses/termcap library
- checking for SSL headers... configure: error: Cannot find ssl headers
- checking for C++ compiler default output file name... configure: error: C++
- checking for void pointer length... yes configure: error: Size of "void *" is less than size of "lon
- checking for tgetent()... configure: error: NOT FOUND! You need to install a terminal library;
- checking for SSL headers... configure: error: Cannot find ssl headers
- checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
- checking for C++ compiler default output... configure: error: C++ compiler cannot create executable
- checking for termcap functions library... configure: error: No curses/termcap library found
- Mac Port: Error: org.macports.build for port XXXX returned: command execution failed
- checking for termcap functions library... configure: error: No curses/termcap library foun