您的位置:首页 > 其它

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.

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/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐