I'm trying to compile gearman-0.28 on Mac, but encountered the following error:
configure: error: Unable to find libuuid
I don't know how to install libuuid on Mac, my Mac is 10.7.2 version. Any one can help me? Thanks in advance.
With Homebrew:
brew install ossp-uuid
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" | pecl install uuid
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With