For those who are trying to install the uuid extension from PECL, the ossp-uuid and the util-linux’s uuid package shipped with Mac OSX will not work as they are out dated. You will need an updated version of uuid from util-linux. It is available on Homebrew.
brew install util-linux
But util-linux is a keg-only package and will not be symlinked to /usr/local. Hence you will have to specify the following path when prompted for uuid installation directory
/usr/local/opt/util-linux
For unattended installations, you can use
printf "/usr/local/opt/util-linux" | sudo pecl install uuid
本文介绍在MacOSX上安装uuid扩展的方法。由于预装的ossp-uuid和util-linux包已过时,需要从Homebrew获取更新版本。利用brew安装util-linux,并指定路径/usr/local/opt/util-linux进行无交互安装。
664

被折叠的 条评论
为什么被折叠?



