mac 安装erlang 错误 原因:更新了xcode
2015-11-16 21:07
393 查看
1.checking for C compiler default output file name...
configure: error: C compiler cannot create executables
看到这个很容易让人怀疑是编译器出错,也就是gcc 或者是g++.
查看log发现
xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer/") does not exist, use `xcode-select --switch path/to/Xcode.app` to specify
the Xcode that you wish to use for command line developer tools (or see `man xcode-select`)
这才是真正原因xcode没指定好。
解决办法就是:将Xcode的路径,重新设置一下。
sudo xcode-select --switch “Xcode的path,直接在应用程序里面找到Xcode,拖拽到这里”
完美解决
configure: error: C compiler cannot create executables
看到这个很容易让人怀疑是编译器出错,也就是gcc 或者是g++.
查看log发现
xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer/") does not exist, use `xcode-select --switch path/to/Xcode.app` to specify
the Xcode that you wish to use for command line developer tools (or see `man xcode-select`)
这才是真正原因xcode没指定好。
解决办法就是:将Xcode的路径,重新设置一下。
sudo xcode-select --switch “Xcode的path,直接在应用程序里面找到Xcode,拖拽到这里”
完美解决
相关文章推荐
- linux下ssh远程连接工具SecureCRT和xshell编码设置
- Java [leetcode 37]Sudoku Solver
- 第一阶段工作展示
- 每日学习总结--@keyframes篇
- Node.js学习笔记10--Express搭网站(2)
- html5 中的 css样式单 的 两种调用方式的区别
- 从头认识java-9.1 类型安全的容器
- sturct stat 结构体中 st_mode 的含义
- 公司中的经理数, 公司中的非经理员工数量
- iOS中 FMDB第三方SQLite数据库
- 【机房重构】VS2012 调试
- 【ThinkPHP】修改伪静态后缀名
- Android 实现LazyFragment
- hdu 1556 Color the ball
- MyBatis Generator自动创建代码
- GPUImage API 文档之GPUImageOutput类
- hdu 1556 Color the ball
- [国嵌攻略][057][串口控制台建立]
- ios9的新特性
- OCS Inventory NG使用体验