在 Symfony 配置过程中,建议安装并启用 intl 扩展。我遵循了本教程:http ://sunny.chotai.uk.com/?p=2 。
在终端中,我写了这个命令:
sudo port install php54-intl
但后来我收到了这条消息:
Warning: The Command Line Tools for Xcode don't appear to be installed;
most ports will likely fail to build.
Warning: See http://guide.macports.org/chunked/installing.xcode.html
for more information.
---> Computing dependencies for php54-intlError: Unable to execute port:
can't read "build.cmd": Failed to locate 'make' in path:
'/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin'
or at its MacPorts configuration time location, did you move it?`
为什么它不起作用以及如何解决它。我的配置是MAMP 2.1.4和OS X 10.8.3。