mac configure: error: C compiler cannot create executables
经验与学习 2023/7/13 18:05:50 点击:不统计
http://%77%77%77%2E%66网站制作%6F学习网%72%61%73%70%2E%63%6E
mac 在安装php-redis时出现了mac configure: error: C compiler cannot create executables
意思是,没有C语言编译器,无法执行编译
解决方案,安装xcode 软件以及相关扩展,mac 在xcode 已经即成了编译器
运行:
xcode-select --install
安装完毕后再运行即可。