mac ports安装软件提示" Warning: xcodebuild exists but failed to execute"
2012-04-13 16:43
411 查看
# port search imagemagick
在网上查了下,试了下面的方法,成功。
The steps which solved for me were:
1. Install Xcode 4.3 from Mac App Store
2. Install Command Line Tools for Xcode
3. sudo /usr/bin/xcode-select -switch /Applications/Xcode.app
4. sudo ln -s `which clang` /Applications/Xcode.app/Contents/Developer/usr/bin/
Even so, this is clearly a workaround.
我的xcode是下载的dmg, 每次启动动态挂载, 所以目录是 /Volumes/Xcode.app/...
对于从appstore安装的用户来说 目标应该是/Application/Xcode.app/...
我只执行了 step3 就成功了。
在网上查了下,试了下面的方法,成功。
The steps which solved for me were:
1. Install Xcode 4.3 from Mac App Store
2. Install Command Line Tools for Xcode
3. sudo /usr/bin/xcode-select -switch /Applications/Xcode.app
4. sudo ln -s `which clang` /Applications/Xcode.app/Contents/Developer/usr/bin/
Even so, this is clearly a workaround.
我的xcode是下载的dmg, 每次启动动态挂载, 所以目录是 /Volumes/Xcode.app/...
对于从appstore安装的用户来说 目标应该是/Application/Xcode.app/...
我只执行了 step3 就成功了。
相关文章推荐
- MacPorts svn Unable to execute port: can't read "build.cmd": Failed to locate 'make' in path:
- 安装protel 99 软件时出现提示“Error installing ikermel.exe"
- 编译ROS包出现错误 提示:invoking "make cmake_check_build_system" failed
- c++求教:我在linux下用CodeLite编译调试时出现&"warning: GDB: Failed to set controlling terminal: Operation not permitted/n"
- rehat 安装软件源"Unable to read consumer identity"解决:使用非注册的软件源
- windows8安装myeclipse 10.0时出现failed to find a main class in "c:\windows\temp"解决
- 安装完android studio,启动时碰到"failed to load jvm dll"的解决方案
- 安装Python 库软件时提示"setuptools must be installed to install from a source distribution"错误
- 【翻译自mos文章】windows下 11gR2 安装报错:"PRKN-1019 : Failed to create directory"
- linux 使用rpm安装软件时,遇到"warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOK
- 在Ubuntu 12.04上安装VMware Workstation 8.0(解决"Unable to build kernel module"问题)
- ClickOnce报错的解决:VS 2010 RTM returns Error: "Cannot publish because a project failed to build"
- 解决vmware fusion + centos 7安装vmtools时提示The path "" is not a valid path to the xxx kernel headers.
- 安装gollum提示Failed to build gem native extension的解决
- win8/win10下(64bit) memcache安装时报 "failed to install service or service already installed"
- loadrunner error提示: Action.c(15): Error -27796: Failed to connect to server "10.9.34.101:80":
- Red Hat 操作系统 rpm 卸载软件提示"error: %preun( ) scriptlet failed, exit status 1"
- 配置安装Apache主服务发生错误:"(OS 5)拒绝访问。 : AH00369: Failed to open the Windows service manager, perh······ "
- Red Hat 操作系统 rpm 安装FTP提示"warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID fd431d5"
- Q&A: HOW TO FIX XCODE’S "USED AS THE NAME OF THE PREVIOUS PARAMETER" WARNING